|
|
|
@ -231,10 +231,6 @@ public class SysUserController extends BaseController
|
|
|
|
@DeleteMapping("/pcIds/{pcIds}")
|
|
|
|
@DeleteMapping("/pcIds/{pcIds}")
|
|
|
|
public AjaxResult removeBypcIds(@PathVariable Long[] pcIds)
|
|
|
|
public AjaxResult removeBypcIds(@PathVariable Long[] pcIds)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (ArrayUtils.contains(pcIds, getUserId()))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return error("当前用户不能删除");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return toAjax(userService.deleteUserByPcIds(pcIds));
|
|
|
|
return toAjax(userService.deleteUserByPcIds(pcIds));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|