From e05a324fd383f8b98684d643b1dec48c10dabf37 Mon Sep 17 00:00:00 2001 From: liuyiliang Date: Fri, 28 Mar 2025 17:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E8=AF=95=E7=BB=9F=E8=AE=A1=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=95=B0=E6=8D=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../safeliab/web/ExamScheduleController.java | 1 + .../resources/mappers/ExamScheduleMapper.xml | 2 +- .../mappers/ExamStatisticsMapper.xml | 197 +++++++++--------- 3 files changed, 104 insertions(+), 96 deletions(-) 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