Commit dcc7f908 by zhiwj

Merge branch 'developer' of http://115.159.76.241/base_platform_enterprise/gic-store into developer

parents 9960b0ae 7f85c6a4
......@@ -244,13 +244,21 @@ public class StoreWidgetApiServiceImpl implements StoreWidgetApiService {
List<StoreDTO> result = page.getResult();
if(CollectionUtils.isNotEmpty(result)){
for(StoreDTO storeDTO : result){
storeColumnSet.getErpStatus().add(storeDTO.getErpStatus());
storeColumnSet.getRegion().add(storeDTO.getRegionId());
storeColumnSet.getStatus().add(storeDTO.getStatus());
if(storeDTO.getErpStatus() != null){
storeColumnSet.getErpStatus().add(storeDTO.getErpStatus());
}
if(storeDTO.getRegionId() != null){
storeColumnSet.getRegion().add(storeDTO.getRegionId());
}
if(storeDTO.getStatus() != null){
storeColumnSet.getStatus().add(storeDTO.getStatus());
}
if(CollectionUtils.isNotEmpty(storeDTO.getStoreGroupIdList())){
storeColumnSet.getStoreGroupId().addAll(storeDTO.getStoreGroupIdList());
}
storeColumnSet.getStoreType().add(storeDTO.getStoreType());
if(storeDTO.getStoreType() != null){
storeColumnSet.getStoreType().add(storeDTO.getStoreType());
}
}
}
if(pageNum == 1 && page.getPages() > 1){
......
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