错误的角色类型
This commit is contained in:
		
							parent
							
								
									ff658d7571
								
							
						
					
					
						commit
						6043868db8
					
				| 
						 | 
				
			
			@ -21,6 +21,8 @@ import com.bonus.canteen.core.allocation.canteen.service.AllocAreaService;
 | 
			
		|||
import com.bonus.canteen.core.allocation.canteen.vo.AllocAreaFullNameVO;
 | 
			
		||||
import com.bonus.canteen.core.allocation.canteen.vo.AllocAreaTreeVO;
 | 
			
		||||
import com.bonus.canteen.core.allocation.canteen.vo.AllocAreaVO;
 | 
			
		||||
import com.bonus.canteen.core.auth.api.MgrAuthApi;
 | 
			
		||||
import com.bonus.canteen.core.auth.po.MgrUserAuthPO;
 | 
			
		||||
import com.bonus.canteen.core.common.constant.LeMqConstant;
 | 
			
		||||
import com.bonus.canteen.core.common.utils.AesEncryptUtil;
 | 
			
		||||
import com.bonus.canteen.core.common.utils.BaseTreeNode;
 | 
			
		||||
| 
						 | 
				
			
			@ -36,6 +38,7 @@ import com.bonus.common.houqin.utils.id.Id;
 | 
			
		|||
import org.slf4j.Logger;
 | 
			
		||||
import org.slf4j.LoggerFactory;
 | 
			
		||||
import org.springframework.beans.BeanUtils;
 | 
			
		||||
import org.springframework.beans.factory.annotation.Autowired;
 | 
			
		||||
import org.springframework.stereotype.Service;
 | 
			
		||||
import org.springframework.transaction.annotation.Transactional;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -52,6 +55,8 @@ public class AllocAreaServiceImpl extends ServiceImpl<AllocAreaMapper, AllocArea
 | 
			
		|||
   private static final Logger log = LoggerFactory.getLogger(AllocAreaServiceImpl.class);
 | 
			
		||||
   @Resource
 | 
			
		||||
   private AesEncryptUtil aesEncryptUtil;
 | 
			
		||||
   @Autowired
 | 
			
		||||
   private MgrAuthApi mgrAuthApi;
 | 
			
		||||
 | 
			
		||||
   public Page<AllocAreaVO> pageArea(AllocAreaParam param) {
 | 
			
		||||
      List<Long> areaIdList = new ArrayList();
 | 
			
		||||
| 
						 | 
				
			
			@ -195,6 +200,7 @@ public class AllocAreaServiceImpl extends ServiceImpl<AllocAreaMapper, AllocArea
 | 
			
		|||
 | 
			
		||||
   @Override
 | 
			
		||||
   public List<Tree<Long>> getSystemAuthAreaTree() {
 | 
			
		||||
      MgrUserAuthPO mgrUserAuthPO = this.mgrAuthApi.getUserAuthPO();
 | 
			
		||||
      List<AllocAreaTreeVO> areaList = ((AllocAreaMapper)this.baseMapper).listSystemArea(TenantContextHolder.getTenantId());
 | 
			
		||||
      List<AllocAreaTreeVO> filterAreaTreeList = ((AllocAreaMapper)this.baseMapper).listAllTreeArea();
 | 
			
		||||
      if (CollUtil.isNotEmpty(filterAreaTreeList)) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue