From b2d91087a227d7eb2091945ea0d235929a643928 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 24 十一月 2023 15:34:16 +0800
Subject: [PATCH] fix

---
 service/input_history_search.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/service/input_history_search.go b/service/input_history_search.go
index 2e65b8a..19bfa46 100644
--- a/service/input_history_search.go
+++ b/service/input_history_search.go
@@ -62,7 +62,7 @@
 func SearchHistoryReport(keyword string, operationType constvar.BaseOperationType, page, pageSize int) (recordIds []int, total uint64, err error) {
 	var ids []string
 	from := (page - 1) * pageSize
-	ids, total, err = blevex.ComplexSearch(HistoryReportIndexName, keyword, map[string]interface{}{"BaseOperationType": operationType}, from, pageSize)
+	ids, total, err = blevex.Search(HistoryReportIndexName, keyword, from, pageSize)
 	if err != nil {
 		return
 	}

--
Gitblit v1.8.0