浏览代码

no message

xingzai 1 年之前
父节点
当前提交
c0171cbe85
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/cygx/user.go

+ 1 - 1
controllers/cygx/user.go

@@ -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