dcs 2 miesięcy temu
rodzic
commit
18b2fa6cc3

+ 2 - 2
virgo.api/src/main/resources/mapper/ProductMapper.xml

@@ -95,8 +95,8 @@
             <if test="p.productLevelId != 0">
                 and productLevelId = #{p.productLevelId}
             </if>
-            <if test="customerId != null">
-                and customerId = #{customerId}
+            <if test="p.customerId != null">
+                and customerId = #{p.customerId}
             </if>
             and deleteState != 1
         </where>