From 089d8af480d55fa62feb80b4325c5399b2ab1881 Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Fri, 20 Jun 2025 15:10:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=A5=97=E9=A4=90=E5=90=8D?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dao/bundleExtend.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/dao/bundleExtend.go b/internal/dao/bundleExtend.go index 4537803..c7ba53b 100644 --- a/internal/dao/bundleExtend.go +++ b/internal/dao/bundleExtend.go @@ -111,6 +111,9 @@ func GetBundleBalanceList(req *bundle.GetBundleBalanceListReq) (data []model.Bun if req.Status != 0 { session = session.Where("bor.status = ?", req.Status) } + if req.BundleName != "" { + session = session.Where("bor.bundle_name like ?", "%"+req.BundleName+"%") + } if req.ExpiredTimeEnd != 0 { session = session.Where("bor.expiration_time <= ?", time.UnixMilli(req.ExpiredTimeEnd)) }