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
e513c345
Commit
e513c345
authored
Mar 19, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://115.159.76.241/haoban3.0/haoban-manage3.0.git
into developer
parents
b2b8e5ec
cba93704
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+12
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
e513c345
...
...
@@ -10,6 +10,7 @@ import java.util.stream.Collectors;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
cn.hutool.core.collection.CollectionUtil
;
...
...
@@ -66,13 +67,22 @@ public class AuditApiServiceImpl implements AuditApiService{
com
.
github
.
pagehelper
.
Page
<
TabHaobanAudit
>
page
=
auditMapper
.
page
(
auditType
,
storeIds
,
staffIds
,
wxEnterpriseId
,
enterpriseId
,
auditStatus
);
return
PageUtil
.
changePageHelperToCurrentPage
(
page
,
AuditDTO
.
class
);
}
@Transactional
@Override
public
void
audit
(
String
auditId
)
{
TabHaobanAudit
tab
=
new
TabHaobanAudit
();
TabHaobanAudit
tab
=
auditMapper
.
selectByPrimaryKey
(
auditId
);
if
(
tab
==
null
){
return
;
}
tab
.
setAuditId
(
auditId
);
tab
.
setAuditStatus
(
1
);
tab
.
setUpdateTime
(
new
Date
());
auditMapper
.
updateByPrimaryKeySelective
(
tab
);
auditMapper
.
updateByPrimaryKeySelective
(
tab
);
String
storeId
=
tab
.
getCommitStoreId
();
String
oldValue
=
tab
.
getOldValue
();
String
newValue
=
tab
.
getNewValue
();
String
changeField
=
tab
.
getChangeField
();
this
.
editStoreInfo
(
storeId
,
changeField
,
oldValue
,
newValue
);
}
@Override
public
void
refuse
(
String
auditId
,
String
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