Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
9c5131db
Commit
9c5131db
authored
Jun 08, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
2844f6f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+3
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
9c5131db
...
...
@@ -263,7 +263,6 @@ public class AuditApiServiceImpl implements AuditApiService{
int
auditType
=
tab2
.
getAuditType
();
String
oldValue
=
tab2
.
getOldValue
();
String
enterpriseId
=
tab2
.
getEnterpriseId
();
AuditStaffDTO
obj
=
JSONObject
.
parseObject
(
oldValue
,
AuditStaffDTO
.
class
);
//发送消息
if
(
auditType
==
AuditType
.
STORE_CHANGE
.
getCode
()){
String
changeField
=
tab2
.
getChangeField
();
...
...
@@ -274,10 +273,13 @@ public class AuditApiServiceImpl implements AuditApiService{
String
storeId
=
tab2
.
getCommitStoreId
();
this
.
sendMessageByStaffId
(
staffId
,
storeId
,
title
,
content
);
}
else
if
(
auditType
==
AuditType
.
CLERK_BIND
.
getCode
()){
AuditStaffDTO
obj
=
JSONObject
.
parseObject
(
oldValue
,
AuditStaffDTO
.
class
);
staffDepartmentRelatedApiService
.
sendStaffBind
(
obj
.
getStaffId
(),
obj
.
getClerkCode
(),
tab2
.
getCommitStoreId
(),
2
,
auditReason
);
}
else
if
(
auditType
==
AuditType
.
CLERK_ADD
.
getCode
())
{
AuditStaffDTO
obj
=
JSONObject
.
parseObject
(
oldValue
,
AuditStaffDTO
.
class
);
staffDepartmentRelatedApiService
.
sendClerkAdd
(
enterpriseId
,
obj
.
getClerkCode
(),
2
,
auditReason
);
}
else
if
(
auditType
==
AuditType
.
CLERK_DEL
.
getCode
())
{
AuditStaffDTO
obj
=
JSONObject
.
parseObject
(
oldValue
,
AuditStaffDTO
.
class
);
staffDepartmentRelatedApiService
.
sendClerkDel
(
obj
.
getClerkName
(),
obj
.
getClerkCode
(),
tab
.
getCommitStoreId
(),
2
,
auditReason
);
}
}
...
...
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