|  |  | 
 |  |  | import com.doumee.core.utils.Constants; | 
 |  |  | import com.doumee.dao.business.model.YwProject; | 
 |  |  | import com.doumee.dao.business.model.YwRoom; | 
 |  |  | import com.doumee.dao.business.vo.ProjectDataVO; | 
 |  |  | import com.doumee.service.business.YwProjectService; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | 
 |  |  |         return ApiResponse.success(ywProjectService.findPage(pageWrap)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiOperation("项目树") | 
 |  |  |     @PostMapping("/tree") | 
 |  |  |     @CloudRequiredPermission("business:ywproject:query") | 
 |  |  |     public ApiResponse<List<ProjectDataVO>> tree (@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { | 
 |  |  |         return ApiResponse.success(ywProjectService.projectTree()); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @ApiOperation("导出Excel") | 
 |  |  |     @PostMapping("/exportExcel") | 
 |  |  |     @CloudRequiredPermission("business:ywproject:exportExcel") |