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
81613910
Commit
81613910
authored
May 28, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
26e29f3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
17 deletions
+12
-17
AuditController.java
...com/gic/haoban/manage/web/controller/AuditController.java
+1
-0
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+11
-17
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/AuditController.java
View file @
81613910
...
...
@@ -190,6 +190,7 @@ public class AuditController extends WebBaseController{
audit
.
setAuditStatus
(
1
);
}
}
else
if
(
auditStatus
==
2
){
audit
.
setAuditReason
(
auditReason
);
audit
.
setAuditStatus
(
2
);
}
else
if
(
auditStatus
==
3
){
audit
.
setAuditStatus
(
3
);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
81613910
...
...
@@ -522,23 +522,16 @@ public class ClerkController extends WebBaseController{
}
StoreDTO
store
=
storeService
.
getStore
(
clerk
.
getStoreId
());
AuditDTO
audit
=
new
AuditDTO
();
//店长提交 默认是审核通过
if
(
commitType
==
1
){
ClerkDTO
storeManager
=
clerkService
.
getClerkLeaderByStoreId
(
clerk
.
getStoreId
());
audit
.
setCommitName
(
storeManager
.
getClerkName
());
audit
.
setAuditStatus
(
1
);
//audit.setCommitStaffId(commitStaffId);
audit
.
setCommitStoreId
(
clerk
.
getStoreId
());
//audit.setAuditName(auditName);
audit
.
setAuditStatus
(
1
);
//audit.seta
}
else
{
audit
.
setCommitName
(
clerk
.
getClerkName
());
audit
.
setCommitStaffId
(
staffId
);
audit
.
setCommitStaffImg
(
staff
.
getHeadImg
());
audit
.
setCommitStoreId
(
clerk
.
getStoreId
());
audit
.
setCommitStoreName
(
store
.
getStoreName
());
audit
.
setAuditStatus
(
0
);
audit
.
setCommitName
(
clerk
.
getClerkName
());
audit
.
setCommitStaffId
(
staffId
);
audit
.
setCommitStaffImg
(
staff
.
getHeadImg
());
audit
.
setCommitStoreId
(
clerk
.
getStoreId
());
audit
.
setCommitStoreName
(
store
.
getStoreName
());
audit
.
setAuditStatus
(
0
);
StaffClerkRelationDTO
staffClerkRelation
=
staffClerkRelationApiService
.
getByCodeAndEnterpriseId
(
clerkCode
,
store
.
getEnterpriseId
());
if
(
staffClerkRelation
!=
null
){
return
resultResponse
(
HaoBanErrCode
.
ERR_111117
);
}
JSONObject
json
=
new
JSONObject
();
...
...
@@ -549,6 +542,7 @@ public class ClerkController extends WebBaseController{
json
.
put
(
"staffId"
,
staffId
);
json
.
put
(
"wxUserId"
,
wxUserId
);
json
.
put
(
"headPic"
,
staff
.
getHeadImg
());
json
.
put
(
"enterpriseId"
,
clerk
.
getEnterpriseId
());
audit
.
setOldValue
(
json
.
toJSONString
());
audit
.
setCommitTime
(
new
Date
());
...
...
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