id,equip_no,plan_id,
station_id,curr_node,next_node,
in_line_time,status,result,
error_code,memo,assistants,
updated_date,updated_by,claim_id,
repair_id
delete from sta_device_production_log
where id = #{id,jdbcType=BIGINT}
insert into sta_device_production_log
( id,equip_no,plan_id
,station_id,curr_node,next_node
,in_line_time,status,result
,error_code,memo,assistants
,updated_date,updated_by,claim_id
,repair_id)
values (#{id,jdbcType=BIGINT},#{equipNo,jdbcType=VARCHAR},#{planId,jdbcType=BIGINT}
,#{stationId,jdbcType=BIGINT},#{currNode,jdbcType=BIGINT},#{nextNode,jdbcType=BIGINT}
,#{inLineTime,jdbcType=TIMESTAMP},#{status,jdbcType=TINYINT},#{result,jdbcType=TINYINT}
,#{errorCode,jdbcType=VARCHAR},#{memo,jdbcType=VARCHAR},#{assistants,jdbcType=VARCHAR}
,#{updatedDate,jdbcType=TIMESTAMP},#{updatedBy,jdbcType=BIGINT},#{claimId,jdbcType=BIGINT}
,#{repairId,jdbcType=BIGINT})
insert into sta_device_production_log
id,
equip_no,
plan_id,
station_id,
curr_node,
next_node,
in_line_time,
status,
result,
error_code,
memo,
assistants,
updated_date,
updated_by,
claim_id,
repair_id,
#{id,jdbcType=BIGINT},
#{equipNo,jdbcType=VARCHAR},
#{planId,jdbcType=BIGINT},
#{stationId,jdbcType=BIGINT},
#{currNode,jdbcType=BIGINT},
#{nextNode,jdbcType=BIGINT},
#{inLineTime,jdbcType=TIMESTAMP},
#{status,jdbcType=TINYINT},
#{result,jdbcType=TINYINT},
#{errorCode,jdbcType=VARCHAR},
#{memo,jdbcType=VARCHAR},
#{assistants,jdbcType=VARCHAR},
#{updatedDate,jdbcType=TIMESTAMP},
#{updatedBy,jdbcType=BIGINT},
#{claimId,jdbcType=BIGINT},
#{repairId,jdbcType=BIGINT},
update sta_device_production_log
equip_no = #{equipNo,jdbcType=VARCHAR},
plan_id = #{planId,jdbcType=BIGINT},
station_id = #{stationId,jdbcType=BIGINT},
curr_node = #{currNode,jdbcType=BIGINT},
next_node = #{nextNode,jdbcType=BIGINT},
in_line_time = #{inLineTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=TINYINT},
result = #{result,jdbcType=TINYINT},
error_code = #{errorCode,jdbcType=VARCHAR},
memo = #{memo,jdbcType=VARCHAR},
assistants = #{assistants,jdbcType=VARCHAR},
updated_date = #{updatedDate,jdbcType=TIMESTAMP},
updated_by = #{updatedBy,jdbcType=BIGINT},
claim_id = #{claimId,jdbcType=BIGINT},
repair_id = #{repairId,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update sta_device_production_log
set
equip_no = #{equipNo,jdbcType=VARCHAR},
plan_id = #{planId,jdbcType=BIGINT},
station_id = #{stationId,jdbcType=BIGINT},
curr_node = #{currNode,jdbcType=BIGINT},
next_node = #{nextNode,jdbcType=BIGINT},
in_line_time = #{inLineTime,jdbcType=TIMESTAMP},
status = #{status,jdbcType=TINYINT},
result = #{result,jdbcType=TINYINT},
error_code = #{errorCode,jdbcType=VARCHAR},
memo = #{memo,jdbcType=VARCHAR},
assistants = #{assistants,jdbcType=VARCHAR},
updated_date = #{updatedDate,jdbcType=TIMESTAMP},
updated_by = #{updatedBy,jdbcType=BIGINT},
claim_id = #{claimId,jdbcType=BIGINT},
repair_id = #{repairId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}