Commit 209e0e05 by guojuxing

账号分组接口

parent c6ee4a92
package com.gic.auth.qo;
import com.gic.enterprise.qo.PageQO;
import java.util.List;
/**
* 管理员列表
* @ClassName: UserListQO

......@@ -22,6 +25,10 @@ public class UserListQO extends PageQO{
private Integer resourceId;
private Integer accountGroupId;
private List<Integer> userIdList;
public String getSearch() {
return search;
}
......@@ -53,4 +60,20 @@ public class UserListQO extends PageQO{
public void setResourceId(Integer resourceId) {
this.resourceId = resourceId;
}
public Integer getAccountGroupId() {
return accountGroupId;
}
public void setAccountGroupId(Integer accountGroupId) {
this.accountGroupId = accountGroupId;
}
public List<Integer> getUserIdList() {
return userIdList;
}
public void setUserIdList(List<Integer> userIdList) {
this.userIdList = userIdList;
}
}
......@@ -72,9 +72,11 @@ public interface AccountGroupApiService {
* @Description:

 * @author guojuxing
* @param accountGroupId

* @param search
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.UserListDTO>>


 */
ServiceResponse<List<AccountGroupMemberDTO>> listNotInAccountGroupByAccountGroupId(Integer accountGroupId);
ServiceResponse<List<AccountGroupMemberDTO>> listNotInAccountGroupByAccountGroupId(Integer accountGroupId,
String search);
/**
* 查询在对应账号分组内的所有组员
......@@ -82,9 +84,10 @@ public interface AccountGroupApiService {
* @Description:

 * @author guojuxing
* @param accountGroupId

* @param search
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.UserListDTO>>


 */
ServiceResponse<List<AccountGroupMemberDTO>> listInAccountGroupByAccountGroupId(Integer accountGroupId);
ServiceResponse<List<AccountGroupMemberDTO>> listInAccountGroupByAccountGroupId(Integer accountGroupId, String search);
/**
* 批量保存分组组员,必须有分组ID、管理员/协作人ID、类型
......@@ -103,6 +106,7 @@ public interface AccountGroupApiService {

 * @author guojuxing
* @param userIdList
* @param accountGroupId

* @param enterpriseId
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>


 */
ServiceResponse<Void> groupingOfUser(List<Integer> userIdList, List<Integer> accountGroupId, Integer enterpriseId);
......@@ -114,7 +118,9 @@ public interface AccountGroupApiService {

 * @author guojuxing
* @param collaboratorIdList
* @param accountGroupId

* @param enterpriseId
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>


 */
ServiceResponse<Void> groupingOfCollaborator(List<Integer> collaboratorIdList, List<Integer> accountGroupId, Integer enterpriseId);
ServiceResponse<Void> groupingOfCollaborator(List<Integer> collaboratorIdList, List<Integer> accountGroupId,
Integer enterpriseId);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment