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
5c8cf1a1
Commit
5c8cf1a1
authored
May 13, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文案优化
parent
ed405e6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
StoreImportApiServiceImpl.java
...c/store/service/outer/impl/StoreImportApiServiceImpl.java
+2
-2
StoreImportController.java
...a/com/gic/store/web/controller/StoreImportController.java
+1
-1
No files found.
gic-store-service/src/main/java/com/gic/store/service/outer/impl/StoreImportApiServiceImpl.java
View file @
5c8cf1a1
...
...
@@ -213,11 +213,11 @@ public class StoreImportApiServiceImpl implements StoreImportApiService {
public
ServiceResponse
<
List
<
List
<
String
>>>
listImportTitle
(
Integer
enterpriseId
,
Integer
regionId
)
{
List
<
List
<
String
>>
list
=
new
ArrayList
<>();
String
[]
rowName
=
{
"序号"
,
"门店名称"
,
"门店代码"
,
"门店类型"
,
"门店状态"
,
"门店电话"
,
"门店
所属分组"
,
"
店招品牌"
,
"省"
,
"市"
,
"区县"
,
"门店地址(不包括省市区)"
,
"经度"
,
"纬度"
};
String
[]
rowName
=
{
"序号"
,
"门店名称"
,
"门店代码"
,
"门店类型"
,
"门店状态"
,
"门店电话"
,
"门店
在GIC的所属分组"
,
"门店在GIC的所属
店招品牌"
,
"省"
,
"市"
,
"区县"
,
"门店地址(不包括省市区)"
,
"经度"
,
"纬度"
};
List
<
String
>
rowNameList
=
new
ArrayList
<>();
Collections
.
addAll
(
rowNameList
,
rowName
);
String
[]
description
=
{
""
,
"不能超过20个字"
,
"必填,不能超过20个字符,为erp系统中门店唯一识别码"
,
"门店类型描述"
,
"门店状态描述"
,
"门店电话描述"
,
"门店
所属分组描述"
,
"
店招品牌"
,
"省描述"
,
"市描述"
,
"区县描述"
,
"门店地址(不包括省市区)描述"
,
""
,
""
};
String
[]
description
=
{
""
,
"不能超过20个字"
,
"必填,不能超过20个字符,为erp系统中门店唯一识别码"
,
"门店类型描述"
,
"门店状态描述"
,
"门店电话描述"
,
"门店
在GIC的所属分组描述"
,
"门店在GIC的所属
店招品牌"
,
"省描述"
,
"市描述"
,
"区县描述"
,
"门店地址(不包括省市区)描述"
,
""
,
""
};
List
<
String
>
descriptionList
=
new
ArrayList
<>();
Collections
.
addAll
(
descriptionList
,
description
);
...
...
gic-store-web/src/main/java/com/gic/store/web/controller/StoreImportController.java
View file @
5c8cf1a1
...
...
@@ -81,7 +81,7 @@ public class StoreImportController {
ServiceResponse
<
List
<
List
<
String
>>>
titleServiceResponse
=
storeImportApiService
.
listImportTitle
(
enterpriseId
,
Integer
.
parseInt
(
regionIdStr
));
// 测试数据
List
<
String
>
list3
=
new
ArrayList
<>();
Collections
.
addAll
(
list3
,
"1"
,
"杭州测试总店"
,
"A001"
,
"自营"
,
"上线"
,
"12345678912"
,
"杭州门店"
,
"品牌1
、品牌2
"
,
"浙江省"
,
"杭州市"
,
"西湖区"
,
"华星时代广场"
,
"经度"
,
"纬度"
);
Collections
.
addAll
(
list3
,
"1"
,
"杭州测试总店"
,
"A001"
,
"自营"
,
"上线"
,
"12345678912"
,
"杭州门店"
,
"品牌1"
,
"浙江省"
,
"杭州市"
,
"西湖区"
,
"华星时代广场"
,
"经度"
,
"纬度"
);
Collections
.
addAll
(
list
,
list3
);
int
size
=
list3
.
size
();
for
(
int
i
=
0
;
i
<
titleServiceResponse
.
getResult
().
get
(
0
).
size
()
-
size
;
i
++)
{
...
...
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