Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-platform-auth
Commits
209e0e05
Commit
209e0e05
authored
Nov 01, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账号分组接口
parent
c6ee4a92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
3 deletions
+32
-3
UserListQO.java
...rm-auth-api/src/main/java/com/gic/auth/qo/UserListQO.java
+23
-0
AccountGroupApiService.java
...ain/java/com/gic/auth/service/AccountGroupApiService.java
+9
-3
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/qo/UserListQO.java
View file @
209e0e05
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
;
}
}
gic-platform-auth-api/src/main/java/com/gic/auth/service/AccountGroupApiService.java
View file @
209e0e05
...
...
@@ -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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment