From cfa7d0a90e7da9b52606ab8fca364fa5bddddcd4 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 28 八月 2025 20:14:15 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0' into 2.0

---
 cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupCompetitorMapper.xml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupCompetitorMapper.xml b/cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupCompetitorMapper.xml
index 7161067..8ce3c39 100644
--- a/cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupCompetitorMapper.xml
+++ b/cloud-server-communityWorldCup/src/main/resources/mapper/WorldCupCompetitorMapper.xml
@@ -111,9 +111,10 @@
         participantId,
         appUserId,
         count(*) as num,
-        winIntegral,
-        drawIntegral,
-        loseIntegral
+        sum(winIntegral) as winIntegral,
+        sum(drawIntegral) as drawIntegral,
+        sum(loseIntegral) as loseIntegral,
+        sum(participationIntegral) as participationIntegral
         from t_world_cup_competitor
         where matchResult is not null
         <if test="null != item.year">

--
Gitblit v1.7.1