id,device_no,work_id, repair_id,plan_id,station_id, curr_node,node_content,device_cycle_content, status,result, error_msg,assistants,in_time, out_time,updated_by,memo,number delete from sta_device_production_log where id = #{id,jdbcType=BIGINT} insert into sta_device_production_log ( id,device_no,work_id ,repair_id,plan_id,station_id ,curr_node,node_content,device_cycle_content ,status,result ,error_msg,assistants,in_time ,out_time,updated_by,memo,number ) values (#{id,jdbcType=BIGINT},#{deviceNo,jdbcType=VARCHAR},#{workId,jdbcType=BIGINT} ,#{repairId,jdbcType=BIGINT},#{planId,jdbcType=BIGINT},#{stationId,jdbcType=BIGINT} ,#{currNode,jdbcType=BIGINT},#{nodeContent,jdbcType=VARCHAR},#{deviceCycleContent,jdbcType=VARCHAR} ,#{status,jdbcType=TINYINT},#{result,jdbcType=TINYINT} ,#{errorMsg,jdbcType=VARCHAR},#{assistants,jdbcType=VARCHAR},#{inTime,jdbcType=TIMESTAMP} ,#{outTime,jdbcType=TIMESTAMP},#{updatedBy,jdbcType=BIGINT},#{memo,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER} ) insert into sta_device_production_log id, device_no, work_id, repair_id, plan_id, station_id, curr_node, node_content, device_cycle_content, status, result, error_msg, assistants, in_time, out_time, updated_by, memo, number, #{id,jdbcType=BIGINT}, #{deviceNo,jdbcType=VARCHAR}, #{workId,jdbcType=BIGINT}, #{repairId,jdbcType=BIGINT}, #{planId,jdbcType=BIGINT}, #{stationId,jdbcType=BIGINT}, #{currNode,jdbcType=BIGINT}, #{nodeContent,jdbcType=VARCHAR}, #{deviceCycleContent,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, #{result,jdbcType=TINYINT}, #{errorMsg,jdbcType=VARCHAR}, #{assistants,jdbcType=VARCHAR}, #{inTime,jdbcType=TIMESTAMP}, #{outTime,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=BIGINT}, #{memo,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER}, update sta_device_production_log device_no = #{deviceNo,jdbcType=VARCHAR}, work_id = #{workId,jdbcType=BIGINT}, repair_id = #{repairId,jdbcType=BIGINT}, plan_id = #{planId,jdbcType=BIGINT}, station_id = #{stationId,jdbcType=BIGINT}, curr_node = #{currNode,jdbcType=BIGINT}, node_content = #{nodeContent,jdbcType=VARCHAR}, device_cycle_content = #{deviceCycleContent,jdbcType=VARCHAR}, status = #{status,jdbcType=TINYINT}, result = #{result,jdbcType=TINYINT}, error_msg = #{errorMsg,jdbcType=VARCHAR}, assistants = #{assistants,jdbcType=VARCHAR}, in_time = #{inTime,jdbcType=TIMESTAMP}, out_time = #{outTime,jdbcType=TIMESTAMP}, updated_by = #{updatedBy,jdbcType=BIGINT}, memo = #{memo,jdbcType=VARCHAR}, number = #{number,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update sta_device_production_log set device_no = #{deviceNo,jdbcType=VARCHAR}, work_id = #{workId,jdbcType=BIGINT}, repair_id = #{repairId,jdbcType=BIGINT}, plan_id = #{planId,jdbcType=BIGINT}, station_id = #{stationId,jdbcType=BIGINT}, curr_node = #{currNode,jdbcType=BIGINT}, node_content = #{nodeContent,jdbcType=VARCHAR}, device_cycle_content = #{deviceCycleContent,jdbcType=VARCHAR}, status = #{status,jdbcType=TINYINT}, result = #{result,jdbcType=TINYINT}, error_msg = #{errorMsg,jdbcType=VARCHAR}, assistants = #{assistants,jdbcType=VARCHAR}, in_time = #{inTime,jdbcType=TIMESTAMP}, out_time = #{outTime,jdbcType=TIMESTAMP}, updated_by = #{updatedBy,jdbcType=BIGINT}, memo = #{memo,jdbcType=VARCHAR}, number = #{number,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT}