fix:平均分接口开发

dev
wangxy 12 months ago
parent ec33c1bd7b
commit 63305048e1

@ -74,6 +74,7 @@ public class ScoreInfoManager {
RewScoreInfoVO rewScoreInfoVO = new RewScoreInfoVO(); RewScoreInfoVO rewScoreInfoVO = new RewScoreInfoVO();
LambdaQueryWrapper<RewScoreInfo> queryWrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<RewScoreInfo> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(RewScoreInfo::getApplyId,applyId); queryWrapper.eq(RewScoreInfo::getApplyId,applyId);
queryWrapper.orderByAsc(RewScoreInfo::getScore);
if (!SysUser.isAdmin(SecurityUtils.getUserId())){ if (!SysUser.isAdmin(SecurityUtils.getUserId())){
queryWrapper.eq(RewScoreInfo::getCreateId, SecurityUtils.getUserId()); queryWrapper.eq(RewScoreInfo::getCreateId, SecurityUtils.getUserId());
}else { }else {

Loading…
Cancel
Save