| | |
| | | PlaceExtEntity detail = placeExtService.getOne(Condition.getQueryWrapper(placeExt)); |
| | | return R.data(PlaceExtWrapper.build().entityVO(detail)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 场所详情表 自定义详情 |
| | | * @param placeExt |
| | | * @return |
| | | */ |
| | | @GetMapping("/getDetail") |
| | | @ApiOperation(value = "自定义详情", notes = "传入placeExt") |
| | | public R<PlaceExtVO> getDetail(PlaceExtVO placeExt) { |
| | | return R.data(placeExtService.getDetail(placeExt)); |
| | | } |
| | | |
| | | /** |
| | | * 场所详情表 分页 |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 场所详情表 自定义更新 |
| | | * @param placeExt |
| | | * @return |
| | | */ |
| | | @PostMapping("/updatePlaceExt") |
| | | @ApiOperation(value = "自定义更新", notes = "传入placeExt") |
| | | public R updatePlaceExt(@RequestBody PlaceExtVO placeExt) { |
| | | return R.status(placeExtService.updatePlaceExt(placeExt)); |
| | | } |
| | | |
| | | /** |
| | | * 场所详情表 审核 |
| | | * @param placeExt |
| | | * @return |
| | | */ |
| | | @PostMapping("/checkPlaceExt") |
| | | @ApiOperation(value = "审核", notes = "传入placeExt") |
| | | public R checkPlaceExt(@RequestBody PlaceExtEntity placeExt) { |
| | | return R.status(placeExtService.checkPlaceExt(placeExt)); |
| | | } |
| | | |
| | | /** |
| | | * 场所详情表 新增或修改 |
| | | */ |
| | | @PostMapping("/submit") |