diff --git a/srs-routine/src/main/resources/mapper/routine/RtEnlistmentReserveApprovalMapper.xml b/srs-routine/src/main/resources/mapper/routine/RtEnlistmentReserveApprovalMapper.xml index 4b04643..216286e 100644 --- a/srs-routine/src/main/resources/mapper/routine/RtEnlistmentReserveApprovalMapper.xml +++ b/srs-routine/src/main/resources/mapper/routine/RtEnlistmentReserveApprovalMapper.xml @@ -4,43 +4,63 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - + + + + + + + + + + + + + - select id, apply_id, process_instance_id, task_id, node_name, approver_id, approver_name, approval_opinion, approval_result, approval_time, student_name, student_no from rt_enlistment_reserve_approval + select id, + apply_id, + process_instance_id, + task_id, + node_name, + approver_id, + approver_name, + approval_opinion, + approval_result, + approval_time, + student_name, + student_no + from rt_enlistment_reserve_approval - - and apply_id = #{applyId} - and process_instance_id = #{processInstanceId} - and task_id = #{taskId} - and node_name like concat('%', #{nodeName}, '%') - and approver_id = #{approverId} - and approver_name like concat('%', #{approverName}, '%') - and approval_opinion = #{approvalOpinion} - and approval_result = #{approvalResult} - and approval_time = #{approvalTime} - and student_name like concat('%', #{studentName}, '%') - and student_no = #{studentNo} + and apply_id = #{applyId} + and process_instance_id = + #{processInstanceId} + + and task_id = #{taskId} + and node_name like concat('%', #{nodeName}, '%') + and approver_id = #{approverId} + and approver_name like concat('%', #{approverName}, + '%') + + and approval_opinion = #{approvalOpinion} + and approval_result = #{approvalResult} + and approval_time = #{approvalTime} + and student_name like concat('%', #{studentName}, + '%') + + and student_no = #{studentNo} - where id = #{id} @@ -61,7 +81,8 @@ - + insert into rt_enlistment_reserve_approval apply_id, @@ -95,7 +116,9 @@ update rt_enlistment_reserve_approval apply_id = #{applyId}, - process_instance_id = #{processInstanceId}, + process_instance_id = + #{processInstanceId}, + task_id = #{taskId}, node_name = #{nodeName}, approver_id = #{approverId}, @@ -110,7 +133,9 @@ - delete from rt_enlistment_reserve_approval where id = #{id} + delete + from rt_enlistment_reserve_approval + where id = #{id}