From e37b4bfb7bb8509173e2807d475ac4e91d353dfb Mon Sep 17 00:00:00 2001 From: hayu <1604366271@qq.com> Date: Mon, 1 Sep 2025 20:53:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/material/lease/LeaseTaskMapper.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseTaskMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseTaskMapper.xml index abe41562..95011654 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseTaskMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseTaskMapper.xml @@ -1167,13 +1167,12 @@ SELECT #{typeId} as typeId, COALESCE(SUM(combined.pendingOutNum), 0) as pendingOutNum, - COALESCE(mt.storage_num, 0) as storageNum, CASE mt.manage_type WHEN 0 THEN IFNULL(subquery0.num, 0) ELSE IFNULL(mt.storage_num, 0) - END as storage_num + END as storageNum FROM ( SELECT lad.type_id as typeId,