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
010a6d85
Commit
010a6d85
authored
Jun 03, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
35925280
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+3
-2
AuditController.java
...com/gic/haoban/manage/web/controller/AuditController.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
010a6d85
...
...
@@ -230,7 +230,7 @@ public class AuditApiServiceImpl implements AuditApiService{
if
(
org
.
apache
.
commons
.
lang
.
StringUtils
.
isNotBlank
(
batchId
)){
insertBatchLog
(
batchId
,
1
,
tab
);
}
staffDepartmentRelatedApiService
.
sendClerkAdd
(
obj
.
getEnterpriseId
(),
obj
.
getClerkCode
(),
1
,
""
);
staffDepartmentRelatedApiService
.
sendClerkAdd
(
tab
.
getEnterpriseId
(),
obj
.
getClerkCode
(),
1
,
""
);
}
}
else
if
(
auditType
==
AuditType
.
CLERK_DEL
.
getCode
()){
...
...
@@ -261,6 +261,7 @@ public class AuditApiServiceImpl implements AuditApiService{
TabHaobanAudit
tab2
=
auditMapper
.
selectByPrimaryKey
(
auditId
);
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
()){
...
...
@@ -274,7 +275,7 @@ public class AuditApiServiceImpl implements AuditApiService{
}
else
if
(
auditType
==
AuditType
.
CLERK_BIND
.
getCode
()){
staffDepartmentRelatedApiService
.
sendClerkBind
(
obj
.
getClerkId
(),
obj
.
getClerkCode
(),
2
,
auditReason
);
}
else
if
(
auditType
==
AuditType
.
CLERK_ADD
.
getCode
())
{
staffDepartmentRelatedApiService
.
sendClerkAdd
(
obj
.
getEnterpriseId
()
,
obj
.
getClerkCode
(),
2
,
auditReason
);
staffDepartmentRelatedApiService
.
sendClerkAdd
(
enterpriseId
,
obj
.
getClerkCode
(),
2
,
auditReason
);
}
else
if
(
auditType
==
AuditType
.
CLERK_DEL
.
getCode
())
{
staffDepartmentRelatedApiService
.
sendClerkDel
(
obj
.
getClerkId
(),
obj
.
getClerkCode
(),
2
,
auditReason
);
}
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/AuditController.java
View file @
010a6d85
...
...
@@ -195,7 +195,7 @@ public class AuditController extends WebBaseController{
String
oldValue
=
audit
.
getOldValue
();
JSONObject
json
=
JSON
.
parseObject
(
oldValue
);
String
clerkCode
=
json
.
get
(
"clerkCode"
)==
null
?
""
:
json
.
get
(
"clerkCode"
).
toString
();
String
enterpriseId
=
json
.
getString
(
"enterpriseId"
)==
null
?
""
:
json
.
get
(
"enterpriseId"
).
toString
();
String
enterpriseId
=
audit
.
getEnterpriseId
();
String
clerkId
=
json
.
getString
(
"clerkId"
)==
null
?
""
:
json
.
get
(
"clerkId"
).
toString
();
String
wxUserId
=
json
.
getString
(
"wxUserId"
)==
null
?
""
:
json
.
get
(
"wxUserId"
).
toString
();
Integer
sex
=
json
.
getInteger
(
"sex"
)==
null
?
0
:
json
.
getInteger
(
"sex"
);
...
...
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