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
3e2a6813
Commit
3e2a6813
authored
Nov 04, 2019
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加审核员接口
parent
345c76fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
AuditorApiService.java
...src/main/java/com/gic/auth/service/AuditorApiService.java
+13
-0
AuditorApiServiceImpl.java
...om/gic/auth/service/outer/impl/AuditorApiServiceImpl.java
+10
-0
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/service/AuditorApiService.java
View file @
3e2a6813
...
...
@@ -96,6 +96,19 @@ public interface AuditorApiService {
ServiceResponse
<
List
<
AuditorDTO
>>
listAuditorByProject
(
Integer
projectItemId
,
Integer
userId
,
Integer
enterpriseId
);
/**
* 查所有的审核员
* @Title: listAuditorByProject
* @Description:
* @author zhiwj
* @param projectItemCode
* @param userId
* @param enterpriseId
* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.auth.dto.AuditorDTO>>
* @throws
*/
ServiceResponse
<
List
<
AuditorDTO
>>
listAuditorByProject
(
String
projectItemCode
,
Integer
userId
,
Integer
enterpriseId
);
/**
* 通过openid查询审核员
* @Title: getAuditorByOpenid
* @Description:
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/AuditorApiServiceImpl.java
View file @
3e2a6813
...
...
@@ -249,6 +249,16 @@ public class AuditorApiServiceImpl implements AuditorApiService {
}
@Override
public
ServiceResponse
<
List
<
AuditorDTO
>>
listAuditorByProject
(
String
projectItemCode
,
Integer
userId
,
Integer
enterpriseId
)
{
ServiceResponse
<
ProjectItemDTO
>
projectItemResponse
=
this
.
projectItemApiService
.
getByProjectItemCode
(
projectItemCode
);
if
(!
projectItemResponse
.
isSuccess
())
{
return
EnterpriseServiceResponse
.
failure
(
ErrorCode
.
NOTEXISTS
);
}
ProjectItemDTO
itemDTO
=
projectItemResponse
.
getResult
();
return
this
.
listAuditorByProject
(
itemDTO
.
getProjectItemId
(),
userId
,
enterpriseId
);
}
@Override
public
ServiceResponse
<
AuditorDTO
>
getAuditorByOpenid
(
String
openid
)
{
TabAuditor
auditor
=
this
.
auditorService
.
getAuditorByOpenid
(
openid
);
if
(
auditor
!=
null
)
{
...
...
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