|
@@ -107,7 +107,7 @@ public class TSyncExamStudentScoreController {
|
|
@RequestMapping(value = "/score/sync", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/score/sync", method = RequestMethod.POST)
|
|
public Result sync(@ApiParam(value = "学期ID", required = true) @RequestParam String semesterId,
|
|
public Result sync(@ApiParam(value = "学期ID", required = true) @RequestParam String semesterId,
|
|
@ApiParam(value = "考试ID", required = true) @RequestParam String examId,
|
|
@ApiParam(value = "考试ID", required = true) @RequestParam String examId,
|
|
- @ApiParam(value = "课程编码", required = false) @RequestParam String courseCode) {
|
|
|
|
|
|
+ @ApiParam(value = "课程编码", required = false) @RequestParam(required = false) String courseCode) {
|
|
SysUser sysUser = (SysUser) ServletUtil.getRequestUser();
|
|
SysUser sysUser = (SysUser) ServletUtil.getRequestUser();
|
|
QueryWrapper<ExamPrintPlan> examPrintPlanQueryWrapper = new QueryWrapper<ExamPrintPlan>();
|
|
QueryWrapper<ExamPrintPlan> examPrintPlanQueryWrapper = new QueryWrapper<ExamPrintPlan>();
|
|
examPrintPlanQueryWrapper.select(" DISTINCT third_relate_id ").eq("school_id", sysUser.getSchoolId())
|
|
examPrintPlanQueryWrapper.select(" DISTINCT third_relate_id ").eq("school_id", sysUser.getSchoolId())
|