瀏覽代碼

no message

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>