Parcourir la source

显示时间调整-5

abiao il y a 3 ans
Parent
commit
7e475ddd0d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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

@@ -853,7 +853,7 @@ func GetDistrictOrdersCount(tcBl int64, tcArea string) int64 {
 func GetDistrictOrderSum(tcBl int64, tcArea string) int64 {
 
 	var areaSql, excuteSql string
-	excuteSql = fmt.Sprintf(" select sum(floor(dis_amount*%d/100)) as dis_amount  from orders where dis_amount>0 and  ", tcBl)
+	excuteSql = fmt.Sprintf(" select sum(floor(dis_amount*%d/100)) as count  from orders where dis_amount>0 and  ", tcBl)
 
 	areaArr := helper.NewStr(tcArea).Explode(",")
 	//if len(areaArr) > 0 {