应征入伍保留学籍申请表附件删除

This commit is contained in:
2025-11-21 17:29:01 +08:00
parent 1986242cab
commit 76be171955
9 changed files with 66 additions and 0 deletions

View File

@@ -160,6 +160,12 @@
where id = #{id}
</delete>
<delete id="deleteRtEnlistmentReserveAttachByFileNameAndStuName" parameterType="String">
delete
from rt_enlistment_reserve_attach
where file_name = #{fileName} and student_name = #{studentName}
</delete>
<delete id="deleteRtEnlistmentReserveAttachByIds" parameterType="String">
delete from rt_enlistment_reserve_attach where id in
<foreach item="id" collection="array" open="(" separator="," close=")">

View File

@@ -167,6 +167,20 @@
where id = #{id}
</select>
<!--根据学生姓名和学号查询申请表-->
<select id="getEnlistmentReserveByStuNameAndStuNo" resultMap="RtEnlistmentReserveResult">
select *
from rt_enlistment_reserve
<where>
<if test="studentName != null and studentName != ''">
and student_name = #{studentName}
</if>
<if test="studentNo != null and studentNo != ''">
and student_no = #{studentNo}
</if>
</where>
</select>
<!-- 根据流程编号查询申请记录 -->
<select id="selectRtEnlistmentReserveByProcessInstanceId" parameterType="String"
resultMap="RtEnlistmentReserveResult">