瀏覽代碼

更新

master
huangjiajun 1 月之前
父節點
當前提交
6c7dfa38fe
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/super/implement/generate_wx_ad_data_implement.go

+ 1
- 1
src/super/implement/generate_wx_ad_data_implement.go 查看文件

@@ -96,7 +96,7 @@ func (g GenerateWxAdDataDb) FindGenerateWxAdDataListMedium(uuid, appId, mediumId
return
}
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 != "" {
sess.And("uuid = ?", uuid)
}


Loading…
取消
儲存