fix:平均分接口开发

dev
wangxy 12 months ago
parent 5159b6c264
commit 161750b1c0

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

Loading…
Cancel
Save