应征入伍保留学籍申请表附件删除
This commit is contained in:
@@ -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=")">
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user