From 93ab7329ea23a25224e8f0058ef4cebfae457f9a Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期二, 12 八月 2025 13:57:45 +0800
Subject: [PATCH] 新增定时任务

---
 service/src/main/resources/mapper/cwgl/DispatchOrderMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/service/src/main/resources/mapper/cwgl/DispatchOrderMapper.xml b/service/src/main/resources/mapper/cwgl/DispatchOrderMapper.xml
index 7375dec..e07ec65 100644
--- a/service/src/main/resources/mapper/cwgl/DispatchOrderMapper.xml
+++ b/service/src/main/resources/mapper/cwgl/DispatchOrderMapper.xml
@@ -66,7 +66,8 @@
         <if test="isDeleted != null "> and thisTab.is_deleted = #{isDeleted}</if>
     </sql>
     <sql id="whereCondition2">
-        <if test="dispatchNo != null  and dispatchNo != ''"> and ts.DISPATCH_NO = #{dispatchNo}</if>
+        <if test="dispatchNo != null  and dispatchNo != ''"> and ts.DISPATCH_NO like concat('%', #{dispatchNo}, '%')</if>
+        <if test="customerName != null  and customerName != ''"> and customer.`NAME` like concat('%', #{customerName}, '%')</if>
         <if test="transportMode != null  and transportMode != ''"> and ts.TRANSPORT_MODE = #{transportMode}</if>
         <if test="productName != null  and productName != ''"> and  ts.PRODUCT_ID like concat('%', #{productName}, '%')</if>
         <if test="carrierName != null  and carrierName != ''"> and  bp.NAME  like concat('%', #{carrierName}, '%')</if>

--
Gitblit v1.8.0