Administrator 6 miesięcy temu
rodzic
commit
67922cb99d

+ 3 - 1
src/main/resources/mapper/customer/CustomerCompanyManagerMapper.xml

@@ -31,7 +31,9 @@
             <if test="noCarCompanyManger.companyName != null and noCarCompanyManger.companyName != ''"> AND
                  company_name LIKE BINARY CONCAT('%',#{noCarCompanyManger.companyName},'%')
             </if>
-
+            <if test="noCarCompanyManger.custId != null and noCarCompanyManger.custId != ''"> AND
+                cust_id = #{noCarCompanyManger.custId}
+            </if>
             <if test="noCarCompanyManger.operatorName != null and noCarCompanyManger.operatorName != ''">AND
                 operator_name = #{noCarCompanyManger.operatorName}
             </if>