| | |
| | | return Result.ok(award); |
| | | } |
| | | |
| | | @Override |
| | | public Result getOwnAwards(CannonWinRecordDto cannonWinRecordDto) { |
| | | Long memberId = LoginUserUtils.getAppLoginUser().getId(); |
| | | Page<CannonWinRecordVo> page = new Page<>(cannonWinRecordDto.getPageNum(), cannonWinRecordDto.getPageSize()); |
| | | CannonWinRecord cannonWinRecord = new CannonWinRecord(); |
| | | cannonWinRecord.setMemberId(memberId); |
| | | IPage<CannonWinRecordVo> list = cannonSettingDao.findCannonWinRecordInPage(page, cannonWinRecord); |
| | | return Result.ok(list); |
| | | } |
| | | |
| | | private CannonAwardVo getAward(Long memberId) { |
| | | CannonAwardVo cannonAwardVo = new CannonAwardVo(); |
| | | //获取所有的奖品列表 |