From 0a9bb04bb80c5533a258585c30cc10bad0e25b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E4=B8=89=E7=82=AE?= <15856818120@163.com> Date: Wed, 4 Feb 2026 14:53:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B0=E8=B4=A6=E6=9F=A5=E8=AF=A2=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mappers/business/backstage/InventoryCountMapper.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mappers/business/backstage/InventoryCountMapper.xml b/src/main/resources/mappers/business/backstage/InventoryCountMapper.xml index b717a63..1acd986 100644 --- a/src/main/resources/mappers/business/backstage/InventoryCountMapper.xml +++ b/src/main/resources/mappers/business/backstage/InventoryCountMapper.xml @@ -13,8 +13,9 @@ SUM(o.need_num) AS needNum, -- 需求数量 SUM(o.cg_num + o.lk_num) as totalCk, -- 总出库数量 (SELECT price FROM st_contract_type sct + JOIN st_plan_out_details o ON sct.model_id = o.model_id JOIN st_plan_out_sup spos ON spos.details_id = o.id - WHERE sct.model_id = o.model_id LIMIT 1) as price + LIMIT 1) as price FROM st_plan_out_details o JOIN