|
@ -40,6 +40,7 @@ import com.elink.esua.epdc.commons.tools.enums.YesOrNoEnum; |
|
|
import com.elink.esua.epdc.commons.tools.enums.pointsenum.PointsOperationEnum; |
|
|
import com.elink.esua.epdc.commons.tools.enums.pointsenum.PointsOperationEnum; |
|
|
import com.elink.esua.epdc.commons.tools.exception.RenException; |
|
|
import com.elink.esua.epdc.commons.tools.exception.RenException; |
|
|
import com.elink.esua.epdc.commons.tools.page.PageData; |
|
|
import com.elink.esua.epdc.commons.tools.page.PageData; |
|
|
|
|
|
import com.elink.esua.epdc.commons.tools.security.user.UserDetail; |
|
|
import com.elink.esua.epdc.commons.tools.utils.*; |
|
|
import com.elink.esua.epdc.commons.tools.utils.*; |
|
|
import com.elink.esua.epdc.config.StreamUtils; |
|
|
import com.elink.esua.epdc.config.StreamUtils; |
|
|
import com.elink.esua.epdc.constant.AuthenticatedConsant; |
|
|
import com.elink.esua.epdc.constant.AuthenticatedConsant; |
|
@ -1637,6 +1638,16 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
return new Result<EpdcAppUserGradeRankingResultDTO>().ok(rangking); |
|
|
return new Result<EpdcAppUserGradeRankingResultDTO>().ok(rangking); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public PageData<UserPointResultDTO> listPoint(Map<String, Object> params) { |
|
|
|
|
|
// 查询当前用户所具有的的数据权限
|
|
|
|
|
|
List<Long> deptIdList = SecurityUser.getUser().getDeptIdList(); |
|
|
|
|
|
params.put("deptIdList", deptIdList); |
|
|
|
|
|
IPage<UserPointResultDTO> iPage = this.getPage(params); |
|
|
|
|
|
List<UserPointResultDTO> userPointResultList = baseDao.selectListPoints(params); |
|
|
|
|
|
return new PageData<>(userPointResultList, iPage.getTotal()); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 获取【排好序】的 用户等级排行榜数据 |
|
|
* 获取【排好序】的 用户等级排行榜数据 |
|
|
* |
|
|
* |
|
|