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">
             <if test="p.productLevelId != 0">
                 and productLevelId = #{p.productLevelId}
                 and productLevelId = #{p.productLevelId}
             </if>
             </if>
-            <if test="customerId != null">
-                and customerId = #{customerId}
+            <if test="p.customerId != null">
+                and customerId = #{p.customerId}
             </if>
             </if>
             and deleteState != 1
             and deleteState != 1
         </where>
         </where>