|
|
@@ -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 {
|