| | |
| | | return R.status(placeService.save(place)); |
| | | } |
| | | |
| | | @PostMapping("/add") |
| | | public R add(@RequestBody PlaceVO placeVO){ |
| | | return R.status(placeService.addVO(placeVO)); |
| | | } |
| | | |
| | | /** |
| | | * 场所表 修改 |
| | | */ |
| | |
| | | return R.status(placeService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | /** |
| | | * 历史场所挂接处理-临时 |
| | | * @param place |
| | | * @return |
| | | */ |
| | | @GetMapping("/historyPlaceHandle") |
| | | public R historyPlaceHandle(PlaceVO place) { |
| | | return R.data(placeService.historyPlaceHandle(place)); |
| | | } |
| | | |
| | | /** |
| | | * 历史场所标签挂接处理-场所标签-临时 |
| | | * @param place |
| | | * @return |
| | | */ |
| | | @GetMapping("/historyPlaceLabelHandle") |
| | | public R historyPlaceLabelHandle(PlaceVO place) { |
| | | return R.data(placeService.historyPlaceLabelHandle(place)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 场所表 自定义详情查询 |
| | | * @param place |
| | | * @return |
| | | */ |
| | | @GetMapping("/getDetail") |
| | | public R<PlaceVO> getDetail(PlaceEntity place) { |
| | | return R.data(placeService.getDetail(place)); |
| | | } |
| | | |
| | | } |