|
@@ -766,7 +766,7 @@ func GetDistrictOrders(tcBl, page, perPage int64, tcArea string) (orders []*Orde
|
|
|
if tcBl > 0 {
|
|
if tcBl > 0 {
|
|
|
excuteSql = beginSql + fmt.Sprintf("CAST(dis_amount*%d/100 as decimal(38, 2)) as dis_amount from orders where dis_amount>0 and ", tcBl)
|
|
excuteSql = beginSql + fmt.Sprintf("CAST(dis_amount*%d/100 as decimal(38, 2)) as dis_amount from orders where dis_amount>0 and ", tcBl)
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ tcArea = "广州市,中山市"
|
|
|
areaArr := helper.NewStr(tcArea).Explode(",")
|
|
areaArr := helper.NewStr(tcArea).Explode(",")
|
|
|
|
|
|
|
|
for key, ar := range areaArr {
|
|
for key, ar := range areaArr {
|