Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
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
base_platform_enterprise
gic-store
Commits
93d4026c
Commit
93d4026c
authored
Dec 05, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店查询接口
parent
1949bb69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
StoreEsDTO.java
...store-api/src/main/java/com/gic/store/dto/StoreEsDTO.java
+18
-0
StoreApiServiceImpl.java
...com/gic/store/service/outer/impl/StoreApiServiceImpl.java
+2
-0
No files found.
gic-store-api/src/main/java/com/gic/store/dto/StoreEsDTO.java
View file @
93d4026c
...
...
@@ -28,6 +28,8 @@ public class StoreEsDTO implements Serializable {
private
List
<
String
>
areaIds
;
private
String
id
;
private
Integer
ownType
;
private
List
<
StorePhotoDTO
>
photoList
;
private
List
<
StoreBusinessTimeDTO
>
businessTimeList
;
public
Integer
getStoreId
()
{
return
storeId
;
...
...
@@ -220,4 +222,20 @@ public class StoreEsDTO implements Serializable {
public
void
setOwnType
(
Integer
ownType
)
{
this
.
ownType
=
ownType
;
}
public
List
<
StorePhotoDTO
>
getPhotoList
()
{
return
photoList
;
}
public
void
setPhotoList
(
List
<
StorePhotoDTO
>
photoList
)
{
this
.
photoList
=
photoList
;
}
public
List
<
StoreBusinessTimeDTO
>
getBusinessTimeList
()
{
return
businessTimeList
;
}
public
void
setBusinessTimeList
(
List
<
StoreBusinessTimeDTO
>
businessTimeList
)
{
this
.
businessTimeList
=
businessTimeList
;
}
}
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreApiServiceImpl.java
View file @
93d4026c
...
...
@@ -798,6 +798,8 @@ public class StoreApiServiceImpl implements StoreApiService {
esDTO
.
setStoreName
(
dto
.
getStoreName
());
esDTO
.
setStoreType
(
dto
.
getStoreType
());
esDTO
.
setOwnType
(
dto
.
getOwnType
());
esDTO
.
setBusinessTimeList
(
dto
.
getBusinessTimeList
());
esDTO
.
setPhotoList
(
dto
.
getPhotoList
());
JSONObject
jsonObject
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
esDTO
));
List
<
StoreExtendDTO
>
storeExtendDTOList
=
dto
.
getStoreExtendList
();
for
(
StoreExtendDTO
extendDTO
:
storeExtendDTOList
)
{
...
...
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