forked from Cookies_Github_mirror/AquaDX
[ongeki]
Save UserMissionPoint, UserTrainingRoom, UserGeneralData Add GamePoint, GamePresent, GameReward to database Add custom maintenance time to database Save the battle point and rating info send by the game to database [api] Read user_general_data table
This commit is contained in:
@@ -39,10 +39,14 @@ public class BasicMapper {
|
||||
|
||||
}
|
||||
|
||||
public <T> T convert(Map<String, Object> map, Class<T> toClass) {
|
||||
public <T> T convert(Object map, Class<T> toClass) {
|
||||
return mapper.convertValue(map, toClass);
|
||||
}
|
||||
|
||||
public <T> T convert(Object map, TypeReference<T> toValueTypeRef) {
|
||||
return mapper.convertValue(map, toValueTypeRef);
|
||||
}
|
||||
|
||||
public LinkedHashMap<String, Object> toMap(Object object) {
|
||||
return mapper.convertValue(object, new TypeReference<>() {
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user