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
f100f731
Commit
f100f731
authored
Mar 20, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1111
parent
b79a45f8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
AuditApiService.java
...va/com/gic/haoban/manage/api/service/AuditApiService.java
+1
-1
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+2
-1
StoreController.java
...com/gic/haoban/manage/web/controller/StoreController.java
+1
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/AuditApiService.java
View file @
f100f731
...
...
@@ -18,7 +18,7 @@ public interface AuditApiService {
void
refuse
(
String
auditId
,
String
auditReason
);
int
save
(
Integer
auditType
,
String
enterpriseId
,
String
commitStaffId
,
String
commitStoreId
,
String
changeField
,
String
oldValue
,
String
newValue
);
int
save
(
Integer
auditType
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
commitStaffId
,
String
commitStoreId
,
String
changeField
,
String
oldValue
,
String
newValue
);
void
editStoreInfo
(
String
storeId
,
String
changeField
,
String
oldValue
,
String
newValue
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
f100f731
...
...
@@ -99,7 +99,7 @@ public class AuditApiServiceImpl implements AuditApiService{
auditMapper
.
updateByPrimaryKeySelective
(
tab
);
}
@Override
public
int
save
(
Integer
auditType
,
String
enterpriseId
,
public
int
save
(
Integer
auditType
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
commitStaffId
,
String
commitStoreId
,
String
changeField
,
String
oldValue
,
String
newValue
)
{
TabHaobanStaff
staff
=
staffMapper
.
selectByPrimaryKey
(
commitStaffId
);
...
...
@@ -118,6 +118,7 @@ public class AuditApiServiceImpl implements AuditApiService{
tab
.
setCommitStoreId
(
commitStoreId
);
tab
.
setCommitTime
(
new
Date
());
tab
.
setCreateTime
(
new
Date
());
tab
.
setWxEnterpriseId
(
wxEnterpriseId
);
tab
.
setEnterpriseId
(
enterpriseId
);
tab
.
setNewValue
(
newValue
);
tab
.
setOldValue
(
oldValue
);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/StoreController.java
View file @
f100f731
...
...
@@ -252,7 +252,7 @@ public class StoreController extends WebBaseController{
if
(
auditFlag
==
1
){
//要审核
logger
.
info
(
"==================11111"
);
int
i
=
auditApiService
.
save
(
1
,
enterpriseId
,
staffId
,
storeId
,
changeField
,
oldValue
,
newValue
);
int
i
=
auditApiService
.
save
(
1
,
wxEnterpriseId
,
enterpriseId
,
staffId
,
storeId
,
changeField
,
oldValue
,
newValue
);
}
else
{
logger
.
info
(
"==================22222"
);
auditApiService
.
editStoreInfo
(
storeId
,
changeField
,
oldValue
,
newValue
);
...
...
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