Browse Source

更新

master
huangjiajun 5 months ago
parent
commit
452b58c0b4
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      app/admin/svc/svc_data_statisstics.go
  2. +1
    -1
      app/db/db_order_list.go

+ 1
- 0
app/admin/svc/svc_data_statisstics.go View File

@@ -111,6 +111,7 @@ func DataStatisticsExport(req md.DataStatisticsExportReq) {
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{ xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{
k + " 汇总: " + utils.IntToStr(total), k + " 汇总: " + utils.IntToStr(total),
}) })
xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{})
xlsx.SetRowHeight("Sheet1", j, 20) xlsx.SetRowHeight("Sheet1", j, 20)
j++ j++
} }


+ 1
- 1
app/db/db_order_list.go View File

@@ -134,7 +134,7 @@ func GetOrderListExport(eg *xorm.Engine, param map[string]string) (*[]model.Orde
} }
sess.In("enterprise_id", oids) sess.In("enterprise_id", oids)
} }
count, err := sess.OrderBy("id desc").FindAndCount(&order)
count, err := sess.OrderBy("id asc").FindAndCount(&order)
if err != nil { if err != nil {
return nil, count return nil, count
} }


Loading…
Cancel
Save