forked from Cookies_Github_mirror/AquaDX
[F] Fix hibernate enhance compilation
This commit is contained in:
@@ -30,7 +30,7 @@ public class GetClientBookkeepingHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long placeId = ((Number) request.get("placeId")).longValue();
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
||||
@@ -30,7 +30,7 @@ public class GetClientTestmodeHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long placeId = ((Number) request.get("placeId")).longValue();
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
||||
@@ -35,7 +35,7 @@ public class GetGameEventHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
Integer type = (Integer) request.get("type");
|
||||
|
||||
List<GameEvent> eventIdList = gameEventRepository.findAll();
|
||||
|
||||
@@ -33,7 +33,7 @@ public class GetGameIdlistHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
Integer type = (Integer) request.get("type");
|
||||
|
||||
Optional<PropertyEntry> propertyEntryOptional;
|
||||
|
||||
@@ -29,7 +29,7 @@ public class GetGameMessageHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
Integer type = (Integer) request.get("type");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
||||
@@ -29,7 +29,7 @@ public class GetGameMusicReleaseStateHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
// TODO: Find out what this does
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetGamePointHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
// This value is always false
|
||||
Boolean isAllGP = (Boolean) request.get("isAllGP");
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetGamePresentHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
Boolean isAllPresent = (Boolean) request.get("isAllPresent");
|
||||
|
||||
List<GamePresent> presentList = gamePresentRepository.findAll();
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetGameRankingHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
// 1 is current, 2 is old
|
||||
// See ADT_Ranking.cs
|
||||
Integer type = (Integer) request.get("type");
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetGameRewardHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
Boolean isAllGP = (Boolean) request.get("isAllReward");
|
||||
|
||||
List<GameReward> rewardList = gameRewardRepository.findAll();
|
||||
|
||||
@@ -38,7 +38,7 @@ public class GetGameSettingHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
PropertyEntry start = propertyEntryRepository.findByPropertyKey("reboot_start_time")
|
||||
.orElseGet(() -> new PropertyEntry("reboot_start_time", "2020-01-01 23:59:00.0"));
|
||||
|
||||
@@ -29,7 +29,7 @@ public class GetGameTechMusicHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
List<Object> techMusicList = new ArrayList<>();
|
||||
|
||||
// This endpoint seems related to "techchallengeevent" in game data, TBD
|
||||
|
||||
@@ -35,7 +35,7 @@ public class GetUserActivityHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
Integer kind = (Integer) request.get("kind");
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserBossHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserBoss> userBossList = userBossRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -30,7 +30,7 @@ public class GetUserBpBaseHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
||||
@@ -35,7 +35,7 @@ public class GetUserCardHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
Integer maxCount = (Integer) request.get("maxCount");
|
||||
Integer nextIndex = (Integer) request.get("nextIndex");
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserChapterHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserChapter> chapterList = userChapterRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -35,7 +35,7 @@ public class GetUserCharacterHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
Integer maxCount = (Integer) request.get("maxCount");
|
||||
Integer nextIndex = (Integer) request.get("nextIndex");
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserDataHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Optional<UserData> userDataOptional = userDataRepository.findByCard_ExtId(userId);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserDeckByKeyHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserDeck> deckList = userDeckRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserEventMusicHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
List<UserEventMusic> eventMusicList = userEventMusicRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserEventPointHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserEventPoint> eventPointList = userEventPointRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -38,7 +38,7 @@ public class GetUserEventRankingHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
String time = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.0"));
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ public class GetUserItemHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
Long nextIndexVal = (Long) request.get("nextIndex");
|
||||
Integer maxCount = (Integer) request.get("maxCount");
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserKopHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
List<UserKop> kopList = userKopRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserLoginBonusHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserLoginBonus> loginBonusList = userLoginBonusRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserMemoryChapterHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserMemoryChapter> MemoryChapterList = userMemoryChapterRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserMissionPointHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserMissionPoint> missionPointList = userMissionPointRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -39,7 +39,7 @@ public class GetUserMusicHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
Integer maxCount = (Integer) request.get("maxCount");
|
||||
Integer currentIndex = (Integer) request.get("nextIndex");
|
||||
|
||||
@@ -35,7 +35,7 @@ public class GetUserMusicItemHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
Integer maxCount = (Integer) request.get("maxCount");
|
||||
Integer nextIndex = (Integer) request.get("nextIndex");
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserOptionHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Optional<UserOption> userOptionOptional = userOptionRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -42,7 +42,7 @@ public class GetUserPreviewHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Optional<UserData> userData = userDataRepository.findByCard_ExtId(userId);
|
||||
|
||||
@@ -29,7 +29,7 @@ public class GetUserRatinglogListHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
||||
@@ -42,7 +42,7 @@ public class GetUserRecentRatingHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Optional<UserGeneralData> recentOptional = userGeneralDataRepository.findByUser_Card_ExtIdAndPropertyKey(userId, "recent_rating_list");
|
||||
|
||||
@@ -30,7 +30,7 @@ public class GetUserRegionHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
||||
@@ -36,7 +36,7 @@ public class GetUserRivalDataHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
var userRivalId = ((Number) request.get("userId")).longValue();
|
||||
var userRivalList = ((Collection<HashMap<String,Object>>) request.get("userRivalList"))
|
||||
.stream()
|
||||
|
||||
@@ -30,7 +30,7 @@ public class GetUserRivalHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
var userRivalId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
||||
@@ -32,7 +32,7 @@ public class GetUserRivalMusicHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
var userId = ((Number) request.get("userId")).longValue();
|
||||
var rivalUserId = ((Number) request.get("rivalUserId")).longValue();
|
||||
var nextIndex = ((Number) request.get("nextIndex")).intValue();
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserScenarioHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserScenario> userScenarioList = userScenarioRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserStoryHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserStory> userStoryList = userStoryRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserTechCountHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserTechCount> userTechCountList = userTechCountRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserTechEventHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
List<UserTechEvent> techEventList = userTechEventRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ public class GetUserTechEventRankingHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
String time = LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.0"));
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserTradeItemHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
int startChapterId = ((Number) request.get("startChapterId")).intValue();
|
||||
int endChapterId = ((Number) request.get("endChapterId")).intValue();
|
||||
|
||||
@@ -34,7 +34,7 @@ public class GetUserTrainingRoomByKeyHandler implements BaseHandler {
|
||||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserTrainingRoom> trainingRoomList = userTrainingRoomRepository.findByUser_Card_ExtId(userId);
|
||||
|
||||
@@ -92,7 +92,7 @@ public class UpsertUserAllHandler implements BaseHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
UpsertUserAll upsertUserAll = mapper.convert(request.get("upsertUserAll"), UpsertUserAll.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user