From 75309a59a676fb70f91dd01b05d93c7704a3836f Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期三, 23 七月 2025 15:06:39 +0800 Subject: [PATCH] 新增培训计划 --- multi-system/src/main/resources/mapper/system/ExPaperStudentMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/multi-system/src/main/resources/mapper/system/ExPaperStudentMapper.xml b/multi-system/src/main/resources/mapper/system/ExPaperStudentMapper.xml index f2c2602..04ecdf2 100644 --- a/multi-system/src/main/resources/mapper/system/ExPaperStudentMapper.xml +++ b/multi-system/src/main/resources/mapper/system/ExPaperStudentMapper.xml @@ -31,6 +31,7 @@ <result property="useTime" column="use_time" /> <result property="startTime" column="start_time" /> <result property="state" column="state" /> + <result property="number" column="number"/> <result property="version" column="version" /> <result property="createBy" column="create_by" /> <result property="createTime" column="create_time" /> @@ -106,6 +107,9 @@ #{item} </foreach> </update> + <delete id="deleteByPaperStudentId"> + delete from ex_paper_student where paper_id =#{paperId} and student_id = #{studentId} + </delete> <select id="countByPaperId" resultType="java.lang.Integer"> select count(1) from ex_paper_student where paper_id=#{paperId} @@ -186,6 +190,7 @@ select a.*,b.name as paper_name,c.id as company_id,c.name as company_name from ex_paper_student a left join ex_exam_paper b on b.id=a.paper_id left join sys_company c on c.id=b.company_id + WHERE a.student_id = #{studentId} </select> <select id="selectNoCompleteStudent" resultMap="SimplePaperStudentResult"> -- Gitblit v1.9.2