select id, order_no, plan_id, biz_type, title, content, department, executor_ids, execute_date, execute_time, sheep_scope, location, material_list, tool_list, status, priority, issuer_id, issue_time, receiver_id, receive_time, finish_time, result, remark, create_time, update_time, deleted from work_order
insert into work_order
order_no,
plan_id,
biz_type,
title,
content,
department,
executor_ids,
execute_date,
execute_time,
sheep_scope,
location,
material_list,
tool_list,
status,
priority,
issuer_id,
issue_time,
receiver_id,
receive_time,
finish_time,
result,
remark,
create_time,
update_time,
deleted,
#{orderNo},
#{planId},
#{bizType},
#{title},
#{content},
#{department},
#{executorIds},
#{executeDate},
#{executeTime},
#{sheepScope},
#{location},
#{materialList},
#{toolList},
#{status},
#{priority},
#{issuerId},
#{issueTime},
#{receiverId},
#{receiveTime},
#{finishTime},
#{result},
#{remark},
#{createTime},
#{updateTime},
#{deleted},
update work_order
order_no = #{orderNo},
plan_id = #{planId},
biz_type = #{bizType},
title = #{title},
content = #{content},
department = #{department},
executor_ids = #{executorIds},
execute_date = #{executeDate},
execute_time = #{executeTime},
sheep_scope = #{sheepScope},
location = #{location},
material_list = #{materialList},
tool_list = #{toolList},
status = #{status},
priority = #{priority},
issuer_id = #{issuerId},
issue_time = #{issueTime},
receiver_id = #{receiverId},
receive_time = #{receiveTime},
finish_time = #{finishTime},
result = #{result},
remark = #{remark},
create_time = #{createTime},
update_time = #{updateTime},
deleted = #{deleted},
where id = #{id}
delete from work_order where id = #{id}
delete from work_order where id in
#{id}