Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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-enterprise
Commits
1d579543
Commit
1d579543
authored
Apr 21, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
93e8bf1e
1337fccf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
AuditLogServiceImpl.java
.../com/gic/enterprise/service/impl/AuditLogServiceImpl.java
+1
-1
AuditLogApiServiceImpl.java
...enterprise/service/outer/impl/AuditLogApiServiceImpl.java
+3
-5
No files found.
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/impl/AuditLogServiceImpl.java
View file @
1d579543
...
...
@@ -50,7 +50,7 @@ public class AuditLogServiceImpl implements AuditLogService {
auditLog
.
setStatus
(
GlobalInfo
.
DATA_STATUS_NORMAL
);
auditLog
.
setCreateTime
(
new
Date
());
tabAuditLogMapper
.
insertSelective
(
auditLog
);
return
auditLog
.
getAudit
or
Id
();
return
auditLog
.
getAudit
Log
Id
();
}
@Override
...
...
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/AuditLogApiServiceImpl.java
View file @
1d579543
...
...
@@ -161,7 +161,7 @@ public class AuditLogApiServiceImpl implements AuditLogApiService {
todoItemDTO
.
setItemContent
(
projectItem
.
getProjectItemDesc
());
// 事项code
todoItemDTO
.
setItemType
(
com
.
gic
.
enterprise
.
constant
.
Constants
.
TODO_ITEM_AUDIT
);
//
todo
事项url
// 事项url
todoItemDTO
.
setItemInfoUrl
(
com
.
gic
.
enterprise
.
constant
.
Constants
.
TODO_ITEM_AUDIT_URL
+
"?auditLogId="
+
auditLogId
);
todoItemApiService
.
saveTodoItem
(
todoItemDTO
);
}
...
...
@@ -183,6 +183,7 @@ public class AuditLogApiServiceImpl implements AuditLogApiService {
autoAudit
.
setAuditResult
(
DataSecurityAuditEnum
.
PASS
.
getCode
());
autoAudit
.
setAuditorPhone
(
auditLogDTO
.
getApplyUserPhone
());
autoAudit
.
setAuditorName
(
auditLogDTO
.
getAuditorName
());
autoAudit
.
setAuditLogId
(
auditLogId
);
autoAudit
.
setAuditReason
(
"自动审批"
);
this
.
audit
(
autoAudit
);
...
...
@@ -331,10 +332,7 @@ public class AuditLogApiServiceImpl implements AuditLogApiService {
TabEnterprise
enterprise
=
enterpriseService
.
getEnterpriseById
(
auditLogDTO
.
getEnterpriseId
());
UserDTO
userDTO
=
userApiService
.
getUserById
(
auditLogDTO
.
getApplyUserId
()).
getResult
();
LoginUserTypeEnum
userTypeEnum
=
LoginUserTypeEnum
.
getByCode
(
userDTO
.
getLoginType
());
String
position
=
""
;
if
(
userTypeEnum
!=
null
)
{
position
=
userTypeEnum
.
getMessage
();
}
String
position
=
userTypeEnum
!=
null
?
userTypeEnum
.
getMessage
()
:
""
;
String
[]
keyWord
=
{
enterprise
.
getEnterpriseName
(),
auditorDTO
.
getAuditorName
(),
position
,
auditLogDTO
.
getProjectItemName
()};
// todo 跳转地址
this
.
wxTemplateRouterApiService
.
sendForDownloadData
(
auditorDTO
.
getOpenid
(),
null
,
keyWord
);
...
...
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