@@ -3022,7 +3022,7 @@ func (this *UserController) CompanyList() {
//fmt.Println("es 搜索")
totalEs, esList, err := services.SearcCygxArticleHistoryData(utils.IndexNameArticleHistory, keyWord, startDate, endDate, companyIds, startSize, pageSize)
- if keyWord+startDate+endDate == "" {
+ if keyWord+startDate+endDate != "" {
total = int(totalEs)
}
var articleIds string