pom.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
shasteel-biz/pom.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
shasteel-biz/src/main/java/com/iailab/module/shasteel/controller/admin/demo/DemoController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
shasteel-biz/src/main/java/com/iailab/module/shasteel/controller/admin/demo/vo/DemoPageReqVO.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
pom.xml
@@ -11,7 +11,7 @@ 快速开发框架,默认基础system,data,model </description> <modules> <module>shasteel-api</module> <!-- <module>shasteel-api</module>--> <module>shasteel-biz</module> </modules> shasteel-biz/pom.xml
@@ -19,11 +19,11 @@ <dependencies> <!-- 依赖服务 --> <dependency> <groupId>com.iailab</groupId> <artifactId>shasteel-api</artifactId> <version>${revision}</version> </dependency> <!-- <dependency>--> <!-- <groupId>com.iailab</groupId>--> <!-- <artifactId>shasteel-api</artifactId>--> <!-- <version>${revision}</version>--> <!-- </dependency>--> <dependency> <groupId>com.iailab</groupId> <artifactId>iailab-module-infra-api</artifactId> shasteel-biz/src/main/java/com/iailab/module/shasteel/controller/admin/demo/DemoController.java
@@ -62,7 +62,7 @@ @Operation(summary = "获得演示") @Parameter(name = "id", description = "ID", required = true, example = "1024") @PreAuthorize("@ss.hasPermission('shasteel:demo:query')") public CommonResult<DemoRespVO> getTenant(@RequestParam("id") Long id) { public CommonResult<DemoRespVO> getDemo(@RequestParam("id") Long id) { DemoDO data = demoService.getInfo(id); return success(BeanUtils.toBean(data, DemoRespVO.class)); } @@ -70,16 +70,16 @@ @GetMapping("/page") @Operation(summary = "获得分页") @PreAuthorize("@ss.hasPermission('shasteel:demo:query')") public CommonResult<PageResult<DemoRespVO>> getTenantPage(@Valid DemoPageReqVO pageVO) { public CommonResult<PageResult<DemoRespVO>> getDemoPage(@Valid DemoPageReqVO pageVO) { PageResult<DemoDO> pageResult = demoService.getPage(pageVO); return success(BeanUtils.toBean(pageResult, DemoRespVO.class)); } @GetMapping("/export-excel") @Operation(summary = "导出租户 Excel") @PreAuthorize("@ss.hasPermission('system:tenant:export')") @Operation(summary = "导出 Excel") @PreAuthorize("@ss.hasPermission('system:demo:export')") @ApiAccessLog(operateType = EXPORT) public void exportTenantExcel(@Valid DemoPageReqVO exportReqVO, public void exportDemoExcel(@Valid DemoPageReqVO exportReqVO, HttpServletResponse response) throws IOException { exportReqVO.setPageSize(PageParam.PAGE_SIZE_NONE); List<DemoDO> list = demoService.getPage(exportReqVO).getList(); shasteel-biz/src/main/java/com/iailab/module/shasteel/controller/admin/demo/vo/DemoPageReqVO.java
@@ -11,7 +11,7 @@ * @Description * @createTime 2024年08月17日 */ @Schema(description = "管理后台 - 租户分页 Request VO") @Schema(description = "管理后台 - 演示分页 Request VO") @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true)