Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-data-cloud
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-data-cloud
Commits
449fcf2e
Commit
449fcf2e
authored
Jul 15, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
观云台小程序
parent
f12c2bfd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
StoreWidgetController.java
...a/com/gic/cloud/web/controller/StoreWidgetController.java
+4
-4
StoreSearchVo.java
...app/src/main/java/com/gic/cloud/web/vo/StoreSearchVo.java
+3
-3
No files found.
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/controller/StoreWidgetController.java
View file @
449fcf2e
...
...
@@ -230,7 +230,7 @@ public class StoreWidgetController {
List
<
StoreSearchVo
>
storeSearchVoList
=
new
ArrayList
<>();
for
(
StoreGroupDTO
storeGroupDTO
:
result
.
getResult
()){
StoreSearchVo
searchVo
=
new
StoreSearchVo
();
searchVo
.
setId
(
storeGroupDTO
.
getStoreGroupId
());
searchVo
.
setId
(
storeGroupDTO
.
getStoreGroupId
()
+
""
);
searchVo
.
setName
(
storeGroupDTO
.
getStoreGroupName
());
storeSearchVoList
.
add
(
searchVo
);
}
...
...
@@ -249,7 +249,7 @@ public class StoreWidgetController {
List
<
StoreSearchVo
>
storeSearchVoList
=
new
ArrayList
<>();
for
(
StoreDTO
storeDTO
:
result
.
getResult
()){
StoreSearchVo
searchVo
=
new
StoreSearchVo
();
searchVo
.
setId
(
storeDTO
.
getStoreInfoId
());
searchVo
.
setId
(
storeDTO
.
getStoreInfoId
()
+
""
);
searchVo
.
setName
(
storeDTO
.
getStoreName
());
storeSearchVoList
.
add
(
searchVo
);
}
...
...
@@ -262,7 +262,7 @@ public class StoreWidgetController {
if
(
CollectionUtils
.
isNotEmpty
(
result
)){
for
(
ShopDTO
dto
:
result
){
StoreSearchVo
storeSearchVo
=
new
StoreSearchVo
();
storeSearchVo
.
setId
(
dto
.
getId
().
intValue
());
storeSearchVo
.
setId
(
dto
.
getId
().
toString
());
storeSearchVo
.
setName
(
dto
.
getName
());
storeSearchVo
.
setDesc
(
StoreChannelEnum
.
GICMALL
.
getMessage
());
list
.
add
(
storeSearchVo
);
...
...
@@ -272,7 +272,7 @@ public class StoreWidgetController {
if
(
CollectionUtils
.
isNotEmpty
(
result1
)){
for
(
WmStoreDTO
wmStoreDTO
:
result1
){
StoreSearchVo
storeSearchVo
=
new
StoreSearchVo
();
storeSearchVo
.
setId
(
Integer
.
valueOf
(
wmStoreDTO
.
getWmStoreId
()
));
storeSearchVo
.
setId
(
wmStoreDTO
.
getWmStoreId
(
));
storeSearchVo
.
setName
(
wmStoreDTO
.
getWmMainAccount
());
storeSearchVo
.
setDesc
(
StoreChannelEnum
.
WMMALL
.
getMessage
());
list
.
add
(
storeSearchVo
);
...
...
gic-data-cloud-wxapp/src/main/java/com/gic/cloud/web/vo/StoreSearchVo.java
View file @
449fcf2e
package
com
.
gic
.
cloud
.
web
.
vo
;
public
class
StoreSearchVo
{
private
Integer
id
;
private
String
id
;
private
String
name
;
private
String
desc
;
public
Integer
getId
()
{
public
String
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
...
...
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