[F] Fix hibernate enhance compilation

This commit is contained in:
Azalea
2024-11-20 22:29:45 -05:00
parent 10ebd61519
commit e32a2bbe81
161 changed files with 174 additions and 177 deletions

View File

@@ -42,7 +42,7 @@ public class GetUserPortraitHandler implements BaseHandler {
}
@Override
public String handle(Map<String, Object> request) throws JsonProcessingException {
public String handle(Map<String, ?> request) throws JsonProcessingException {
if (enable) {
var userId = ((Number) request.get("userId")).longValue();
var list = new ArrayList<UserPortrait>();

View File

@@ -34,7 +34,7 @@ public class GetUserRivalMusicHandler implements BaseHandler {
this.userMusicDetailRepository = userMusicDetailRepository;
}
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 rivalId = ((Number) request.get("rivalId")).intValue();

View File

@@ -54,7 +54,7 @@ public class UpsertUserPrintHandler 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();
Mai2UserDetail userData;