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
a6e51ac9
Commit
a6e51ac9
authored
Oct 28, 2019
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码位置
parent
f4e9872b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
45 deletions
+0
-45
AuditorApiService.java
...src/main/java/com/gic/auth/service/AuditorApiService.java
+0
-12
AuditorApiServiceImpl.java
...om/gic/auth/service/outer/impl/AuditorApiServiceImpl.java
+0
-33
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/service/AuditorApiService.java
View file @
a6e51ac9
...
...
@@ -95,16 +95,4 @@ public interface AuditorApiService {
*/
ServiceResponse
<
List
<
AuditorDTO
>>
listAuditorByProject
(
Integer
projectItemId
,
Integer
userId
,
Integer
enterpriseId
);
/**
* 审核员审核受审项目审批项
* @Title: genAuditProject
* @Description:
* @author zhiwj
* @param projectItemId 审批项id
* @param userId 管理员id
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @throws
*/
ServiceResponse
<
Void
>
genAuditProject
(
Integer
projectItemId
,
Integer
userId
,
Integer
enterpriseId
);
}
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/AuditorApiServiceImpl.java
View file @
a6e51ac9
...
...
@@ -12,7 +12,6 @@ import com.gic.auth.service.*;
import
com.gic.commons.util.EntityUtil
;
import
com.gic.commons.util.GlobalInfo
;
import
com.gic.commons.util.PageHelperUtils
;
import
com.gic.enterprise.constants.Constants
;
import
com.gic.enterprise.dto.ProjectItemDTO
;
import
com.gic.enterprise.error.ErrorCode
;
import
com.gic.enterprise.qo.ProjectItemQO
;
...
...
@@ -251,38 +250,6 @@ public class AuditorApiServiceImpl implements AuditorApiService {
}
}
@Override
public
ServiceResponse
<
Void
>
genAuditProject
(
Integer
projectItemId
,
Integer
userId
,
Integer
enterpriseId
)
{
ServiceResponse
<
List
<
AuditorDTO
>>
auditorServiceResponse
=
this
.
listAuditorByProject
(
projectItemId
,
userId
,
enterpriseId
);
if
(!
auditorServiceResponse
.
isSuccess
())
{
return
EnterpriseServiceResponse
.
failure
(
auditorServiceResponse
.
getCode
(),
auditorServiceResponse
.
getMessage
());
}
ServiceResponse
<
ProjectItemDTO
>
projectItemService
=
projectItemApiService
.
getById
(
projectItemId
);
if
(!
projectItemService
.
isSuccess
())
{
return
EnterpriseServiceResponse
.
failure
(
projectItemService
.
getCode
(),
projectItemService
.
getMessage
());
}
List
<
AuditorDTO
>
auditorList
=
auditorServiceResponse
.
getResult
();
for
(
AuditorDTO
auditorDTO
:
auditorList
)
{
// todo 发送微信模板消息
// sendWxMessage();
if
(
auditorDTO
.
getUserId
()
!=
null
)
{
TabSysUser
user
=
userService
.
getUserById
(
auditorDTO
.
getUserId
());
if
(
user
!=
null
)
{
// todo 如果审核员是管理员 插入后台待办事项
// saveToDoList();
}
}
}
ProjectItemDTO
projectItemDTO
=
projectItemService
.
getResult
();
if
(
Constants
.
NORMAL_STATUS
.
equals
(
projectItemDTO
.
getIsPlatform
()))
{
// todo 如果是平台审批项, 还要发送给实施
// sendWxMessage();
}
return
ServiceResponse
.
success
();
}
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