select id, work_order_project_no, work_order_status, gxt_center_id, gxt_center, pcs_station_id, pcs_station_name, pcs_device_id, pcs_device_name, brand, model, fault_code, fault_desc, assign_time, assign_user_id, assign_user_name, accept_time, accept_user_id, accept_user_name, real_start_time, real_end_time, team_leader_id, team_leader_name, work_group_member_id, work_group_member_name, t.create_by, t.create_time, t.update_by, t.update_time, t.remark, content, plan_hour, priority_type, score, review_content, maintenance_type, occur_time, fault_barcode, suspend_reason, suspend_description, approval_status, rejection_reason, modify_reason, finalization_remark, related_order_code, related_order_content, mis_order_no, restart_time, scoring_status, pcs_station_pid, attachment_urls, review_score_num, final_coefficient, order_type, repair_method, reset_method, invalid_reason, return_type, return_reason, feedback_reason, confirm_status, wwry_num, wlry_num, work_area, info_entry, real_failure_reason, lost_power, work_permit_num, finalize_method, appeal_user_name, appeal_user_id, appeal_time, appeal_reason, suspend_explain, order_entry_type, order_attachment, extra_work, accept_return_type, accept_return_reason, score_return_reason from gxt_repair_order t left join sys_user u on u.user_name = t.create_by left join sys_dept d on u.dept_id = d.dept_id insert into gxt_repair_order work_order_project_no, work_order_status, gxt_center_id, gxt_center, pcs_station_id, pcs_station_name, pcs_device_id, pcs_device_name, brand, model, fault_code, fault_desc, assign_time, assign_user_id, assign_user_name, accept_time, accept_user_id, accept_user_name, real_start_time, real_end_time, team_leader_id, team_leader_name, work_group_member_id, work_group_member_name, create_by, create_time, update_by, update_time, remark, content, plan_hour, priority_type, score, review_content, maintenance_type, occur_time, fault_barcode, suspend_reason, suspend_description, approval_status, rejection_reason, modify_reason, finalization_remark, related_order_code, related_order_content, mis_order_no, restart_time, scoring_status, pcs_station_pid, attachment_urls, review_score_num, final_coefficient, order_type, repair_method, reset_method, invalid_reason, return_type, return_reason, feedback_reason, confirm_status, wwry_num, wlry_num, work_area, info_entry, real_failure_reason, lost_power, work_permit_num, appeal_user_name, appeal_user_id, appeal_time, appeal_reason, suspend_explain, order_entry_type, order_attachment, extra_work, accept_return_type, accept_return_reason, score_return_reason, finalize_method, #{workOrderProjectNo}, #{workOrderStatus}, #{gxtCenterId}, #{gxtCenter}, #{pcsStationId}, #{pcsStationName}, #{pcsDeviceId}, #{pcsDeviceName}, #{brand}, #{model}, #{faultCode}, #{faultDesc}, #{assignTime}, #{assignUserId}, #{assignUserName}, #{acceptTime}, #{acceptUserId}, #{acceptUserName}, #{realStartTime}, #{realEndTime}, #{teamLeaderId}, #{teamLeaderName}, #{workGroupMemberId}, #{workGroupMemberName}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{content}, #{planHour}, #{priorityType}, #{score}, #{reviewContent}, #{maintenanceType}, #{occurTime}, #{faultBarcode}, #{suspendReason}, #{suspendDescription}, #{approvalStatus}, #{rejectionReason}, #{modifyReason}, #{finalizationRemark}, #{relatedOrderCode}, #{relatedOrderContent}, #{misOrderNo}, #{restartTime}, #{scoringStatus}, #{pcsStationPid}, #{attachmentUrls}, #{reviewScoreNum}, #{finalCoefficient}, #{orderType}, #{repairMethod}, #{resetMethod}, #{invalidReason}, #{returnType}, #{returnReason}, #{feedbackReason}, #{confirmStatus}, #{wwryNum}, #{wlryNum}, #{workArea}, #{infoEntry}, #{realFailureReason}, #{lostPower}, #{workPermitNum}, #{appealUserName}, #{appealUserId}, #{appealTime}, #{appealReason}, #{suspendExplain}, #{orderEntryType}, #{orderAttachment}, #{extraWork}, #{acceptReturnType}, #{acceptReturnReason}, #{scoreReturnReason}, #{finalizeMethod}, update gxt_repair_order work_order_project_no = #{workOrderProjectNo}, work_order_status = #{workOrderStatus}, gxt_center_id = #{gxtCenterId}, gxt_center = #{gxtCenter}, pcs_station_id = #{pcsStationId}, pcs_station_name = #{pcsStationName}, pcs_device_id = #{pcsDeviceId}, pcs_device_name = #{pcsDeviceName}, brand = #{brand}, model = #{model}, fault_code = #{faultCode}, fault_desc = #{faultDesc}, assign_time = #{assignTime}, assign_user_id = #{assignUserId}, assign_user_name = #{assignUserName}, accept_time = #{acceptTime}, accept_user_id = #{acceptUserId}, accept_user_name = #{acceptUserName}, real_start_time = #{realStartTime}, real_end_time = #{realEndTime}, team_leader_id = #{teamLeaderId}, team_leader_name = #{teamLeaderName}, work_group_member_id = #{workGroupMemberId}, work_group_member_name = #{workGroupMemberName}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, content = #{content}, plan_hour = #{planHour}, priority_type = #{priorityType}, score = #{score}, review_content = #{reviewContent}, maintenance_type = #{maintenanceType}, occur_time = #{occurTime}, fault_barcode = #{faultBarcode}, suspend_reason = #{suspendReason}, suspend_description = #{suspendDescription}, approval_status = #{approvalStatus}, rejection_reason = #{rejectionReason}, modify_reason = #{modifyReason}, finalization_remark = #{finalizationRemark}, related_order_code = #{relatedOrderCode}, related_order_content = #{relatedOrderContent}, mis_order_no = #{misOrderNo}, restart_time = #{restartTime}, scoring_status = #{scoringStatus}, pcs_station_pid = #{pcsStationPid}, attachment_urls = #{attachmentUrls}, review_score_num = #{reviewScoreNum}, final_coefficient = #{finalCoefficient}, order_type = #{orderType}, repair_method = #{repairMethod}, reset_method = #{resetMethod}, invalid_reason = #{invalidReason}, return_type = #{returnType}, return_reason = #{returnReason}, feedback_reason = #{feedbackReason}, confirm_status = #{confirmStatus}, wwry_num = #{wwryNum}, wlry_num = #{wlryNum}, work_area = #{workArea}, info_entry = #{infoEntry}, real_failure_reason = #{realFailureReason}, lost_power = #{lostPower}, work_permit_num = #{workPermitNum}, appeal_user_name = #{appealUserName}, appeal_user_id = #{appealUserId}, appeal_time = #{appealTime}, appeal_reason = #{appealReason}, suspend_explain = #{suspendExplain}, order_entry_type = #{orderEntryType}, order_attachment = #{orderAttachment}, extra_work = #{extraWork}, accept_return_type = #{acceptReturnType}, accept_return_reason = #{acceptReturnReason}, score_return_reason = #{scoreReturnReason}, finalize_method = #{finalizeMethod}, where id = #{id} delete from gxt_repair_order where id = #{id} delete from gxt_repair_order where id in #{id}