Browse Source

no message

FengChaoYu 9 months ago
parent
commit
6d21d3064d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mall-server-api/src/main/resources/mapper/MaterialMapper.xml

+ 1 - 1
mall-server-api/src/main/resources/mapper/MaterialMapper.xml

@@ -263,7 +263,7 @@
             AND b.part_type = #{partType}
         </if>
         <if test="goodsType=='P'.toString()">
-            a.qty > 0
+            AND a.qty > 0
         </if>
         GROUP BY a.goods_id
         LIMIT 100