@@ -386,6 +386,9 @@ func (this *MobileSearchController) ComprehensiveList() {
br.ErrMsg = "获取数据失败,Err:" + err.Error()
return
}
+ if len(list) == 0 {
+ list = make([]*models.CygxResourceDataNewResp, 0)
+ }
resp.List = list
page := paging.GetPaging(currentIndex, pageSize, int(tmpTotalResult))
resp.Paging = page
@@ -999,6 +999,7 @@ func GetResourceDataEsList(list []*SearchComprehensiveItem, user *models.WxUserI
+ listIndustrialResourceIds, _ = HandleIndustryList(listIndustrialResourceIds, user, "Hz")
for _, v := range listIndustrialResourceIds {
mapItems[fmt.Sprint("industrialsource", v.IndustrialManagementId)].IndustrialResource = v