t.check_id as checkId,
t.check_faild_reason as checkFaildReason,
t.check_result as checkResult,
t.create_time as createTime,
t.create_user as createUser,
t.remark as remark,
t.steel_produce_id as steelProduceId,
t.steel_produce_num as steelProduceNum
t.check_faild_reason = #{checkFaildReason} AND
t.check_result = #{checkResult} AND
t.create_time = #{createTime} AND
t.create_user = #{createUser} AND
t.remark = #{remark} AND
t.steel_produce_id = #{steelProduceId} AND
t.steel_produce_num = #{steelProduceNum} AND
insert into t_steel_check_record
check_faild_reason,
check_id,
check_result,
create_time,
create_user,
remark,
steel_produce_id,
steel_produce_num,
#{checkFaildReason},
#{checkId},
#{checkResult},
#{createTime},
#{createUser},
#{remark},
#{steelProduceId},
#{steelProduceNum},
update t_steel_check_record
check_faild_reason=#{checkFaildReason},
check_result=#{checkResult},
create_time=#{createTime},
create_user=#{createUser},
remark=#{remark},
steel_produce_id=#{steelProduceId},
steel_produce_num=#{steelProduceNum},
where check_id=#{checkId}
update t_steel_check_record
SET is_use = 0
where check_id=#{checkId}
delete from t_steel_check_record
where check_id=#{checkId}