dcs преди 2 месеца
родител
ревизия
18b2fa6cc3
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      virgo.api/src/main/resources/mapper/ProductMapper.xml

+ 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>