select id, order_no, plan_id, biz_type, title, content, department, executor_ids,executor, execute_date, execute_time, sheep_scope, location, material_list, tool_list, status, priority, issuer_id, issuer,issue_time, receiver_id, receiver,receive_time, finish_time, result, remark, create_time, update_time, deleted from work_order w insert into work_order order_no, plan_id, biz_type, title, content, department, executor_ids, executor, execute_date, execute_time, sheep_scope, location, material_list, tool_list, status, priority, issuer_id, issuer, issue_time, receiver_id, receiver, receive_time, finish_time, `result`, remark, create_time, update_time, deleted, dept_id, user_id, #{orderNo}, #{planId}, #{bizType}, #{title}, #{content}, #{department}, #{executorIds}, #{executor}, #{executeDate}, #{executeTime}, #{sheepScope,typeHandler=com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler}, #{location,typeHandler=com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler}, #{materialList}, #{toolList}, #{status}, #{priority}, #{issuerId}, #{issuer}, #{issueTime}, #{receiverId}, #{receiver}, #{receiveTime}, #{finishTime}, #{result}, #{remark}, #{createTime}, #{updateTime}, #{deleted}, #{deptId}, #{userId}, update work_order order_no = #{orderNo}, plan_id = #{planId}, biz_type = #{bizType}, title = #{title}, content = #{content}, department = #{department}, executor_ids = #{executorIds}, executor = #{executor}, execute_date = #{executeDate}, execute_time = #{executeTime}, sheep_scope = #{sheepScope,typeHandler=com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler}, location = #{location,typeHandler=com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler}, material_list = #{materialList}, tool_list = #{toolList}, status = #{status}, priority = #{priority}, issuer_id = #{issuerId}, issuer = #{issuer}, issue_time = #{issueTime}, receiver_id = #{receiverId}, receiver = #{receiver}, 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}