update wf_put_storage_details set AL_PUT_NUM = #{alPutNum} where ID =#{id} update wf_put_storage_details set IS_SURE = 1 where ID =#{id} insert into wf_info_record SUP_ID, MODEL_ID, TIME, CODE, TYPE, NUM, RM_STATUS #{taskId}, #{typeId}, #{putTime}, #{deviceCode}, #{type}, #{thisPutNum}, #{rmStatus} update mm_type NUM =(ifnull(NUM,0)) + #{thisPutNum} where id= #{typeId} update wf_info_record set rm_status = 13 where sup_id= #{taskId} and model_id = #{typeId} and code = #{deviceCode} update wf_put_storage_details IS_EXAMINE = '1',AUDIT_TIME = now() where id= #{id} update wf_put_storage_details IS_SURE = '1' where id= #{id}