|
|
@@ -35,7 +35,7 @@ public class TauvInspectPhotoController extends BaseController { |
|
|
|
/** |
|
|
|
* 查询巡检正摄图列表 |
|
|
|
*/ |
|
|
|
// @RequiresPermissions("admin:photo:list") |
|
|
|
@RequiresPermissions("admin:photo:list") |
|
|
|
@GetMapping("/list") |
|
|
|
public Response list(TauvInspectPhotoDTO inspectPhotoDTO, BaseQuery query) { |
|
|
|
return tauvInspectPhotoService.selectPhotoPage(inspectPhotoDTO, query); |
|
|
@@ -44,7 +44,7 @@ public class TauvInspectPhotoController extends BaseController { |
|
|
|
/** |
|
|
|
* 获取巡检正摄图详细信息 |
|
|
|
*/ |
|
|
|
// @RequiresPermissions("admin:photo:query") |
|
|
|
@RequiresPermissions("admin:photo:query") |
|
|
|
@GetMapping(value = "/{id}") |
|
|
|
public Response getInfo(@PathVariable("id") Integer id) { |
|
|
|
return response.success(tauvInspectPhotoService.getInfo(id)); |
|
|
@@ -62,7 +62,7 @@ public class TauvInspectPhotoController extends BaseController { |
|
|
|
/** |
|
|
|
* 修改巡检正摄图 |
|
|
|
*/ |
|
|
|
// @RequiresPermissions("admin:photo:edit") |
|
|
|
@RequiresPermissions("admin:photo:edit") |
|
|
|
@PostMapping("/edit") |
|
|
|
public Response edit(@RequestBody TauvInspectPhoto tauvInspectPhoto) { |
|
|
|
return tauvInspectPhotoService.editPhoto(tauvInspectPhoto); |