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
db54a6d3
Commit
db54a6d3
authored
Mar 20, 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
1b996ca0
3dba5e4d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+1
-4
StoreController.java
...com/gic/haoban/manage/web/controller/StoreController.java
+2
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
db54a6d3
...
...
@@ -130,10 +130,7 @@ public class AuditApiServiceImpl implements AuditApiService{
storeService
.
saveOrUpdateStore
(
store
);
}
else
{
//门店图片修改
List
<
StorePhotoDTO
>
oldStorePhoto
=
JSONObject
.
parseArray
(
oldValue
,
StorePhotoDTO
.
class
);
List
<
StorePhotoDTO
>
newStorePhoto
=
JSONObject
.
parseArray
(
newValue
,
StorePhotoDTO
.
class
);
List
<
String
>
delPhotos
=
oldStorePhoto
.
stream
().
map
(
s
->
s
.
getImageFiledCode
()).
collect
(
Collectors
.
toList
());
storeService
.
editStoreImage
(
storeId
,
newStorePhoto
,
delPhotos
);
storeService
.
updateStorePhotos
(
storeId
,
newValue
);
}
}
void
getStoreDTO
(
StoreDTO
store
,
String
changeField
,
String
oldValue
,
String
newValue
){
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/StoreController.java
View file @
db54a6d3
...
...
@@ -227,7 +227,7 @@ public class StoreController extends WebBaseController{
return
resultResponse
(
HaoBanErrCode
.
ERR_8
);
}
//
获取首页销售
数据
//
修改门店
数据
@RequestMapping
(
"/change-store-detail"
)
public
HaobanResponse
saleDate
(
String
wxEnterpriseId
,
String
storeId
,
String
staffId
,
String
changeField
,
String
oldValue
,
String
newValue
)
{
if
(
StringUtils
.
isAnyBlank
(
wxEnterpriseId
,
storeId
,
changeField
,
oldValue
,
newValue
)){
...
...
@@ -260,7 +260,7 @@ public class StoreController extends WebBaseController{
StoreDTO
store
=
storeService
.
getStore
(
storeId
);
StoreDetailVO
vo
=
EntityUtil
.
changeEntity
(
StoreDetailVO
.
class
,
store
);
if
(
CollectionUtil
.
isNotEmpty
(
imgDTOList
)){
List
<
String
>
imgList
=
imgDTOList
.
stream
().
map
(
s
->
s
.
getImageUrl
()).
collect
(
Collectors
.
toList
());
List
<
String
>
imgList
=
imgDTOList
.
stream
().
map
(
s
->
s
.
get
Qcloud
ImageUrl
()).
collect
(
Collectors
.
toList
());
vo
.
setImgList
(
imgList
);
}
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"HH:mm:ss"
);
...
...
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