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
7fedb354
Commit
7fedb354
authored
Nov 19, 2019
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加接口
parent
4708262d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
AuditorApiService.java
...src/main/java/com/gic/auth/service/AuditorApiService.java
+12
-0
AuditorApiServiceImpl.java
...om/gic/auth/service/outer/impl/AuditorApiServiceImpl.java
+6
-0
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/service/AuditorApiService.java
View file @
7fedb354
...
...
@@ -129,4 +129,16 @@ public interface AuditorApiService {
* @throws
*/
ServiceResponse
<
Void
>
delRelByProjectItemId
(
Integer
projectItemId
);
/**
* 通过userId查询审核员
* @Title: getAuditorByUserId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param userId
* @return com.gic.api.base.commons.ServiceResponse<com.gic.auth.dto.AuditorDTO>
* @throws
*/
ServiceResponse
<
AuditorDTO
>
getAuditorByUserId
(
Integer
enterpriseId
,
Integer
userId
);
}
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/AuditorApiServiceImpl.java
View file @
7fedb354
...
...
@@ -274,6 +274,12 @@ public class AuditorApiServiceImpl implements AuditorApiService {
return
EnterpriseServiceResponse
.
success
();
}
@Override
public
ServiceResponse
<
AuditorDTO
>
getAuditorByUserId
(
Integer
enterpriseId
,
Integer
userId
)
{
TabAuditor
auditor
=
auditorService
.
getAuditorByUserId
(
enterpriseId
,
userId
);
return
EnterpriseServiceResponse
.
success
(
EntityUtil
.
changeEntityByJSON
(
AuditorDTO
.
class
,
auditor
));
}
private
String
getTempQrCodeUrl
(
Integer
auditorId
)
{
logger
.
info
(
"生成临时带参二维码 auditorId:{}"
,
auditorId
);
ServiceResponse
<
String
>
serviceResponse
=
weixinBaseFunService
.
getTemporaryQRcodeURL
(
APPKEY
,
"auditor_"
+
auditorId
,
300
);
...
...
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