소스 검색

:feat:1、修改bug

zhangxianyu 3 달 전
부모
커밋
d9a7f8fbc9
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/service/impl/IActiveDataServiceImpl.java

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

@@ -92,7 +92,7 @@ public class IActiveDataServiceImpl implements IActiveDataService {
         //解析ActiveDataTotalVO的映射
         Map<String, Field> fieldTotalMap = new HashMap<>();
         List<Field> dayNTotalFieldList = new ArrayList<>();
-        Class<?> tempTotalClazz = ActiveDataMonthTotalVO.class;
+        Class<?> tempTotalClazz = ActiveDataTotalVO.class;
         while (tempTotalClazz != null) {
             Field[] fields = tempTotalClazz.getDeclaredFields();
             for (Field field : fields) {
@@ -390,8 +390,9 @@ public class IActiveDataServiceImpl implements IActiveDataService {
      */
     @Override
     public ActiveDataTotalVO getActiveDataTotal(ActiveDataTotalDTO dto) {
-        com.github.sd4324530.jtuple.Tuple2<List<Long>, List<Long>> poerInfo = dataPowerComponent.getPowerInfo();
-        List<Long> gameIds = dto.getGameId() == null ? poerInfo.second : dto.getGameId();
+//        com.github.sd4324530.jtuple.Tuple2<List<Long>, List<Long>> poerInfo = dataPowerComponent.getPowerInfo();
+//        List<Long> gameIds = dto.getGameId() == null ? poerInfo.second : dto.getGameId();
+        ArrayList<Long> gameIds = new ArrayList<>();
 
         //默认查询字段
         String gameColumn = "game_id";