From 93b721abeed0b6f523e0cbf18e6660511d8098c0 Mon Sep 17 00:00:00 2001 From: dimengzhe Date: Thu, 7 Mar 2024 12:00:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/databases/统计报表更新.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/databases/统计报表更新.sql b/doc/databases/统计报表更新.sql index a7ccd4d875..e8f824793f 100644 --- a/doc/databases/统计报表更新.sql +++ b/doc/databases/统计报表更新.sql @@ -333,7 +333,8 @@ BEGIN WHERE bo.nodeState = '已办结' GROUP BY bo.useOrgSid, bm.modelSid, - bm.modelConfigSid + bm.modelConfigSid, + bo.contractNo ) a) b) c group by c.useOrgSid, c.modelSid, c.modelConfigSid ) AS s ON r.useOrgSid = s.useOrgSid