Browse Source

更新

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

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

@@ -96,7 +96,7 @@ func (g GenerateWxAdDataDb) FindGenerateWxAdDataListMedium(uuid, appId, mediumId
return return
} }
func (g GenerateWxAdDataDb) FindGenerateWxAdDataListMediumAll(uuid, appId, mediumId, slotId, startDate, endDate string, page, limit int) (list []model.GenerateWxAdData, err error) { func (g GenerateWxAdDataDb) FindGenerateWxAdDataListMediumAll(uuid, appId, mediumId, slotId, startDate, endDate string, page, limit int) (list []model.GenerateWxAdData, err error) {
sess := g.Db.Where("is_generate_report=1").OrderBy("date desc,id desc").Limit(limit, (page-1)*limit)
sess := g.Db.Where("is_generate_report=1").OrderBy("date asc,id asc").Limit(limit, (page-1)*limit)
if uuid != "" { if uuid != "" {
sess.And("uuid = ?", uuid) sess.And("uuid = ?", uuid)
} }


Loading…
Cancel
Save