FengChaoYu 7 ماه پیش
والد
کامیت
f288059718
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      mall-miniapp-service/src/main/resources/mapper/MaterialMapper.xml

+ 1 - 0
mall-miniapp-service/src/main/resources/mapper/MaterialMapper.xml

@@ -546,6 +546,7 @@
         SUM(IFNULL(old_qty,0)) as oldQty
         FROM  worker_stock t
         WHERE identity = #{identity}
+          AND goods_type = 'P'
         <if test="websitId != null and websitId != ''">
             AND t.websit_id = #{websitId}
         </if>