|
|
|
|
@ -223,6 +223,21 @@ public class SysUserController extends BaseController
|
|
|
|
|
return toAjax(userService.deleteUserByIds(userIds));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据考核任务id删除用户
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('system:user:remove')")
|
|
|
|
|
@Log(title = "用户管理", businessType = BusinessType.DELETE)
|
|
|
|
|
@DeleteMapping("/pcIds/{pcIds}")
|
|
|
|
|
public AjaxResult removeBypcIds(@PathVariable Long[] pcIds)
|
|
|
|
|
{
|
|
|
|
|
if (ArrayUtils.contains(pcIds, getUserId()))
|
|
|
|
|
{
|
|
|
|
|
return error("当前用户不能删除");
|
|
|
|
|
}
|
|
|
|
|
return toAjax(userService.deleteUserByPcIds(pcIds));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 重置密码
|
|
|
|
|
*/
|
|
|
|
|
|