[chuni] Game version overwrite for old version

This commit is contained in:
samnyan
2020-02-19 19:30:28 +08:00
parent 58e3de5ab9
commit a275dcf991
6 changed files with 77 additions and 15 deletions

View File

@@ -45,4 +45,8 @@ public class UserCourseService {
Pageable page = PageRequest.of(pageNum, maxCount);
return userCourseRepository.findByUser_Card_ExtId(Integer.parseInt(userId), page);
}
public List<UserCourse> getAllByUser(String userId) {
return userCourseRepository.findByUser_Card_ExtId(Integer.parseInt(userId));
}
}