mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-12 01:57:27 +08:00
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);
|
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
|
@Repository
|
||||||
public interface UserChargeRepository extends JpaRepository<UserCharge, Long> {
|
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);
|
Optional<UserCharge> findByUserAndChargeId(UserData extId, int chargeId);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import java.util.Optional;
|
|||||||
public interface UserCourseRepository extends JpaRepository<UserCourse, Long> {
|
public interface UserCourseRepository extends JpaRepository<UserCourse, Long> {
|
||||||
Optional<UserCourse> findTopByUserAndCourseIdOrderByIdDesc(UserData user, int courseId);
|
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(UserData user);
|
||||||
|
|
||||||
Optional<UserDataEx> findByUser_Card_ExtId(long userId);
|
Optional<UserDataEx> findByUser_Card_ExtId(int extId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user