select task_id, task_code, task_name, workorder_id, workorder_code, workorder_name, workstation_id, workstation_code, workstation_name,process_id,process_code,process_name, item_id, item_code, item_name, specification, unit_of_measure, quantity, quantity_produced,quantity_quanlify,quantity_unquanlify, quantity_changed, client_id, client_code, client_name, client_nick, start_time, duration, end_time, color_code, request_date, status, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from pro_task
insert into pro_task
task_code,
task_name,
workorder_id,
workorder_code,
workorder_name,
workstation_id,
workstation_code,
workstation_name,
process_id,
process_code,
process_name,
item_id,
item_code,
item_name,
specification,
unit_of_measure,
quantity,
quantity_produced,
quantity_quanlify,
quantity_unquanlify,
quantity_changed,
client_id,
client_code,
client_name,
client_nick,
start_time,
duration,
end_time,
color_code,
request_date,
status,
remark,
attr1,
attr2,
attr3,
attr4,
create_by,
create_time,
update_by,
update_time,
#{taskCode},
#{taskName},
#{workorderId},
#{workorderCode},
#{workorderName},
#{workstationId},
#{workstationCode},
#{workstationName},
#{processId},
#{processCode},
#{processName},
#{itemId},
#{itemCode},
#{itemName},
#{specification},
#{unitOfMeasure},
#{quantity},
#{quantityProduced},
#{quantityQuanlify},
#{quantityUnquanlify},
#{quantityChanged},
#{clientId},
#{clientCode},
#{clientName},
#{clientNick},
#{startTime},
#{duration},
#{endTime},
#{colorCode},
#{requestDate},
#{status},
#{remark},
#{attr1},
#{attr2},
#{attr3},
#{attr4},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update pro_task
task_code = #{taskCode},
task_name = #{taskName},
workorder_id = #{workorderId},
workorder_code = #{workorderCode},
workorder_name = #{workorderName},
workstation_id = #{workstationId},
workstation_code = #{workstationCode},
workstation_name = #{workstationName},
process_id = #{processId},
process_code = #{processCode},
process_name = #{processName},
item_id = #{itemId},
item_code = #{itemCode},
item_name = #{itemName},
specification = #{specification},
unit_of_measure = #{unitOfMeasure},
quantity = #{quantity},
quantity_produced = #{quantityProduced},
quantity_quanlify = #{quantityQuanlify},
quantity_unquanlify = #{quantityUnquanlify},
quantity_changed = #{quantityChanged},
client_id = #{clientId},
client_code = #{clientCode},
client_name = #{clientName},
client_nick = #{clientNick},
start_time = #{startTime},
duration = #{duration},
end_time = #{endTime},
color_code = #{colorCode},
request_date = #{requestDate},
status = #{status},
remark = #{remark},
attr1 = #{attr1},
attr2 = #{attr2},
attr3 = #{attr3},
attr4 = #{attr4},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where task_id = #{taskId}
delete from pro_task where task_id = #{taskId}
delete from pro_task where task_id in
#{taskId}