insert into wf_collar_apply
APPLY_NUMBER,
PROPOSER,
APPLY_TIME,
PHONE,
AGREEMENT_ID,
OPERATOR,
OPERATION_TIME,
REMARK,
IS_SURE,IS_ACTIVE,
#{applyNumber},
#{proposer},
#{applyTime},
#{phone},
#{agreementId},
#{operator},
#{operationTime},
#{remark},
0,1
delete from wf_process_record where id = #{id}
update wf_task_record
REMARK = #{remark},
IS_FINISH = #{isFinish},
LEASE_PERSON = #{userName},
PHONE = #{phone},
CHECKER_ID = #{checkerId},
where id = #{id}
update wf_task_record
REMARK = #{remark},
IS_FINISH = #{isFinish},
LEASE_PERSON = #{userName},
PHONE = #{phone},
CHECKER_ID = #{checkerId},
where id = #{id}
DELETE FROM wf_collar_apply WHERE id in(
#{o.id}
)
update
wf_task_record
set
is_active = 0
where
id = #{id}
update wf_return_material_details
set IS_EXAMINE = 1
where task_id = #{id}