release: 根据token去查询用户积分记录

release-2024-04-25
huangyw 1 month ago
parent e849b699f8
commit fb440653d6

@ -337,6 +337,8 @@ public class UserPointLogService {
UserPointLogSearchDto userPointLogSearchDto, Integer page, UserPointLogSearchDto userPointLogSearchDto, Integer page,
Integer size) { Integer size) {
UserLoginDto userLoginDto = jwtUtil.getUser();
userPointLogSearchDto.setUserId(userLoginDto.getUserId());
BooleanBuilder booleanBuilder = new BooleanBuilder(); BooleanBuilder booleanBuilder = new BooleanBuilder();
QUserPointLog qUserPointLog = QUserPointLog.userPointLog; QUserPointLog qUserPointLog = QUserPointLog.userPointLog;
checkCondition(booleanBuilder, qUserPointLog, userPointLogSearchDto); checkCondition(booleanBuilder, qUserPointLog, userPointLogSearchDto);

Loading…
Cancel
Save