Forráskód Böngészése

Merge branch 'dev4.5.2' of http://172.16.10.252:8080/qmx/jy into dev4.5.2

TANGSHIZHE 4 éve
szülő
commit
275438b318

+ 1 - 1
src/jfw/modules/common/src/qfw/util/jy/subvipPortrait.go

@@ -80,7 +80,7 @@ func (this *BigVipBaseMsg) GetPortraitRecord(mysql *mysql.Mysql, year, month, pa
 			return
 		}
 	}
-	res := mysql.Query(fmt.Sprintf("select ent_id from %s where user_id =? and year(create_time)=? and month(create_time)=? order by create_time limit ?,?",
+	res := mysql.Query(fmt.Sprintf("select ent_id from %s where user_id =? and year(create_time)=? and month(create_time)=? order by create_time desc limit ?,?",
 		PortraitRecordTable), this.Uid, year, month, pageNum*pageSize, pageSize)
 	if res == nil {
 		return