abiao лет назад: 5
Родитель
Сommit
8a5967b4fb

+ 1 - 1
go/gopath/src/fohow.com/apps/models/summary_model/user_perfomance.go

@@ -110,7 +110,7 @@ func GetSumBalancePerfomance(wxUserId, beginTime, endTime int64) int64 {
 	ret := &Ret{}
 	o := orm.NewOrm()
 	tbn := "balance_orders"
-	sql := fmt.Sprintf("SELECT sum(`paied_price`) as count FROM `%s` WHERE  paied_at> %d and paied_at< %d and  state=? and wx_user_id=?;", tbn, beginTime, endTime)
+	sql := fmt.Sprintf("SELECT sum(`paied_price`) as count FROM `%s` WHERE  paied_at> %d and paied_at< %d and state=? and wx_user_id=?;", tbn, beginTime, endTime)
 	err := o.Raw(sql, state, wxUserId).QueryRow(ret)
 	if err != nil {
 		beego.BeeLogger.Error("GetSumBalancePerfomance err=[%s]", err)