From c0f16750cb9097a8db7b68f8c1794c2aec28ca15 Mon Sep 17 00:00:00 2001 From: “djh” <“3298565835@qq.com”> Date: 星期四, 24 七月 2025 15:01:10 +0800 Subject: [PATCH] 新增 --- multi-system/src/main/resources/mapper/system/ExPaperStudentMapper.xml | 6 ++++++ 1 files changed, 6 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 96b78b7..d38ff0b 100644 --- a/multi-system/src/main/resources/mapper/system/ExPaperStudentMapper.xml +++ b/multi-system/src/main/resources/mapper/system/ExPaperStudentMapper.xml @@ -107,6 +107,12 @@ #{item} </foreach> </update> + <update id="updateByPaperStudentId"> + update ex_paper_student set state = 0,start_time=null ,end_time = null where paper_id =#{paperId} and student_id =#{studentId} + </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} -- Gitblit v1.9.2