select objid, master_id, order_id, serial_no, equipment_no, container_no, task_type, task_status, material_id, material_no, qty, start_point_no, start_point_id, curr_point_no, curr_point_id, next_point_id, next_point_no, end_point_no, end_point_id, floor_no, use_flag, create_by, create_time, update_by, update_time, ud1, ud2, ud3, remark, from_floor_no, is_empty, ctu_execute, taskCode, is_delete, is_stop from wcs_task
insert into wcs_task
objid,
master_id,
order_id,
serial_no,
equipment_no,
container_no,
task_type,
task_status,
material_id,
material_no,
qty,
start_point_no,
start_point_id,
curr_point_no,
curr_point_id,
next_point_id,
next_point_no,
end_point_no,
end_point_id,
floor_no,
use_flag,
create_by,
create_time,
update_by,
update_time,
ud1,
ud2,
ud3,
remark,
from_floor_no,
is_empty,
ctu_execute,
taskCode,
is_delete,
is_stop,
#{objid},
#{masterId},
#{orderId},
#{serialNo},
#{equipmentNo},
#{containerNo},
#{taskType},
#{taskStatus},
#{materialId},
#{materialNo},
#{qty},
#{startPointNo},
#{startPointId},
#{currPointNo},
#{currPointId},
#{nextPointId},
#{nextPointNo},
#{endPointNo},
#{endPointId},
#{floorNo},
#{useFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{ud1},
#{ud2},
#{ud3},
#{remark},
#{fromFloorNo},
#{isEmpty},
#{ctuExecute},
#{taskCode},
#{isDelete},
#{isStop},
update wcs_task
master_id = #{masterId},
order_id = #{orderId},
serial_no = #{serialNo},
equipment_no = #{equipmentNo},
container_no = #{containerNo},
task_type = #{taskType},
task_status = #{taskStatus},
material_id = #{materialId},
material_no = #{materialNo},
qty = #{qty},
start_point_no = #{startPointNo},
start_point_id = #{startPointId},
curr_point_no = #{currPointNo},
curr_point_id = #{currPointId},
next_point_id = #{nextPointId},
next_point_no = #{nextPointNo},
end_point_no = #{endPointNo},
end_point_id = #{endPointId},
floor_no = #{floorNo},
use_flag = #{useFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
ud1 = #{ud1},
ud2 = #{ud2},
ud3 = #{ud3},
remark = #{remark},
from_floor_no = #{fromFloorNo},
is_empty = #{isEmpty},
ctu_execute = #{ctuExecute},
taskCode = #{taskCode},
is_delete = #{isDelete},
is_stop = #{isStop},
where objid = #{objid}
delete from wcs_task where objid = #{objid}
delete from wcs_task where objid in
#{objid}