소스 검색

显示时间调整-5

abiao 3 년 전
부모
커밋
7e475ddd0d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {