| | |
| | | |
| | | /** |
| | | * @author 江蹄蹄 |
| | | * @date 2024/01/15 15:07 |
| | | * @date 2024/01/16 10:03 |
| | | */ |
| | | @Api(tags = "加减保换厂申请明细信息表") |
| | | @RestController |
| | |
| | | applyChagneDetailService.updateById(applyChagneDetail); |
| | | return ApiResponse.success(null); |
| | | } |
| | | // |
| | | // @ApiOperation("分页查询") |
| | | // @PostMapping("/page") |
| | | // @RequiresPermissions("business:applychagnedetail:query") |
| | | // public ApiResponse<PageData<ApplyChagneDetail>> findPage (@RequestBody PageWrap<ApplyChagneDetail> pageWrap) { |
| | | // return ApiResponse.success(applyChagneDetailService.findPage(pageWrap)); |
| | | // } |
| | | |
| | | @ApiOperation("分页查询") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:applychagnedetail:query") |
| | | public ApiResponse<PageData<ApplyChagneDetail>> findPage (@RequestBody PageWrap<ApplyChagneDetail> pageWrap) { |
| | | return ApiResponse.success(applyChagneDetailService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导出Excel") |
| | | /* @ApiOperation("导出Excel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:applychagnedetail:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<ApplyChagneDetail> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(ApplyChagneDetail.class).export(applyChagneDetailService.findPage(pageWrap).getRecords(), "加减保换厂申请明细信息表", response); |
| | | } |
| | | }*/ |
| | | |
| | | @ApiOperation("根据ID查询") |
| | | @GetMapping("/{id}") |