From 098993b53d1ac885a46872ad159eee05b19d1935 Mon Sep 17 00:00:00 2001 From: liupopo Date: Thu, 9 Feb 2023 16:38:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E9=80=94=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=9F=E8=AE=A1=E4=B8=BA=E7=A9=BA=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../portal/biz/gdinstorage/GdInstorageCountMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/biz/gdinstorage/GdInstorageCountMapper.java b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/biz/gdinstorage/GdInstorageCountMapper.java index 6c1739e9..ae29b4d9 100644 --- a/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/biz/gdinstorage/GdInstorageCountMapper.java +++ b/yxt_supervise/supervise-portal/supervise-portal-biz/src/main/java/com/yxt/supervise/portal/biz/gdinstorage/GdInstorageCountMapper.java @@ -78,7 +78,7 @@ public interface GdInstorageCountMapper extends BaseMapper { " 1 as ee, " + " CONVERT(SUM(packageTotalPrice),DECIMAL(12,2)) billtotalprice, " + " ( " + - " SELECT CONVERT(SUM(colq16),DECIMAL(12,2)) FROM gd_instorage gic LEFT JOIN `product_information` PI ON pi.code=gic.colh7 " + + " SELECT CONVERT(IFNULL(SUM(colq16),0),DECIMAL(12,2)) FROM gd_instorage gic LEFT JOIN `product_information` PI ON pi.code=gic.colh7 " + " WHERE gic.supplierCodeUnified=pr.supplierOnlyCode " + " AND pi.categoryKey IN(SELECT categoryKey FROM `restricted_category`) " + " AND pi.brandsid IN(SELECT CODE FROM `restricted_brand`) " +