浏览代码

显示时间调整-6

abiao 3 年之前
父节点
当前提交
9d1c7dc3cb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      go/gopath/src/fohow.com/apps/models/order_model/order.go

+ 2 - 2
go/gopath/src/fohow.com/apps/models/order_model/order.go

@@ -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"`