FengChaoYu пре 9 месеци
родитељ
комит
6d21d3064d
1 измењених фајлова са 1 додато и 1 уклоњено
  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