Explorar el Código

显示时间调整-5

abiao hace 3 años
padre
commit
7e475ddd0d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {