@@ -226,6 +226,7 @@ func (this *FindRecordStruct) FindJyConsumePackAllRecord() ([]map[string]interfa
"s_product": this.Name,
"s_month": this.QueryTime,
}
+ log.Println("query:", query, "---", this.Page, this.PageSize)
//当月
total := util.MQFW.Count(jyCC, query)
// query["s_month"] = this.QueryTime
@@ -181,7 +181,8 @@ func InitFindRecord(userId, resourceType, queryTime, platform string, pageSize,
if pageSize == 0 {
pageSize = 10
- if pageNum == 0 {
+ pageNum += 1
+ if pageNum <= 0 {
pageNum = 1
if platform == "" {