fix getBranchShopList
This commit is contained in:
@@ -363,7 +363,7 @@ public class ShopServiceImpl implements ShopService {
|
||||
|
||||
@Override
|
||||
public PageInfo<BranchShopResponse> getBranchShopList(BranchShopRequest request, String userId) {
|
||||
if (request.getFlag().equals(CommonConstants.ZERO)) {
|
||||
if (request.getFlag().equals(CommonConstants.TWO)) {
|
||||
if (!sysRoleService.checkIsAdmin(userId)) {
|
||||
request.setAuthRegionIds(userAuthMappingService.getAuthRegionIdAndSubRegionIdByUserId(userId));
|
||||
if (CollectionUtils.isEmpty(request.getAuthRegionIds())) {
|
||||
|
||||
Reference in New Issue
Block a user