From f5c900c58513bad824381e69750ac7667ef35de0 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 26 二月 2026 22:29:46 +0800
Subject: [PATCH] feat: 修改增另任务单查询,使用单号查询

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysTaskEmergencyMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysTaskEmergencyMapper.xml
index a7f2760..54fbcee 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysTaskEmergencyMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysTaskEmergencyMapper.xml
@@ -46,6 +46,16 @@
         <result property="dispatchSyncErrorMsg"    column="dispatch_sync_error_msg" />
         <result property="needResync"              column="need_resync"             />
         <result property="legacyServiceOrdNo"      column="legacy_service_ord_no"   />
+        <result property="legacyDispatchOrdNo"     column="legacy_dispatch_ord_no"  />
+        <result property="legacyServiceNsTime"     column="legacy_service_ns_time"  />
+        <result property="legacyDispatchNsTime"    column="legacy_dispatch_ns_time" />
+        <result property="legacyDispatchOrdClass"  column="legacy_dispatch_ord_class" />
+        <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"               />
@@ -60,7 +70,8 @@
                hospital_in_department_id, hospital_in_bed_number, hospital_in_address, hospital_in_longitude, 
                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,
+               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>
@@ -118,6 +129,16 @@
             <if test="dispatchSyncErrorMsg != null">dispatch_sync_error_msg,</if>
             <if test="needResync != null">need_resync,</if>
             <if test="legacyServiceOrdNo != null">legacy_service_ord_no,</if>
+            <if test="legacyDispatchOrdNo != null">legacy_dispatch_ord_no,</if>
+            <if test="legacyServiceNsTime != null">legacy_service_ns_time,</if>
+            <if test="legacyDispatchNsTime != null">legacy_dispatch_ns_time,</if>
+            <if test="legacyDispatchOrdClass != null">legacy_dispatch_ord_class,</if>
+            <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>
@@ -164,6 +185,16 @@
             <if test="dispatchSyncErrorMsg != null">#{dispatchSyncErrorMsg},</if>
             <if test="needResync != null">#{needResync},</if>
             <if test="legacyServiceOrdNo != null">#{legacyServiceOrdNo},</if>
+            <if test="legacyDispatchOrdNo != null">#{legacyDispatchOrdNo},</if>
+            <if test="legacyServiceNsTime != null">#{legacyServiceNsTime},</if>
+            <if test="legacyDispatchNsTime != null">#{legacyDispatchNsTime},</if>
+            <if test="legacyDispatchOrdClass != null">#{legacyDispatchOrdClass},</if>
+            <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>
@@ -213,6 +244,16 @@
             <if test="dispatchSyncErrorMsg != null">dispatch_sync_error_msg = #{dispatchSyncErrorMsg},</if>
             <if test="needResync != null">need_resync = #{needResync},</if>
             <if test="legacyServiceOrdNo != null">legacy_service_ord_no = #{legacyServiceOrdNo},</if>
+            <if test="legacyDispatchOrdNo != null">legacy_dispatch_ord_no = #{legacyDispatchOrdNo},</if>
+            <if test="legacyServiceNsTime != null">legacy_service_ns_time = #{legacyServiceNsTime},</if>
+            <if test="legacyDispatchNsTime != null">legacy_dispatch_ns_time = #{legacyDispatchNsTime},</if>
+            <if test="legacyDispatchOrdClass != null">legacy_dispatch_ord_class = #{legacyDispatchOrdClass},</if>
+            <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>
@@ -290,7 +331,7 @@
             limit #{limit}
         </if>
         <if test="offset == null and limit == null">
-            limit 200
+            limit 10
         </if>
     </select>
     

--
Gitblit v1.9.1