update wf_task_appoint set IS_SURE = 1
where TASK_ID = #{taskId}
update wf_new_details set IS_SURE = 1
where TASK_ID = #{taskId} and MODEL_ID =#{maModelId}
update wf_task_record set IS_FINISH = 1
where ID = #{taskId}
update wf_new_details set INPUT_NUM = #{alInputNum}
where TASK_ID = #{taskId} and MODEL_ID =#{maModelId}
insert into wf_new_qrcode
TASK_ID,
MODEL_ID,
QRCODE,
DEVICE_CODE,
STATUS,
GEN_TIME,
DEVICE_NUM,
#{taskId},
#{maModelId},
#{qrCode},
#{deviceCode},
#{qrCodeStatus},
#{genTime},
#{qrCodeNum},
update wf_task_appoint set
LAUNCH_TIME = #{launchTime},
FINISH_TIME = #{finishTime},
RECEIVE = #{receiveName},
REMARK = #{remark}
where ID = #{id}
update wf_task_appoint set
IS_ACTIVE = '0'
where ID = #{id}
insert into wf_info_record
SUP_ID,
MODEL_ID,
CODE,
TIME,
NUM,
TYPE,
RM_STATUS,
#{taskId},
#{maModelId},
#{deviceCode},
#{operationTime},
#{nums},
#{state},
#{rmStatus},