| | |
| | | FwPoliceStationEntity detail = fwPoliceStationService.getById(id); |
| | | return R.data(FwPoliceStationWrapper.build().entityVO(detail)); |
| | | } |
| | | // /** |
| | | // * 派出所信息表 分页 |
| | | // */ |
| | | // @GetMapping("/list") |
| | | // @ApiOperationSupport(order = 2) |
| | | // @ApiOperation(value = "分页", notes = "传入fwPoliceStation") |
| | | // public R<IPage<FwPoliceStationVO>> list(@ApiIgnore @RequestParam Map<String, |
| | | // Object> fwPoliceStation, Query query) { |
| | | // IPage<FwPoliceStationEntity> pages = |
| | | // fwPoliceStationService.page(Condition.getPage(query), |
| | | // Condition.getQueryWrapper(fwPoliceStation, FwPoliceStationEntity.class)); |
| | | // return R.data(FwPoliceStationWrapper.build().pageVO(pages)); |
| | | // } |
| | | |
| | | /** |
| | | * 派出所信息表 列表 |
| | |
| | | param); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | // /** |
| | | // * 派出所信息表 新增 |
| | | // */ |
| | | // @PostMapping("/save") |
| | | // @ApiOperationSupport(order = 4) |
| | | // @ApiOperation(value = "新增", notes = "传入fwPoliceStation") |
| | | // public R save(@Valid @RequestBody FwPoliceStationEntity fwPoliceStation) { |
| | | // return R.status(fwPoliceStationService.save(fwPoliceStation)); |
| | | // } |
| | | // |
| | | // /** |
| | | // * 派出所信息表 修改 |
| | | // */ |
| | | // @PostMapping("/update") |
| | | // @ApiOperationSupport(order = 5) |
| | | // @ApiOperation(value = "修改", notes = "传入fwPoliceStation") |
| | | // public R update(@Valid @RequestBody FwPoliceStationEntity fwPoliceStation) { |
| | | // return R.status(fwPoliceStationService.updateById(fwPoliceStation)); |
| | | // } |
| | | |
| | | /** |
| | | * 派出所信息表 新增或修改 |