Преглед изворни кода

:fix:修复角色充值排行榜bug

zhangxianyu пре 9 месеци
родитељ
комит
7498ca2979

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

@@ -57,7 +57,7 @@ public class OrderCostMonitorAlarmBySmsServiceImpl implements IOrderCostMonitorA
         int count = orderSql.getInt(0);
         //如果为0直接告警
         if (count == 0) {
-            String msg = "前小时订单表数据为空,请检查";
+            String msg = "前小时订单表数据为空,请检查";
             log.info(msg);
             if(!sendSms(msg)){
                 throw new RuntimeException("短信发送失败");

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

@@ -360,9 +360,9 @@ public class RoleManageServiceImpl implements IRoleManageService {
         if (dto.getGsId() != null) {
             //GS
             if (dto.getGsId() == 0L) {
-                criA.where().andIsNull("gs_id");
+                criA.where().andIsNull("gsId");
             } else {
-                criA.where().andEquals("gs_id", dto.getGsId());
+                criA.where().andEquals("gsId", dto.getGsId());
             }
         }
         if (dto.getPitcherId() != null) {
@@ -2370,7 +2370,7 @@ public class RoleManageServiceImpl implements IRoleManageService {
                         IF(TIMESTAMPDIFF(HOUR, f.pay_time, NOW()) < 72 , 0, 1) , 0) as is_remove_game_for_system, -- 是否退游 1-是;0-否(系统判定)
                         IFNULL(j.is_remove_game,2) as is_remove_game, -- 是否退游 1-是;0-否;2-代表未操作数据
                         IFNULL(j.is_wake_up,2) as is_wake_up, -- 是否唤醒 1-是;0-否 2-未操作
-                        j.gs_id as gs_id, -- GS_ID
+                        j.gs_id as gsId, -- GS_ID
                         j.customer_service_id as customer_service_id, -- 客服ID
                         j.oper_user_id as oper_user_id, -- 运营ID
                         j.is_delete as is_delete, -- 是否删除 1-删除;0-正常