INSERT into ma_bind_record
ma_id,
device_code,
epc_code,
creator,
create_time
#{maId},
#{deviceCode},
#{epcCode},
#{creator},
#{createTime}
UPDATE mm_machines
epc_code = #{epcCode}
where id=#{maId}
update wf_ma_outstock
ALREDY_COLLAR_NUM = #{alOutNum}
where ID =#{id}
update mm_machines
BATCH_STATUS = #{batchStatus},
where ID = #{id}
insert into wf_info_record
SUP_ID,
MODEL_ID,
TIME,
CODE,
TYPE,
MA_ID,
NUM,
#{taskId},
#{typeId},
#{outTime},
#{deviceCode},
#{type},
#{maId},
#{thisOutNum},
update wf_ma_outstock set IS_SURE = '1'
where ID = #{id}
update wf_put_storage_details
set AL_PUT_NUM = #{alPutNum}
where ID =#{id}
insert into wf_info_record
SUP_ID,
MODEL_ID,
TIME,
CODE,
TYPE,
NUM,
#{taskId},
#{typeId},
#{putTime},
#{deviceCode},
#{type},
#{thisPutNum},
update wf_put_storage_details
set IS_SURE = 1
where ID =#{id}