wangliang 2 rokov pred
rodič
commit
48753bc250

+ 4 - 0
distributed-print-business/src/main/resources/db/3.2.3更新脚本-增量.sql

@@ -1206,6 +1206,10 @@ UPDATE sys_privilege
 SET enable=0, default_auth=1, front_display=0
 WHERE id=532;
 
+UPDATE sys_privilege
+SET name='列表'
+WHERE id=835;
+
 /*曹子轩新增*/
 ALTER TABLE `teach_clazz`
     CHANGE COLUMN `teach_course_id` `basic_course_id` BIGINT NOT NULL COMMENT '基础课程主键' ,

+ 3 - 0
distributed-print-business/src/main/resources/db/4、delete-data.sql

@@ -12,6 +12,7 @@ DELETE t FROM basic_exam t where t.school_id = #{schoolId};
 DELETE t FROM basic_exam_rule t where t.school_id = #{schoolId};
 DELETE t FROM basic_major t where t.school_id = #{schoolId};
 DELETE t FROM basic_message t where t.school_id = #{schoolId};
+DELETE t FROM basic_operation_log t where t.school_id = #{schoolId};
 DELETE t FROM basic_print_config t where t.school_id = #{schoolId};
 DELETE t FROM basic_semester t where t.school_id = #{schoolId};
 DELETE t FROM basic_student t where t.school_id = #{schoolId};
@@ -42,6 +43,7 @@ DELETE t FROM exam_task_paper_log t where exists(select temp.* from(select et.id
 DELETE t FROM exam_task_print t where t.school_id = #{schoolId};
 DELETE t FROM exam_task_review_log t where exists(select temp.* from(select et.id from exam_task et where et.school_id = #{schoolId}) temp where t.exam_task_id = temp.id);
 DELETE t FROM exam_task_temp t where t.school_id = #{schoolId};
+DELETE t FROM exam_task_sync t where t.school_id = #{schoolId};
 
 DELETE t FROM grade_batch_student t where exists(select temp.* from(select gb.id from grade_batch gb where gb.school_id = #{schoolId}) temp where t.batch_id = temp.id);
 DELETE t FROM grade_batch_student_clazz t where exists(select temp.* from(select gb.id from grade_batch gb where gb.school_id = #{schoolId}) temp where t.batch_id = temp.id);
@@ -76,6 +78,7 @@ DELETE t FROM t_school_privilege t where t.school_id = #{schoolId};
 DELETE t FROM t_school_role t where t.school_id = #{schoolId};
 DELETE t FROM t_sync_exam_student_score t where t.school_id = #{schoolId};
 DELETE t FROM t_sync_stmms_exam t where t.school_id = #{schoolId};
+DELETE t FROM t_sync_exam_log t where t.school_id = #{schoolId};
 
 DELETE t FROM teach_clazz t where t.school_id = #{schoolId};
 DELETE t FROM teach_course t where t.school_id = #{schoolId};