Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
ac7d9e08df
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/super/implement/generate_wx_ad_data_implement.go

+ 2
- 2
src/super/implement/generate_wx_ad_data_implement.go View File

@@ -84,7 +84,7 @@ func (g GenerateWxAdDataDb) FindGenerateWxAdDataListMedium(uuid, appId, mediumId
sess.In("app_id", strings.Split(appId, ",")) sess.In("app_id", strings.Split(appId, ","))
} }
if adType != "" { if adType != "" {
sess.And("ad_slot = ?", adType)
sess.In("slot_id", strings.Split(adType, ","))
} }
if mediumId != "" { if mediumId != "" {
sess.In("medium_id", strings.Split(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, ",")) sess.In("app_id", strings.Split(appId, ","))
} }
if adType != "" { if adType != "" {
sess.And("ad_slot = ?", adType)
sess.In("slot_id", strings.Split(adType, ","))
} }
if mediumId != "" { if mediumId != "" {
sess.In("medium_id", strings.Split(mediumId, ",")) sess.In("medium_id", strings.Split(mediumId, ","))


Loading…
Cancel
Save