Browse Source

新增区代数据

abiao 3 years ago
parent
commit
9bf246c430
1 changed files with 1 additions and 1 deletions
  1. 1 1
      go/gopath/src/fohow.com/apps/models/order_model/order.go

+ 1 - 1
go/gopath/src/fohow.com/apps/models/order_model/order.go

@@ -764,7 +764,7 @@ func GetDistrictOrders(tcBl, page, perPage int64, tcArea string) (orders []*Orde
 	var excuteSql, areaSql string
 
 	if tcBl > 0 {
-		excuteSql = beginSql + fmt.Sprintf("floor(dis_amount*%d/100) as dis_amount from orders where dis_amount>0 and  ", tcBl)
+		excuteSql = beginSql + fmt.Sprintf(" floor(dis_amount*%d/100)  from orders where dis_amount>0 and  ", tcBl)
 	}
 	areaArr := helper.NewStr(tcArea).Explode(",")
 	beego.BeeLogger.Warn("areaArr=%v", areaArr)