|
|
@ -70,7 +70,7 @@ public class PsdcDeviceController extends BaseController { |
|
|
|
|
|
|
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('system:device:list')") |
|
|
|
@PreAuthorize("@ss.hasPermi('system:device:list')") |
|
|
|
@Log(title = "设备管理", businessType = BusinessType.DELETE) |
|
|
|
@Log(title = "设备管理", businessType = BusinessType.DELETE) |
|
|
|
@DeleteMapping |
|
|
|
@RequestMapping(value = "/del", method = RequestMethod.POST) |
|
|
|
public AjaxResult remove(@Validated @RequestBody Long[] deviceIds) { |
|
|
|
public AjaxResult remove(@Validated @RequestBody Long[] deviceIds) { |
|
|
|
return toAjax(psdcDeviceService.deleteById(deviceIds)); |
|
|
|
return toAjax(psdcDeviceService.deleteById(deviceIds)); |
|
|
|
} |
|
|
|
} |
|
|
|