forked from Cookies_Github_mirror/AquaDX
Fix some type not up to date
This commit is contained in:
@@ -17,5 +17,5 @@ public interface UserCharacterRepository extends JpaRepository<UserCharacter, Lo
|
||||
|
||||
Optional<UserCharacter> findTopByUserAndCharacterIdOrderByIdDesc(UserData user, int characterId);
|
||||
|
||||
Page<UserCharacter> findByUser_Card_ExtId(long parseLong, Pageable pageable);
|
||||
Page<UserCharacter> findByUser_Card_ExtId(int extId, Pageable pageable);
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ import java.util.Optional;
|
||||
*/
|
||||
@Repository
|
||||
public interface UserChargeRepository extends JpaRepository<UserCharge, Long> {
|
||||
List<UserCharge> findByUser_Card_ExtId(long userId);
|
||||
List<UserCharge> findByUser_Card_ExtId(int extId);
|
||||
|
||||
Optional<UserCharge> findByUserAndChargeId(UserData extId, int chargeId);
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ import java.util.Optional;
|
||||
public interface UserCourseRepository extends JpaRepository<UserCourse, Long> {
|
||||
Optional<UserCourse> findTopByUserAndCourseIdOrderByIdDesc(UserData user, int courseId);
|
||||
|
||||
Page<UserCourse> findByUser_Card_ExtId(long aimeId, Pageable page);
|
||||
Page<UserCourse> findByUser_Card_ExtId(int extId, Pageable page);
|
||||
|
||||
List<UserCourse> findByUser_Card_ExtId(long aimeId);
|
||||
List<UserCourse> findByUser_Card_ExtId(int extId);
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ public interface UserDataExRepository extends JpaRepository<UserDataEx, Long> {
|
||||
|
||||
Optional<UserDataEx> findByUser(UserData user);
|
||||
|
||||
Optional<UserDataEx> findByUser_Card_ExtId(long userId);
|
||||
Optional<UserDataEx> findByUser_Card_ExtId(int extId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user