|
|
@@ -1,6 +1,7 @@ |
|
|
|
package com.ningdatech.pmapi.datascope.provider.impl; |
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
|
import com.google.common.collect.Lists; |
|
|
|
import com.ningdatech.pmapi.common.constant.RegionConst; |
|
|
|
import com.ningdatech.pmapi.common.helper.RegionCacheHelper; |
|
|
|
import com.ningdatech.pmapi.common.helper.UserInfoHelper; |
|
|
@@ -40,6 +41,7 @@ public class RegionAdminDataScopeProviderImpl implements DataScopeProvider { |
|
|
|
RegionConst.RL_CITY); |
|
|
|
//如果不是市本级的话 就直接放入本区域的县就好了 |
|
|
|
if(CollUtil.isEmpty(regionCodes)){ |
|
|
|
regionCodes = Lists.newArrayList(); |
|
|
|
regionCodes.add(userFullInfo.getRegionCode()); |
|
|
|
} |
|
|
|
|
|
|
|