FengChaoYu il y a 9 mois
Parent
commit
6d21d3064d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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