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
92deedcd
Commit
92deedcd
authored
Mar 20, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
b640e9fa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+5
-0
StoreController.java
...com/gic/haoban/manage/web/controller/StoreController.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
92deedcd
...
@@ -8,6 +8,8 @@ import java.util.List;
...
@@ -8,6 +8,8 @@ import java.util.List;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
...
@@ -39,6 +41,8 @@ import com.github.pagehelper.PageHelper;
...
@@ -39,6 +41,8 @@ import com.github.pagehelper.PageHelper;
*/
*/
@Service
@Service
public
class
AuditApiServiceImpl
implements
AuditApiService
{
public
class
AuditApiServiceImpl
implements
AuditApiService
{
private
static
Logger
logger
=
LoggerFactory
.
getLogger
(
AuditApiServiceImpl
.
class
);
@Autowired
@Autowired
private
TabHaobanAuditMapper
auditMapper
;
private
TabHaobanAuditMapper
auditMapper
;
@Autowired
@Autowired
...
@@ -162,6 +166,7 @@ public class AuditApiServiceImpl implements AuditApiService{
...
@@ -162,6 +166,7 @@ public class AuditApiServiceImpl implements AuditApiService{
StoreAddressDTO
obj
=
JSONObject
.
parseObject
(
newValue
,
StoreAddressDTO
.
class
);
StoreAddressDTO
obj
=
JSONObject
.
parseObject
(
newValue
,
StoreAddressDTO
.
class
);
String
areaId
=
obj
.
getAreaId
();
String
areaId
=
obj
.
getAreaId
();
String
storeAddress
=
obj
.
getStoreAddress
();
String
storeAddress
=
obj
.
getStoreAddress
();
logger
.
info
(
"==========================>areaId={},storeAddress={}"
,
areaId
,
storeAddress
);
String
arr
[]
=
storeAddress
.
split
(
" "
);
String
arr
[]
=
storeAddress
.
split
(
" "
);
store
.
setAreaId
(
areaId
);
store
.
setAreaId
(
areaId
);
store
.
setFullArea
(
arr
[
0
]);
store
.
setFullArea
(
arr
[
0
]);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/StoreController.java
View file @
92deedcd
...
@@ -229,7 +229,7 @@ public class StoreController extends WebBaseController{
...
@@ -229,7 +229,7 @@ public class StoreController extends WebBaseController{
}
}
//修改门店数据
//修改门店数据
@RequestMapping
(
"/change-store-detail"
)
@RequestMapping
(
"/change-store-detail"
)
public
HaobanResponse
saleDate
(
String
wxEnterpriseId
,
String
storeId
,
String
staffId
,
String
changeField
,
String
oldValue
,
String
newValue
)
{
public
HaobanResponse
changeStoreDetail
(
String
wxEnterpriseId
,
String
storeId
,
String
staffId
,
String
changeField
,
String
oldValue
,
String
newValue
)
{
if
(
StringUtils
.
isAnyBlank
(
wxEnterpriseId
,
storeId
,
changeField
,
oldValue
,
newValue
)){
if
(
StringUtils
.
isAnyBlank
(
wxEnterpriseId
,
storeId
,
changeField
,
oldValue
,
newValue
)){
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
}
...
...
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