diff --git a/ccic-exam/src/main/java/com/ccic/safeliab/web/ExamScheduleController.java b/ccic-exam/src/main/java/com/ccic/safeliab/web/ExamScheduleController.java index fd163ed..da37b2c 100644 --- a/ccic-exam/src/main/java/com/ccic/safeliab/web/ExamScheduleController.java +++ b/ccic-exam/src/main/java/com/ccic/safeliab/web/ExamScheduleController.java @@ -64,6 +64,7 @@ public class ExamScheduleController { ExamScheduleVO examScheduleVO = new ExamScheduleVO(); examScheduleVO.setCaptcha(examSchedule.getCaptcha()); examScheduleVO.setPath(examSchedule.getPath()); + examSchedule.setId(examSchedule.getId()); return R.ok().data(service.saveOrUpdate(examScheduleVO)); } diff --git a/ccic-exam/src/main/resources/mappers/ExamScheduleMapper.xml b/ccic-exam/src/main/resources/mappers/ExamScheduleMapper.xml index a3bd24f..4d347a1 100644 --- a/ccic-exam/src/main/resources/mappers/ExamScheduleMapper.xml +++ b/ccic-exam/src/main/resources/mappers/ExamScheduleMapper.xml @@ -62,7 +62,7 @@ industry_id as regulatory_industry from ex_exam_papers where is_deleted = 0 - and status = 1 + and paper_status = 1