wangshan 4 роки тому
батько
коміт
608903d41c

+ 1 - 1
src/jfw/modules/publicapply/src/bidcollection/entity/entity.go

@@ -140,7 +140,7 @@ func GetLabelByUser(userid string) (data []LabelByUser) {
 			labcount[strconv.FormatInt(v["id"].(int64), 10)] = qu.IntAll(v["count"])
 		}
 	}
-	if labArr := *db.Mysql.SelectBySql(fmt.Sprintf("select * from %s where  userid = ?  ORDER BY createdate DESC", db.DbConf.Bdlabel), userid); len(labArr) > 0 {
+	if labArr := *db.Mysql.SelectBySql(fmt.Sprintf("select * from %s where  userid = ?", db.DbConf.Bdlabel), userid); len(labArr) > 0 {
 		for _, v := range labArr {
 			l := new(LabelByUser)
 			lid := strconv.FormatInt(v["id"].(int64), 10)