Commit 449fcf2e by 陶光胜

观云台小程序

parent f12c2bfd
......@@ -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);
......
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment