From 33dab7754af1a3c960ef87153bb42690c35b206e Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 11 May 2021 16:52:14 +0800 Subject: [PATCH] aa --- business/jxstore/cms/store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 2f1989b39..69f6039dd 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -4297,8 +4297,8 @@ func QueryPageStores2(db *dao.DaoDB, pageSize, offset int, keyword string, vendo //} if keyword != "" { keywordLike := "%" + keyword + "%" - sql += " AND (t1.name LIKE ? OR t1.tel1 LIKE ? OR t1.tel2 LIKE ? OR t1.org_code LIKE ? OR t1.address LIKE ? OR t2.name LIKE ? OR t3.name LIKE ? OR t1.licence_code LIKE ?" - sqlParams = append(sqlParams, keywordLike, keywordLike, keywordLike, keywordLike, keywordLike, keywordLike, keywordLike, keywordLike) + sql += " AND (t1.name LIKE ? OR t1.tel1 LIKE ? OR t1.org_code LIKE ? OR t1.address LIKE ? OR t2.name LIKE ? " + sqlParams = append(sqlParams, keywordLike, keywordLike, keywordLike, keywordLike, keywordLike) sql += ")" } sql += `