소스 검색

3.3.1 update

xiaofei 1 년 전
부모
커밋
fab0ec70ae

+ 1 - 0
distributed-print-business/src/main/java/com/qmth/distributed/print/business/templete/service/impl/PdfTaskLogicServiceImpl.java

@@ -363,6 +363,7 @@ public class PdfTaskLogicServiceImpl implements PdfTaskLogicService {
                 jsonObject.put("card", jsonArray);
                 examDetailCourse.setAttachmentId(jsonObject.toJSONString());
             }
+            examDetailCourseService.updateById(examDetailCourse);
         }
     }
 

+ 4 - 0
teachcloud-common/src/main/java/com/qmth/teachcloud/common/service/impl/BasicCourseServiceImpl.java

@@ -161,6 +161,10 @@ public class BasicCourseServiceImpl extends ServiceImpl<BasicCourseMapper, Basic
             // 同步更新命题任务中的课程名称
             this.baseMapper.updateCourseNameFormExamTask(sysUser.getSchoolId(), editBasicCourse.getCode(),
                     editBasicCourse.getName());
+            // 以下表中course_name要也同步更新
+//            client_status,exam_card,exam_detail_course,exam_paper_structure,exam_task,exam_task_print
+//            mark_document,mark_group,mark_paper,mark_paper_package,mark_student,mark_task,
+//            t_b_sync_task,t_b_task,t_c_final_score,t_c_paper_struct,t_c_statistics,t_c_usual_score,t_r_basic_info
         } catch (Exception e) {
             if (e instanceof DataIntegrityViolationException || e instanceof BadSqlGrammarException) {
                 String content = JdbcErrorUtil.parseErrorMsg(e.getMessage());