select id, timestamp_random_code, mac_id,machine_id, production_digit, current_color_code, current_specification, current_lot_number, start_time, planned_end_time, plan_status, number, remark, create_by_id, create_by, update_by, update_by, create_time, update_time,tube_weight,box_weight,tube_color, product_id, salesman_id,productTypeName,create_by_id,create_by,create_time from huaxian.details_of_the_refueling_plan_spinning insert into {DBNAME}.details_of_the_refueling_plan_spinning timestamp_random_code, machine_id, production_digit, current_color_code, current_specification, current_lot_number, start_time, planned_end_time, plan_status, `number`, remark, create_by_id, create_by, update_by_id, update_by, create_time, update_time, product_id, salesman_id, create_by_id, create_by, create_time, tube_weight, box_weight, tube_color, #{timestampRandomCode}, #{machineId}, #{productionDigit}, #{currentColorCode}, #{currentSpecification}, #{currentLotNumber}, #{startTime}, #{plannedEndTime}, #{planStatus}, #{number}, #{remark}, #{createById}, #{createBy}, #{updatebyId}, #{updateBy}, #{createTime}, #{updateTime}, #{productId}, #{salesmanId}, #{createById}, #{createBy}, #{createTime}, #{tubeweight}, #{boxweight}, #{tubecolor}, update {DBNAME}.details_of_the_refueling_plan_spinning timestamp_random_code = #{timestampRandomCode}, machine_id = #{machineId}, production_digit = #{productionDigit}, current_color_code = #{currentColorCode}, current_specification = #{currentSpecification}, current_lot_number = #{currentLotNumber}, start_time = #{startTime}, planned_end_time = #{plannedEndTime}, plan_status = #{planStatus}, `number` = #{number}, remark = #{remark}, create_by_id = #{createById}, create_by = #{createBy}, update_by_id = #{updateById}, update_by = #{updateBy}, create_time = #{createTime}, update_time = #{updateTime}, product_id = #{productId}, salesman_id = #{salesmanId}, tube_weight= #{tubeweight}, box_weight= #{boxweight}, tube_color= #{tubecolor}, where id = #{id} delete from {DBNAME}.details_of_the_refueling_plan_spinning where id = #{id} delete from {DBNAME}.details_of_the_refueling_plan_spinning where id in #{id} delete from {DBNAME}.details_of_the_refueling_plan_spinning where salesman_id in #{id} INSERT INTO {DBNAME}.details_of_the_refueling_plan_spinning timestamp_random_code, mac_id, machine_id, current_color_code, current_specification, current_lot_number, production_digit, start_time, planned_end_time, plan_status, `number`, `product_id`, `salesman_id`, `productTypeName`, `plan_type`, create_by, create_by_id, create_time, tube_weight, box_weight, tube_color, VALUES #{item.timestampRandomCode}, #{item.macId}, #{item.machineId}, #{item.currentColorCode}, #{item.currentSpecification}, #{item.currentLotNumber}, #{item.productionDigit}, #{item.startTime}, #{item.plannedEndTime}, #{item.planStatus}, #{item.number}, #{item.productId}, #{item.salesmanId}, #{item.productTypeName}, #{item.planType}, #{item.createBy}, #{item.createById}, #{item.createTime}, #{item.tubeweight}, #{item.boxweight}, #{item.tubecolor},