外宿申请-审批生成审批记录
This commit is contained in:
@@ -247,7 +247,7 @@
|
||||
<select id="selectDmsOutsideAccommodationApplyByProcessInstanceId" parameterType="String"
|
||||
resultMap="DmsOutsideAccommodationApplyResult">
|
||||
<include refid="selectDmsOutsideAccommodationApplyVo"/>
|
||||
where processInstanceId = #{process_instance_id}
|
||||
where process_instance_id = #{processInstanceId}
|
||||
</select>
|
||||
|
||||
<!--根据学生姓名和学号查询申请表-->
|
||||
|
||||
@@ -68,6 +68,22 @@
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="selectOutsideAccommodationApprovalByStuName" resultMap="DmsOutsideAccommodationApprovalResult">
|
||||
select *
|
||||
from dms_outside_accommodation_approval
|
||||
<where>
|
||||
<if test="studentName != null and studentName != ''">
|
||||
and student_name = #{studentName}
|
||||
</if>
|
||||
<if test="studentNo != null and studentNo != ''">
|
||||
and student_no = #{studentNo}
|
||||
</if>
|
||||
<if test="approverId != null and approverId != ''">
|
||||
and approver_id = #{approverId}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<insert id="insertDmsOutsideAccommodationApproval" parameterType="DmsOutsideAccommodationApproval"
|
||||
useGeneratedKeys="true" keyProperty="id">
|
||||
insert into dms_outside_accommodation_approval
|
||||
|
||||
Reference in New Issue
Block a user