From 69f6a5c54eb608fb93d3a8638d4553ebed00f61d Mon Sep 17 00:00:00 2001 From: wujianwei <wjw@11.com> Date: 星期五, 15 八月 2025 10:59:34 +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