From 8fa4f96d74d62d0d20e14efe4206599fdad812ab Mon Sep 17 00:00:00 2001 From: ligaode Date: Wed, 8 Jan 2025 17:34:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biz/scmvehrebatewith/ScmVehRebateWithMapper.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebatewith/ScmVehRebateWithMapper.xml b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebatewith/ScmVehRebateWithMapper.xml index 3d9de782d1..109e496af8 100644 --- a/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebatewith/ScmVehRebateWithMapper.xml +++ b/anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehrebatewith/ScmVehRebateWithMapper.xml @@ -21,16 +21,16 @@ SELECT svr.rebateTypeKey, svr.rebateTypeValue, SUM(svr.estimateRebate) withRebate, - SUM(svr.expectTreatCost) as expectTreatCost, - SUM(svr.expectSuppCost) as expectSuppCost, - COUNT(*) num, + SUM(svr.expectTreatCost) as expectTreatCost, + SUM(svr.expectSuppCost) as expectSuppCost, + COUNT(*) num, GROUP_CONCAT(svrw.vehRebateSid) vehRebateSid, svr.purchaseSystemName, svr.brandName FROM scm_veh_rebate_with svrw - LEFT JOIN scm_veh_rebate svr - ON svr.sid = svrw.vehRebateSid + LEFT JOIN scm_veh_rebate svr + ON svr.sid = svrw.vehRebateSid WHERE svrw.mainSid = #{sid} - GROUP BY svr.calculationModeKey + GROUP BY svr.brandSid, svr.rebateTypeValue, svr.purchaseSystemSid \ No newline at end of file