From abb51ab390fa6cf9bf3747f57576c1507f89ae00 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期五, 05 九月 2025 17:59:19 +0800
Subject: [PATCH] 修改接口

---
 service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml b/service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml
index 6c711f7..782eda6 100644
--- a/service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml
+++ b/service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml
@@ -27,10 +27,11 @@
         <result property="quantity"    column="quantity"    />
         <result property="dispatchQuantity"    column="dispatch_quantity"    />
         <result property="remark"    column="remark"    />
+        <result property="boxNum"    column="box_num"    />
     </resultMap>
 
     <sql id="selectKeyCollectionInfoVo">
-        select thisTab.id, thisTab.customer_name, thisTab.carrier, thisTab.dispatch_no, thisTab.driver_name, thisTab.driver_mobile, thisTab.license_plate_number, thisTab.order_time, thisTab.order_created_time, thisTab.dispatch_created_time, thisTab.key_collection_time, thisTab.estimated_departure_time, thisTab.required_arrival_time, thisTab.consignor_address, thisTab.consignee_address, thisTab.main_driver, thisTab.point_num, thisTab.transport_mode, thisTab.assistant_driver, thisTab.quantity, thisTab.dispatch_quantity, thisTab.remark from key_collection_info AS thisTab
+        select thisTab.id, thisTab.customer_name, thisTab.carrier, thisTab.dispatch_no, thisTab.driver_name, thisTab.driver_mobile, thisTab.license_plate_number, thisTab.order_time, thisTab.order_created_time, thisTab.dispatch_created_time, thisTab.key_collection_time, thisTab.estimated_departure_time, thisTab.required_arrival_time, thisTab.consignor_address, thisTab.consignee_address, thisTab.main_driver, thisTab.point_num, thisTab.transport_mode, thisTab.assistant_driver, thisTab.quantity, thisTab.dispatch_quantity, thisTab.remark, thisTab.box_num from key_collection_info AS thisTab
     </sql>
     <sql id="selectKeyCollectionInfoVoCount">
         select count(0) from key_collection_info as thisTab
@@ -56,6 +57,7 @@
         <if test="transportMode != null  and transportMode != ''"> and thisTab.transport_mode = #{transportMode}</if>
         <if test="assistantDriver != null  and assistantDriver != ''"> and thisTab.assistant_driver = #{assistantDriver}</if>
         <if test="quantity != null "> and thisTab.quantity = #{quantity}</if>
+        <if test="boxNum != null "> and thisTab.box_num = #{boxNum}</if>
         <if test="dispatchQuantity != null "> and thisTab.dispatch_quantity = #{dispatchQuantity}</if>
     </sql>
 
@@ -153,6 +155,7 @@
             <if test="quantity != null">quantity,</if>
             <if test="dispatchQuantity != null">dispatch_quantity,</if>
             <if test="remark != null">remark,</if>
+            <if test="boxNum != null">box_num,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="customerName != null">#{customerName},</if>
@@ -176,6 +179,7 @@
             <if test="quantity != null">#{quantity},</if>
             <if test="dispatchQuantity != null">#{dispatchQuantity},</if>
             <if test="remark != null">#{remark},</if>
+            <if test="boxNum != null">#{boxNum},</if>
          </trim>
     </insert>
 

--
Gitblit v1.8.0