|
|
@@ -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) from orders where dis_amount>0 and ", tcBl)
|
|
|
+ excuteSql = beginSql + fmt.Sprintf(" floor(dis_amount*%d/100) as dis_amount from orders where dis_amount>0 and ", tcBl)
|
|
|
}
|
|
|
areaArr := helper.NewStr(tcArea).Explode(",")
|
|
|
beego.BeeLogger.Warn("areaArr=%v", areaArr)
|