mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-29 07:25:05 +08:00
首页数据权限过滤
This commit is contained in:
@@ -545,8 +545,13 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService {
|
||||
*/
|
||||
@Override
|
||||
public IndexGeneralSituationVO getGeneralSituation(IndexQueryDTO dto) {
|
||||
//
|
||||
return pileBasicInfoMapper.getGeneralSituation(dto);
|
||||
AuthorizedDeptVO authorizedMap = SecurityUtils.getAuthorizedMap();
|
||||
if (authorizedMap == null) {
|
||||
return new IndexGeneralSituationVO();
|
||||
}
|
||||
dto.setStationDeptIds(authorizedMap.getStationDeptIds());
|
||||
dto.setMerchantDeptIds(authorizedMap.getMerchantDeptIds());
|
||||
return pileBasicInfoMapper.getGeneralSituation(dto);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user