From ac7d9e08df0e8cf0b74cf77e48ab986c8184cc43 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 29 Oct 2024 17:38:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/super/implement/generate_wx_ad_data_implement.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/super/implement/generate_wx_ad_data_implement.go b/src/super/implement/generate_wx_ad_data_implement.go index fd4ad00..5b9d861 100644 --- a/src/super/implement/generate_wx_ad_data_implement.go +++ b/src/super/implement/generate_wx_ad_data_implement.go @@ -84,7 +84,7 @@ func (g GenerateWxAdDataDb) FindGenerateWxAdDataListMedium(uuid, appId, mediumId sess.In("app_id", strings.Split(appId, ",")) } if adType != "" { - sess.And("ad_slot = ?", adType) + sess.In("slot_id", strings.Split(adType, ",")) } if mediumId != "" { sess.In("medium_id", strings.Split(mediumId, ",")) @@ -113,7 +113,7 @@ func (g GenerateWxAdDataDb) FindGenerateWxAdDataListMediumAll(uuid, appId, mediu sess.In("app_id", strings.Split(appId, ",")) } if adType != "" { - sess.And("ad_slot = ?", adType) + sess.In("slot_id", strings.Split(adType, ",")) } if mediumId != "" { sess.In("medium_id", strings.Split(mediumId, ","))