select job_id, job_detail_id, status, task_no, tray_code, roadway_id, cargo_space_id, cargo_space_name, the_platoon, the_column, the_floor, priority, execution_phase, in_or_out, entrance_id, product_id, lot_no, stacking_id, stock_status, in_quantity, in_or_out_id, in_or_out_d_id, create_time, start_time, finish_time, warehouse_id, product_name, spec, unit, price, remark,spare1,spare2,spare5,spare6,spare7,spare8 from view_in_job_flow vijf
insert into view_in_job_flow
job_id,
job_detail_id,
status,
task_no,
tray_code,
roadway_id,
cargo_space_id,
cargo_space_name,
the_platoon,
the_column,
the_floor,
priority,
execution_phase,
in_or_out,
entrance_id,
product_id,
lot_no,
stacking_id,
stock_status,
in_quantity,
in_or_out_id,
in_or_out_d_id,
create_time,
start_time,
finish_time,
warehouse_id,
product_name,
spec,
unit,
price,
remark,
spare1,
spare2,
spare5,
spare6,
spare7,
spare8,
#{jobId},
#{jobDetailId},
#{status},
#{taskNo},
#{trayCode},
#{roadwayId},
#{cargoSpaceId},
#{cargoSpaceName},
#{thePlatoon},
#{theColumn},
#{theFloor},
#{priority},
#{executionPhase},
#{inOrOut},
#{entranceId},
#{productId},
#{lotNo},
#{stackingId},
#{stockStatus},
#{inQuantity},
#{inOrOutId},
#{inOrOutDId},
#{createTime},
#{startTime},
#{finishTime},
#{warehouseId},
#{productName},
#{spec},
#{unit},
#{price},
#{remark},
#{spare1},
#{spare2},
#{spare5},
#{spare6},
#{spare7},
#{spare8},
update view_in_job_flow
job_detail_id = #{jobDetailId},
status = #{status},
task_no = #{taskNo},
tray_code = #{trayCode},
roadway_id = #{roadwayId},
cargo_space_id = #{cargoSpaceId},
cargo_space_name = #{cargoSpaceName},
the_platoon = #{thePlatoon},
the_column = #{theColumn},
the_floor = #{theFloor},
priority = #{priority},
execution_phase = #{executionPhase},
in_or_out = #{inOrOut},
entrance_id = #{entranceId},
product_id = #{productId},
lot_no = #{lotNo},
stacking_id = #{stackingId},
stock_status = #{stockStatus},
in_quantity = #{inQuantity},
in_or_out_id = #{inOrOutId},
in_or_out_d_id = #{inOrOutDId},
create_time = #{createTime},
start_time = #{startTime},
finish_time = #{finishTime},
warehouse_id = #{warehouseId},
product_name = #{productName},
spec = #{spec},
unit = #{unit},
price = #{price},
remark = #{remark},
spare1 = #{spare1},
spare2 = #{spare2},
spare5 = #{spare5},
spare6 = #{spare6},
spare7 = #{spare7},
spare8 = #{spare8},
where job_id = #{jobId}
delete from view_in_job_flow where job_id = #{jobId}
delete from view_in_job_flow where job_id in
#{jobId}