Commit b58894bb by 陶光胜

门店控件修复

parent 39c95ab6
...@@ -157,7 +157,9 @@ public class StoreWidgetController { ...@@ -157,7 +157,9 @@ public class StoreWidgetController {
StoreSearchDTO storeSearchDTO = new StoreSearchDTO(); StoreSearchDTO storeSearchDTO = new StoreSearchDTO();
storeSearchDTO.setEnterpriseId(enterpriseId); storeSearchDTO.setEnterpriseId(enterpriseId);
storeSearchDTO.setStoreGroupId(parentId); storeSearchDTO.setStoreGroupId(parentId);
storeSearchDTO.setStoreResource(Long.valueOf(storeAuth.getStoreWidgetId())); if(storeAuth.getStoreWidgetId() != null){
storeSearchDTO.setStoreResource(Long.valueOf(storeAuth.getStoreWidgetId()));
}
ServiceResponse<Page<StoreDTO>> response = this.storeApiService.listStore(storeSearchDTO, pageNum, pageSize); ServiceResponse<Page<StoreDTO>> response = this.storeApiService.listStore(storeSearchDTO, pageNum, pageSize);
Map<Integer, AttentionStoreDTO> result = this.storeAttentionApiService.getAllAttenttionStore(userId, enterpriseId).getResult(); Map<Integer, AttentionStoreDTO> result = this.storeAttentionApiService.getAllAttenttionStore(userId, enterpriseId).getResult();
if(CollectionUtils.isNotEmpty(response.getResult().getResult())){ if(CollectionUtils.isNotEmpty(response.getResult().getResult())){
......
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