Browse Source

采购单位默认展示空,每个省份改为5次

wangkaiyue 3 years ago
parent
commit
fc169db070

+ 2 - 0
src/jfw/modules/bigmember/src/service/portrait/subvipPortraitAction.go

@@ -221,6 +221,8 @@ func (this *SubVipPortrait) PortraitRecord() {
 			for _, buyerName := range recordList {
 			for _, buyerName := range recordList {
 				if buyerDetail, ok := buyerDetailMap[buyerName]; ok && buyerDetail != nil {
 				if buyerDetail, ok := buyerDetailMap[buyerName]; ok && buyerDetail != nil {
 					infoList = append(infoList, buyerDetail)
 					infoList = append(infoList, buyerDetail)
+				} else {
+					infoList = append(infoList, map[string]interface{}{"name": buyerName})
 				}
 				}
 			}
 			}
 		}
 		}