Răsfoiți Sursa

修改菜单权限表和字段

wangliang 3 ani în urmă
părinte
comite
885e0dd63c

+ 4 - 4
distributed-print/src/main/java/com/qmth/distributed/print/api/TSyncExamStudentScoreController.java

@@ -82,10 +82,10 @@ public class TSyncExamStudentScoreController {
                          @ApiParam(value = "班级id", required = false) @RequestParam(required = false) String clazzId,
                          @ApiParam(value = "课程编码", required = false) @RequestParam(required = false) String courseCode) {
         Map<String, Object> map = printCommonService.saveTask(TaskTypeEnum.SCORE_EXPORT);
-        map.computeIfAbsent("semesterId", v -> semesterId);
-        map.computeIfAbsent("orgId", v -> orgId);
-        map.computeIfAbsent("majorId", v -> majorId);
-        map.computeIfAbsent("clazzId", v -> clazzId);
+        map.computeIfAbsent("semesterId", v -> SystemConstant.convertIdToLong(semesterId));
+        map.computeIfAbsent("orgId", v -> SystemConstant.convertIdToLong(orgId));
+        map.computeIfAbsent("majorId", v -> SystemConstant.convertIdToLong(majorId));
+        map.computeIfAbsent("clazzId", v -> SystemConstant.convertIdToLong(clazzId));
         map.computeIfAbsent("courseCode", v -> courseCode);
         map.computeIfAbsent(SystemConstant.OSS, v -> dictionaryConfig.sysDomain().isOss());
         asyncScoreExportService.exportTask(map);