|
@@ -865,7 +865,7 @@ public class CentermonitorTUavController extends BaseController {
|
|
|
* 获取无人机详细信息
|
|
|
*/
|
|
|
@GetMapping(value = "/{id}")
|
|
|
- public AjaxResult getInfo(@PathVariable("id") Long id) {
|
|
|
+ public AjaxResult getInfo(@PathVariable("id") String id) {
|
|
|
return AjaxResult.success(centermonitorTUavService.selectCentermonitorTUavById(id));
|
|
|
}
|
|
|
|
|
@@ -892,7 +892,7 @@ public class CentermonitorTUavController extends BaseController {
|
|
|
*/
|
|
|
@Log(title = "无人机", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
- public AjaxResult remove(@PathVariable Long[] ids) {
|
|
|
+ public AjaxResult remove(@PathVariable String[] ids) {
|
|
|
return toAjax(centermonitorTUavService.deleteCentermonitorTUavByIds(ids));
|
|
|
}
|
|
|
|