select id, type, type_name, work_type, order_name, task_name, organization_name, organization_id, open_mode, start_time, end_time, create_time, update_time, create_by, update_by, del_flag,order_no, valid_flag,temp_area_id from mj_work_order
insert into mj_work_order
id,
type,
type_name,
work_type,
order_name,
task_name,
organization_name,
organization_id,
open_mode,
start_time,
end_time,
create_time,
update_time,
create_by,
update_by,
del_flag,
order_no,
temp_area_id,
#{id},
#{type},
#{typeName},
#{workType},
#{orderName},
#{taskName},
#{organizationName},
#{organizationId},
#{openMode},
#{startTime},
#{endTime},
#{createTime},
#{updateTime},
#{createBy},
#{updateBy},
#{delFlag},
#{orderNo},
#{tempAreaId},
update mj_work_order
type = #{type},
type_name = #{typeName},
work_type = #{workType},
order_name = #{orderName},
task_name = #{taskName},
organization_name = #{organizationName},
organization_id = #{organizationId},
open_mode = #{openMode},
start_time = #{startTime},
end_time = #{endTime},
create_time = #{createTime},
update_time = #{updateTime},
create_by = #{createBy},
update_by = #{updateBy},
del_flag = #{delFlag},
valid_flag = #{validFlag},
order_no = #{orderNo},
temp_area_id = #{tempAreaId},
where id = #{id}
delete from mj_work_order where id = #{id}
delete from mj_work_order where id in
#{id}