From 77b8624957ea9afafc81af72e52212c15b5f091e Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 25 十二月 2025 01:34:32 +0800
Subject: [PATCH] feat: 优化新建 保存同步

---
 ruoyi-system/src/main/resources/mapper/system/SysTaskEmergencyMapper.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysTaskEmergencyMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysTaskEmergencyMapper.xml
index 30e4c75..2df0e8c 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysTaskEmergencyMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysTaskEmergencyMapper.xml
@@ -53,6 +53,9 @@
         <result property="legacyServiceOrdClass"   column="legacy_service_ord_class" />
         <result property="serviceOrdVip"           column="service_ord_vip"         />
         <result property="fromHq2Is"               column="from_hq2_is"             />
+        <result property="cancelReason"            column="cancel_reason"           />
+        <result property="cancelBy"                column="cancel_by"               />
+        <result property="cancelTime"              column="cancel_time"             />
         <result property="createTime"              column="create_time"             />
         <result property="updateTime"              column="update_time"             />
         <result property="createBy"                column="create_by"               />
@@ -68,6 +71,7 @@
                hospital_in_latitude, transfer_distance, transfer_price, passenger_contact, 
                passenger_phone, disease_ids, document_type_id, task_type_id, legacy_service_ord_id, legacy_dispatch_ord_id, 
                sync_status, sync_time, sync_error_msg, dispatch_sync_status, dispatch_sync_time, dispatch_sync_error_msg, need_resync, legacy_service_ord_no, legacy_dispatch_ord_no, legacy_service_ns_time, legacy_dispatch_ns_time, legacy_dispatch_ord_class, legacy_service_ord_class, service_ord_vip, from_hq2_is,
+               cancel_reason, cancel_by, cancel_time,
                create_time, update_time, create_by, update_by
         from sys_task_emergency
     </sql>
@@ -132,6 +136,9 @@
             <if test="legacyServiceOrdClass != null">legacy_service_ord_class,</if>
             <if test="serviceOrdVip != null">service_ord_vip,</if>
             <if test="fromHq2Is != null">from_hq2_is,</if>
+            <if test="cancelReason != null">cancel_reason,</if>
+            <if test="cancelBy != null">cancel_by,</if>
+            <if test="cancelTime != null">cancel_time,</if>
             <if test="createTime != null">create_time,</if>
             <if test="updateTime != null">update_time,</if>
             <if test="createBy != null">create_by,</if>
@@ -185,6 +192,9 @@
             <if test="legacyServiceOrdClass != null">#{legacyServiceOrdClass},</if>
             <if test="serviceOrdVip != null">#{serviceOrdVip},</if>
             <if test="fromHq2Is != null">#{fromHq2Is},</if>
+            <if test="cancelReason != null">#{cancelReason},</if>
+            <if test="cancelBy != null">#{cancelBy},</if>
+            <if test="cancelTime != null">#{cancelTime},</if>
             <if test="createTime != null">#{createTime},</if>
             <if test="updateTime != null">#{updateTime},</if>
             <if test="createBy != null">#{createBy},</if>
@@ -241,6 +251,9 @@
             <if test="legacyServiceOrdClass != null">legacy_service_ord_class = #{legacyServiceOrdClass},</if>
             <if test="serviceOrdVip != null">service_ord_vip = #{serviceOrdVip},</if>
             <if test="fromHq2Is != null">from_hq2_is = #{fromHq2Is},</if>
+            <if test="cancelReason != null">cancel_reason = #{cancelReason},</if>
+            <if test="cancelBy != null">cancel_by = #{cancelBy},</if>
+            <if test="cancelTime != null">cancel_time = #{cancelTime},</if>
             <if test="updateTime != null">update_time = #{updateTime},</if>
             <if test="updateBy != null">update_by = #{updateBy},</if>
         </trim>

--
Gitblit v1.9.1