Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
store-system
Project
Project
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
luoyangfei
store-system
Commits
e7b31f0a
Commit
e7b31f0a
authored
Nov 23, 2018
by
wangyihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对直辖市去重
parent
28db76dd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
IndexController.java
...main/java/cn/com/fqy/controller/mapi/IndexController.java
+3
-0
WebShopController.java
...in/java/cn/com/fqy/controller/mapi/WebShopController.java
+3
-0
WebWorkerController.java
.../java/cn/com/fqy/controller/mapi/WebWorkerController.java
+5
-1
No files found.
2code/server/store-system/src/main/java/cn/com/fqy/controller/mapi/IndexController.java
View file @
e7b31f0a
...
...
@@ -324,6 +324,9 @@ public class IndexController {
}
Worker
worker
=
new
Worker
();
worker
.
setStoreId
(
storeId
);
worker
.
setIsShopping
(
1
);
worker
.
setIsAuditing
(
1
);
worker
.
setIsDeleted
(
0
);
List
<
Worker
>
workerList
=
workerService
.
getWorkerList
(
new
Query
(
worker
));
if
(
null
!=
workerList
&&
workerList
.
size
()>
0
)
{
resultInfo
.
setCode
(
"1"
);
...
...
2code/server/store-system/src/main/java/cn/com/fqy/controller/mapi/WebShopController.java
View file @
e7b31f0a
...
...
@@ -75,6 +75,9 @@ public class WebShopController {
}
Store
res
=
storeService
.
getStore
(
storeId
);
if
(
null
!=
res
)
{
if
(
res
.
getProvince
().
equals
(
res
.
getCityName
()))
{
res
.
setCityName
(
""
);
}
resultInfo
.
setCode
(
"1"
);
resultInfo
.
setData
(
res
);
}
else
{
...
...
2code/server/store-system/src/main/java/cn/com/fqy/controller/mapi/WebWorkerController.java
View file @
e7b31f0a
...
...
@@ -101,8 +101,12 @@ public class WebWorkerController {
map
.
put
(
"serialNumber"
,
res
.
getSerialNumber
());
map
.
put
(
"storeName"
,
res
.
getStoreName
());
map
.
put
(
"storeBrief"
,
store
.
getBrief
());
map
.
put
(
"storeCityName"
,
store
.
getCityName
());
map
.
put
(
"storeProvince"
,
store
.
getProvince
());
if
(
store
.
getProvince
().
equals
(
store
.
getCityName
()))
{
map
.
put
(
"storeCityName"
,
""
);
}
else
{
map
.
put
(
"storeCityName"
,
store
.
getCityName
());
}
map
.
put
(
"storeCounty"
,
store
.
getCounty
());
map
.
put
(
"storeHomePic"
,
store
.
getStoreHomePic
());
map
.
put
(
"storePosition"
,
store
.
getStorePosition
());
...
...
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