Selaa lähdekoodia

feat:1、修改游戏帮派筛选条件

zhangxianyu 1 kuukausi sitten
vanhempi
commit
026bb150c1

+ 3 - 1
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/service/impl/RoleManageServiceImpl.java

@@ -1219,8 +1219,10 @@ public class RoleManageServiceImpl implements IRoleManageService {
                        count(1) as role_count,
                        sum(active) as active_count,
                        server_id,
-                       ANY_VALUE(cs) cs
+                       ANY_VALUE(cs) cs,
+                       ANY_VALUE(game_id) gameId
                 from (select a.country,
+                                      a.game_id,
                                       IFNULL(c.role_total_amount, 0) as role_total_amount,
                                       if(b.role_level <= 13, 1, 0)      as country_level,
                                       if(d.role_id is not null, 1, 0) as active,