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
55a30679
Commit
55a30679
authored
Sep 25, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加字段
parent
e3ae9420
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
StoreESFieldsEnum.java
...c/main/java/com/gic/store/constant/StoreESFieldsEnum.java
+1
-0
StoreEsDTO.java
...store-api/src/main/java/com/gic/store/dto/StoreEsDTO.java
+9
-0
StoreApiServiceImpl.java
...com/gic/store/service/outer/impl/StoreApiServiceImpl.java
+1
-0
No files found.
gic-store-api/src/main/java/com/gic/store/constant/StoreESFieldsEnum.java
View file @
55a30679
...
...
@@ -27,6 +27,7 @@ public enum StoreESFieldsEnum {
CUSTOM
(
"custom"
,
"自定义字段"
),
SELECT
(
"select"
,
"选项字段"
),
STORETAG
(
"storeTag"
,
"门店标签"
),
OWNTYPE
(
"ownType"
,
"门店是否共享"
),
C1
(
"c1"
,
"自定义字段1"
),
C2
(
"c2"
,
"自定义字段2"
),
C3
(
"c3"
,
"自定义字段3"
),
...
...
gic-store-api/src/main/java/com/gic/store/dto/StoreEsDTO.java
View file @
55a30679
...
...
@@ -27,6 +27,7 @@ public class StoreEsDTO implements Serializable {
private
Integer
erpStatus
;
private
List
<
String
>
areaIds
;
private
String
id
;
private
Integer
ownType
;
public
Integer
getStoreId
()
{
return
storeId
;
...
...
@@ -211,4 +212,12 @@ public class StoreEsDTO implements Serializable {
public
void
setStoreInfoId
(
Integer
storeInfoId
)
{
this
.
storeInfoId
=
storeInfoId
;
}
public
Integer
getOwnType
()
{
return
ownType
;
}
public
void
setOwnType
(
Integer
ownType
)
{
this
.
ownType
=
ownType
;
}
}
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreApiServiceImpl.java
View file @
55a30679
...
...
@@ -613,6 +613,7 @@ public class StoreApiServiceImpl implements StoreApiService {
esDTO
.
setStoreGroupName
(
dto
.
getStoreGroupName
());
esDTO
.
setStoreName
(
dto
.
getStoreName
());
esDTO
.
setStoreType
(
dto
.
getStoreType
());
esDTO
.
setOwnType
(
dto
.
getOwnType
());
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