|
@@ -2,6 +2,7 @@ package com.persagy.account.controller;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
+import com.persagy.account.pojo.vo.account.*;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
@@ -19,11 +20,6 @@ import com.persagy.account.config.ApplicationProperties;
|
|
|
import com.persagy.account.manage.SaasAccountHandler;
|
|
|
import com.persagy.account.pojo.dto.SaasAccount;
|
|
|
import com.persagy.account.pojo.dto.SaasRole;
|
|
|
-import com.persagy.account.pojo.vo.account.SaasAccountCreateVO;
|
|
|
-import com.persagy.account.pojo.vo.account.SaasAccountGroupVO;
|
|
|
-import com.persagy.account.pojo.vo.account.SaasAccountPageVO;
|
|
|
-import com.persagy.account.pojo.vo.account.SaasAccountQueryByNameVO;
|
|
|
-import com.persagy.account.pojo.vo.account.SaasAccountQueryVO;
|
|
|
import com.persagy.account.service.ISaasAccountService;
|
|
|
import com.persagy.account.service.ISaasRoleService;
|
|
|
import com.persagy.common.constant.SaasCommonConstant;
|
|
@@ -324,4 +320,14 @@ public class SaasAccountController {
|
|
|
return result ? ResponseResultUtil.successResult("密码重置成功") : ResponseResultUtil.errorResult("密码重置失败");
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 根据id集合批量删除 ---物理删除
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "根据id集合批量删除")
|
|
|
+ @RequestMapping(value = "deleteSaasAccountListByIds")
|
|
|
+ public ResponseResult deleteSaasAccountListByIds(@RequestBody @Validated SaasAccountDeleteVO deleteModel) {
|
|
|
+ boolean result = this.saasAccountHandler.deleteSaasAccountListByIds(deleteModel);
|
|
|
+ return result ? ResponseResultUtil.successResult("删除成功") : ResponseResultUtil.errorResult("删除失败");
|
|
|
+ }
|
|
|
}
|