| | |
| | | GdSupplyDemandEntity detail = gdSupplyDemandService.detailSupplyDemand(gdSupplyDemand); |
| | | return R.data(GdSupplyDemandWrapper.build().entityVO(detail)); |
| | | } |
| | | // /** |
| | | // * 供需需求信息表 分页 |
| | | // */ |
| | | // @GetMapping("/list") |
| | | // @ApiOperationSupport(order = 2) |
| | | // @ApiOperation(value = "分页", notes = "传入gdSupplyDemand") |
| | | // public R<IPage<GdSupplyDemandVO>> list(GdSupplyDemandDTO gdSupplyDemand, Query query) { |
| | | // IPage<GdSupplyDemandEntity> pages = gdSupplyDemandService.selectGdSupplyDemandList(Condition.getPage(query), gdSupplyDemand); |
| | | // return R.data(GdSupplyDemandWrapper.build().pageVO(pages)); |
| | | // } |
| | | |
| | | /** |
| | | * 供需需求信息表 自定义分页 |
| | |
| | | IPage<GdSupplyDemandVO> pages = gdSupplyDemandService.selectGdSupplyDemandPage(Condition.getPage(query), gdSupplyDemand); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | // /** |
| | | // * 供需需求信息表 新增 |
| | | // */ |
| | | // @PostMapping("/save") |
| | | // @ApiOperationSupport(order = 4) |
| | | // @ApiOperation(value = "新增", notes = "传入gdSupplyDemand") |
| | | // public R save(@Valid @RequestBody GdSupplyDemandEntity gdSupplyDemand) { |
| | | // return R.status(gdSupplyDemandService.save(gdSupplyDemand)); |
| | | // } |
| | | |
| | | // /** |
| | | // * 供需需求信息表 修改 |
| | | // */ |
| | | // @PostMapping("/update") |
| | | // @ApiOperationSupport(order = 5) |
| | | // @ApiOperation(value = "修改", notes = "传入gdSupplyDemand") |
| | | // public R update(@Valid @RequestBody GdSupplyDemandEntity gdSupplyDemand) { |
| | | // return R.status(gdSupplyDemandService.updateById(gdSupplyDemand)); |
| | | // } |
| | | |
| | | /** |
| | | * 供需需求信息表 新增或修改 |