|  |  | 
 |  |  | import java.util.Objects; | 
 |  |  | import java.util.UUID; | 
 |  |  |  | 
 |  |  | //import org.springframework.cache.CacheManager; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * 注解Tag 在API中显示: Tag 注解, 给整个接口起了个名字与描述" | 
 |  |  |  * 注解ApiResponses 和 注解ApiResponse 用来配置响应; | 
 |  |  | 
 |  |  |             ) | 
 |  |  |     }) | 
 |  |  |     @GetMapping(path = "allOrg") | 
 |  |  |     public BaseResponse<List<Org>> allOrg(){ | 
 |  |  |     public BaseResponse<List<Org.OrgVo>> allOrg(){ | 
 |  |  |         //List<Org> list = Arrays.asList(Org.Ym, Org.Pj) ; | 
 |  |  |         return BaseResponseUtils.buildSuccess(Org.OrgList); | 
 |  |  |     } | 
 |  |  | 
 |  |  |         if(userPo != null){ | 
 |  |  |             vo.dataSourceName = userPo.orgTag ; | 
 |  |  |             vo.logined = true ; | 
 |  |  |             vo.hasPower = true ;//默认有权限 | 
 |  |  |             vo.hasPower = true ;//默认有权限。2023-12-21 经商议,由前端鉴权 | 
 |  |  |         }else{ | 
 |  |  |             vo.logined = false ; | 
 |  |  |             vo.hasPower = true ;//默认有权限 | 
 |  |  |             vo.hasPower = true ;//默认有权限。2023-12-21 经商议,由前端鉴权 | 
 |  |  |         } | 
 |  |  |         return vo ; | 
 |  |  |     } |