Browse Source

订单销售名称搜索项

yuhongqi 3 days ago
parent
commit
b2d6749b57

+ 2 - 2
fs-service/src/main/resources/mapper/hisStore/FsStoreOrderScrmMapper.xml

@@ -1860,8 +1860,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="maps.companyUserId != null  ">
                 and o.company_user_id =#{maps.companyUserId}
             </if>
-            <if test="maps.salesName != null and maps.salesName != ''">
-                and cu.user_name like CONCAT('%', #{maps.salesName}, '%')
+            <if test="maps.companyUserNickName != null and maps.companyUserNickName != ''">
+                and cu.nick_name like CONCAT('%', #{maps.companyUserNickName}, '%')
             </if>
             <if test="maps.payCode != null and maps.payCode != ''">
                 and sp_latest.pay_code like CONCAT('%', #{maps.payCode}, '%')