瀏覽代碼

update

master
shenjiachi 1 天之前
父節點
當前提交
40cb1232a0
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/implement/platform_revenue_data_implement.go

+ 2
- 2
src/implement/platform_revenue_data_implement.go 查看文件

@@ -31,10 +31,10 @@ func (p PlatformRevenueDataDb) PlatformRevenueDataFindAndCount(page, limit int,
session = session.Where("kind = ?", kind)
}
if startAt != "" {
session = session.Where("start_at >= ?", startAt)
session = session.Where("create_at >= ?", startAt)
}
if endAt != "" {
session = session.Where("end_at <= ?", endAt)
session = session.Where("create_at <= ?", endAt)
}
total, err := session.Limit(limit, (page-1)*limit).FindAndCount(&m)
if err != nil {


Loading…
取消
儲存