xingzai 9 ماه پیش
والد
کامیت
770c5f9324
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      services/es_comprehensive.go

+ 3 - 1
services/es_comprehensive.go

@@ -464,6 +464,7 @@ func GetResourceDataEsList(list []*SearchComprehensiveItem, user *models.WxUserI
 			yanxuanspecialauthorIds = append(yanxuanspecialauthorIds, v.SourceId)
 		}
 	}
+	fmt.Println("yanxuanspecialauthorIds", yanxuanspecialauthorIds)
 	//处理文章
 	if len(articleIds) > 0 {
 		pars = make([]interface{}, 0)
@@ -616,7 +617,8 @@ func GetResourceDataEsList(list []*SearchComprehensiveItem, user *models.WxUserI
 	for _, vList := range list {
 		for _, v := range mapItems {
 			//如果这些类型都为空,那么就不合并
-			if v.Article == nil && v.Roadshow == nil && v.Activity == nil && v.Activityvideo == nil && v.Activityvoice == nil && v.Activityspecial == nil && v.Researchsummary == nil && v.Minutessummary == nil && v.Meetingreviewchapt == nil && v.ProductInterior == nil && v.IndustrialResource == nil && v.YanxuanSpecial == nil && v.AskserieVideo == nil {
+			//如果这些类型都为空,那么就不合并
+			if v.Article == nil && v.Activity == nil && v.YanxuanSpecial == nil && v.YanxuanSpecialAuthor == nil {
 				continue
 			}