|
|
@@ -834,7 +834,7 @@ func GetDistrictOrdersCount(tcBl int64, tcArea string) int64 {
|
|
|
endDay := helper.GetLastDateOfMonth(d)
|
|
|
endTime := endDay.Unix()
|
|
|
|
|
|
- sql := excuteSql + fmt.Sprintf(" and paied_at > %d and paied_at < %d and status in ('processing','complete','dispatch') order by paied_at desc", beginTime, endTime)
|
|
|
+ sql := excuteSql + fmt.Sprintf(" and paied_at > %d and paied_at < %d and status in ('processing','complete','dispatch') ", beginTime, endTime)
|
|
|
|
|
|
type Ret struct {
|
|
|
Count int64 `json:"count"`
|
|
|
@@ -879,7 +879,7 @@ func GetDistrictOrderSum(tcBl int64, tcArea string) int64 {
|
|
|
endDay := helper.GetLastDateOfMonth(d)
|
|
|
endTime := endDay.Unix()
|
|
|
|
|
|
- sql := excuteSql + fmt.Sprintf(" and paied_at > %d and paied_at < %d and status in ('processing','complete','dispatch') order by paied_at desc", beginTime, endTime)
|
|
|
+ sql := excuteSql + fmt.Sprintf(" and paied_at > %d and paied_at < %d and status in ('processing','complete','dispatch') ", beginTime, endTime)
|
|
|
|
|
|
type Ret struct {
|
|
|
Count int64 `json:"count"`
|