wujianwei
2025-08-13 411f3275d09e2963eb1150b0c9dd559a4abfd9e3
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>