|
|
@@ -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, ",")) |
|
|
|