|
@@ -374,20 +374,20 @@ func SearcCygxArticleHistoryData(indexName, keyword, startDate, endDate, company
|
|
|
//机构阅读数量
|
|
|
sortMap := make([]interface{}, 0)
|
|
|
//如果是一家公司就不按照这个字段排序
|
|
|
- if len(seliceid) > 1 {
|
|
|
- sortMap = append(sortMap, map[string]interface{}{
|
|
|
- "CompanyArticleHistoryNum": map[string]interface{}{
|
|
|
- "order": "desc",
|
|
|
- },
|
|
|
- })
|
|
|
- }
|
|
|
-
|
|
|
- //用户阅读数量
|
|
|
- sortMap = append(sortMap, map[string]interface{}{
|
|
|
- "UserArticleHistoryNum": map[string]interface{}{
|
|
|
- "order": "desc",
|
|
|
- },
|
|
|
- })
|
|
|
+ //if len(seliceid) > 1 {
|
|
|
+ // sortMap = append(sortMap, map[string]interface{}{
|
|
|
+ // "CompanyArticleHistoryNum": map[string]interface{}{
|
|
|
+ // "order": "desc",
|
|
|
+ // },
|
|
|
+ // })
|
|
|
+ //}
|
|
|
+ //
|
|
|
+ ////用户阅读数量
|
|
|
+ //sortMap = append(sortMap, map[string]interface{}{
|
|
|
+ // "UserArticleHistoryNum": map[string]interface{}{
|
|
|
+ // "order": "desc",
|
|
|
+ // },
|
|
|
+ //})
|
|
|
//时间
|
|
|
sortMap = append(sortMap, map[string]interface{}{
|
|
|
"CreateTime": map[string]interface{}{
|