| | |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:applychange:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<ApplyChange> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(ApplyChange.class).export(applyChangeService.findPage(pageWrap).getRecords(), "加减保换厂申请信息表", response); |
| | | ExcelExporter.build(ApplyChange.class).export(applyChangeService.findPageForCompany(pageWrap).getRecords(), "加减保换厂申请信息表", response); |
| | | } |
| | | @ApiOperation("导出加减保详情单") |
| | | @PostMapping("/exportJiajianBaoExcel") |
| | |
| | | @ApiOperation("根据ID查询") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:applychange:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | public ApiResponse<ApplyChange> findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(applyChangeService.findDetail(id)); |
| | | } |
| | | |