diff --git a/server/internal/api/exports.go b/server/internal/api/exports.go
index 7fc3811..aa790c7 100644
--- a/server/internal/api/exports.go
+++ b/server/internal/api/exports.go
@@ -18,22 +18,22 @@ import (
)
type ExportsAPI struct {
- meta *sql.DB
- marketing *sql.DB
+ meta *sql.DB
+ marketing *sql.DB
}
func ExportsHandler(meta, marketing *sql.DB) http.Handler {
- api := &ExportsAPI{meta: meta, marketing: marketing}
- return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
- p := strings.TrimPrefix(r.URL.Path, "/api/exports")
- if r.Method == http.MethodPost && p == "" {
- api.create(w, r)
- return
- }
- if r.Method == http.MethodGet && p == "" {
- api.list(w, r)
- return
- }
+ api := &ExportsAPI{meta: meta, marketing: marketing}
+ return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ p := strings.TrimPrefix(r.URL.Path, "/api/exports")
+ if r.Method == http.MethodPost && p == "" {
+ api.create(w, r)
+ return
+ }
+ if r.Method == http.MethodGet && p == "" {
+ api.list(w, r)
+ return
+ }
if strings.HasPrefix(p, "/") {
id := strings.TrimPrefix(p, "/")
if r.Method == http.MethodGet && !strings.HasSuffix(p, "/download") {
@@ -56,21 +56,27 @@ func ExportsHandler(meta, marketing *sql.DB) http.Handler {
return
}
}
- w.WriteHeader(http.StatusNotFound)
- })
+ w.WriteHeader(http.StatusNotFound)
+ })
+}
+
+func (a *ExportsAPI) ensureOwnerColumn() {
+ // Try to add owner_id column if not exists; ignore errors
+ _, _ = a.meta.Exec("ALTER TABLE export_jobs ADD COLUMN owner_id BIGINT UNSIGNED NOT NULL DEFAULT 0")
}
type ExportPayload struct {
- TemplateID uint64 `json:"template_id"`
- RequestedBy uint64 `json:"requested_by"`
- Permission map[string]interface{} `json:"permission"`
- Options map[string]interface{} `json:"options"`
- FileFormat string `json:"file_format"`
- Filters map[string]interface{} `json:"filters"`
- Datasource string `json:"datasource"`
+ TemplateID uint64 `json:"template_id"`
+ RequestedBy uint64 `json:"requested_by"`
+ Permission map[string]interface{} `json:"permission"`
+ Options map[string]interface{} `json:"options"`
+ FileFormat string `json:"file_format"`
+ Filters map[string]interface{} `json:"filters"`
+ Datasource string `json:"datasource"`
}
func (a *ExportsAPI) create(w http.ResponseWriter, r *http.Request) {
+ a.ensureOwnerColumn()
b, _ := io.ReadAll(r.Body)
var p ExportPayload
json.Unmarshal(b, &p)
@@ -141,8 +147,13 @@ func (a *ExportsAPI) create(w http.ResponseWriter, r *http.Request) {
hdrs[i] = tf
}
}
- ejSQL := "INSERT INTO export_jobs (template_id, status, requested_by, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)"
- ejArgs := []interface{}{p.TemplateID, "queued", p.RequestedBy, toJSON(p.Permission), toJSON(p.Filters), toJSON(p.Options), toJSON(expRows), score, estimate, p.FileFormat, time.Now(), time.Now()}
+ // owner from query userId if provided
+ owner := uint64(0)
+ if uidStr := r.URL.Query().Get("userId"); uidStr != "" {
+ if n, err := strconv.ParseUint(uidStr, 10, 64); err == nil { owner = n }
+ }
+ ejSQL := "INSERT INTO export_jobs (template_id, status, requested_by, owner_id, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)"
+ ejArgs := []interface{}{p.TemplateID, "queued", p.RequestedBy, owner, toJSON(p.Permission), toJSON(p.Filters), toJSON(p.Options), toJSON(expRows), score, estimate, p.FileFormat, time.Now(), time.Now()}
log.Printf("trace_id=%s sql=%s args=%v", TraceIDFrom(r), ejSQL, ejArgs)
res, err := a.meta.Exec(ejSQL, ejArgs...)
if err != nil {
@@ -917,9 +928,10 @@ func toString(v interface{}) string {
}
}
func (a *ExportsAPI) list(w http.ResponseWriter, r *http.Request) {
- q := r.URL.Query()
- page := 1
- size := 15
+ a.ensureOwnerColumn()
+ q := r.URL.Query()
+ page := 1
+ size := 15
if p := q.Get("page"); p != "" {
if n, err := strconv.Atoi(p); err == nil && n > 0 {
page = n
@@ -938,21 +950,40 @@ func (a *ExportsAPI) list(w http.ResponseWriter, r *http.Request) {
}
}
offset := (page - 1) * size
- var totalCount int64
- if tplID > 0 {
- row := a.meta.QueryRow("SELECT COUNT(1) FROM export_jobs WHERE template_id = ?", tplID)
- _ = row.Scan(&totalCount)
- } else {
- row := a.meta.QueryRow("SELECT COUNT(1) FROM export_jobs")
- _ = row.Scan(&totalCount)
- }
+ var totalCount int64
+ uidStr := q.Get("userId")
+ if tplID > 0 {
+ if uidStr != "" {
+ row := a.meta.QueryRow("SELECT COUNT(1) FROM export_jobs WHERE template_id = ? AND owner_id = ?", tplID, uidStr)
+ _ = row.Scan(&totalCount)
+ } else {
+ row := a.meta.QueryRow("SELECT COUNT(1) FROM export_jobs WHERE template_id = ?", tplID)
+ _ = row.Scan(&totalCount)
+ }
+ } else {
+ if uidStr != "" {
+ row := a.meta.QueryRow("SELECT COUNT(1) FROM export_jobs WHERE owner_id = ?", uidStr)
+ _ = row.Scan(&totalCount)
+ } else {
+ row := a.meta.QueryRow("SELECT COUNT(1) FROM export_jobs")
+ _ = row.Scan(&totalCount)
+ }
+ }
var rows *sql.Rows
var err error
- if tplID > 0 {
- rows, err = a.meta.Query("SELECT id, template_id, status, requested_by, row_estimate, total_rows, file_format, created_at, updated_at, explain_score, explain_json FROM export_jobs WHERE template_id = ? ORDER BY id DESC LIMIT ? OFFSET ?", tplID, size, offset)
- } else {
- rows, err = a.meta.Query("SELECT id, template_id, status, requested_by, row_estimate, total_rows, file_format, created_at, updated_at, explain_score, explain_json FROM export_jobs ORDER BY id DESC LIMIT ? OFFSET ?", size, offset)
- }
+ if tplID > 0 {
+ if uidStr != "" {
+ rows, err = a.meta.Query("SELECT id, template_id, status, requested_by, row_estimate, total_rows, file_format, created_at, updated_at, explain_score, explain_json FROM export_jobs WHERE template_id = ? AND owner_id = ? ORDER BY id DESC LIMIT ? OFFSET ?", tplID, uidStr, size, offset)
+ } else {
+ rows, err = a.meta.Query("SELECT id, template_id, status, requested_by, row_estimate, total_rows, file_format, created_at, updated_at, explain_score, explain_json FROM export_jobs WHERE template_id = ? ORDER BY id DESC LIMIT ? OFFSET ?", tplID, size, offset)
+ }
+ } else {
+ if uidStr != "" {
+ rows, err = a.meta.Query("SELECT id, template_id, status, requested_by, row_estimate, total_rows, file_format, created_at, updated_at, explain_score, explain_json FROM export_jobs WHERE owner_id = ? ORDER BY id DESC LIMIT ? OFFSET ?", uidStr, size, offset)
+ } else {
+ rows, err = a.meta.Query("SELECT id, template_id, status, requested_by, row_estimate, total_rows, file_format, created_at, updated_at, explain_score, explain_json FROM export_jobs ORDER BY id DESC LIMIT ? OFFSET ?", size, offset)
+ }
+ }
if err != nil {
fail(w, r, http.StatusInternalServerError, err.Error())
return
diff --git a/server/internal/api/plans.go b/server/internal/api/plans.go
new file mode 100644
index 0000000..6e5758b
--- /dev/null
+++ b/server/internal/api/plans.go
@@ -0,0 +1,75 @@
+package api
+
+import (
+ "database/sql"
+ "net/http"
+ "strconv"
+ "strings"
+)
+
+type PlansAPI struct {
+ marketing *sql.DB
+}
+
+func PlansHandler(marketing *sql.DB) http.Handler {
+ api := &PlansAPI{marketing: marketing}
+ return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ p := strings.TrimPrefix(r.URL.Path, "/api/plans")
+ if r.Method == http.MethodGet && p == "" {
+ api.list(w, r)
+ return
+ }
+ w.WriteHeader(http.StatusNotFound)
+ })
+}
+
+func (a *PlansAPI) list(w http.ResponseWriter, r *http.Request) {
+ resellerParam := r.URL.Query().Get("reseller")
+ if resellerParam == "" {
+ resellerParam = r.URL.Query().Get("reseller_id")
+ }
+ q := r.URL.Query().Get("q")
+ limitStr := r.URL.Query().Get("limit")
+ limit := 2000
+ if limitStr != "" {
+ if n, err := strconv.Atoi(limitStr); err == nil && n > 0 && n <= 10000 { limit = n }
+ }
+ resellers := []string{}
+ for _, s := range strings.Split(resellerParam, ",") {
+ s = strings.TrimSpace(s)
+ if s != "" { resellers = append(resellers, s) }
+ }
+ if len(resellers) == 0 {
+ ok(w, r, []map[string]interface{}{})
+ return
+ }
+ ph := strings.Repeat("?,", len(resellers))
+ ph = strings.TrimSuffix(ph, ",")
+ sql1 := "SELECT id, COALESCE(title,'') AS title FROM plan WHERE reseller_id IN (" + ph + ")"
+ args := []interface{}{}
+ for _, v := range resellers { args = append(args, v) }
+ if q != "" {
+ sql1 += " AND (CAST(id AS CHAR) LIKE ? OR title LIKE ?)"
+ like := "%" + q + "%"
+ args = append(args, like, like)
+ }
+ sql1 += " ORDER BY id ASC LIMIT ?"
+ args = append(args, limit)
+ rows, err := a.marketing.Query(sql1, args...)
+ if err != nil {
+ fail(w, r, http.StatusInternalServerError, err.Error())
+ return
+ }
+ defer rows.Close()
+ out := []map[string]interface{}{}
+ for rows.Next() {
+ var id sql.NullInt64
+ var title sql.NullString
+ if err := rows.Scan(&id, &title); err != nil { continue }
+ if !id.Valid { continue }
+ m := map[string]interface{}{"id": id.Int64, "title": title.String}
+ out = append(out, m)
+ }
+ ok(w, r, out)
+}
+
diff --git a/server/internal/api/router.go b/server/internal/api/router.go
index 94349f3..83b48ef 100644
--- a/server/internal/api/router.go
+++ b/server/internal/api/router.go
@@ -16,6 +16,8 @@ func NewRouter(metaDB *sql.DB, marketingDB *sql.DB) http.Handler {
mux.Handle("/api/creators/", withAccess(withTrace(CreatorsHandler(marketingDB))))
mux.Handle("/api/resellers", withAccess(withTrace(ResellersHandler(marketingDB))))
mux.Handle("/api/resellers/", withAccess(withTrace(ResellersHandler(marketingDB))))
+ mux.Handle("/api/plans", withAccess(withTrace(PlansHandler(marketingDB))))
+ mux.Handle("/api/plans/", withAccess(withTrace(PlansHandler(marketingDB))))
mux.HandleFunc("/api/utils/decode_key", func(w http.ResponseWriter, r *http.Request) {
v := r.URL.Query().Get("v")
if v == "" {
diff --git a/server/internal/api/templates.go b/server/internal/api/templates.go
index bc8c385..16dffeb 100644
--- a/server/internal/api/templates.go
+++ b/server/internal/api/templates.go
@@ -1,13 +1,14 @@
package api
import (
- "database/sql"
- "encoding/json"
- "io"
- "log"
- "net/http"
- "strings"
- "time"
+ "database/sql"
+ "encoding/json"
+ "io"
+ "log"
+ "net/http"
+ "strings"
+ "time"
+ "fmt"
)
type TemplatesAPI struct {
@@ -63,15 +64,21 @@ type TemplatePayload struct {
}
func (a *TemplatesAPI) createTemplate(w http.ResponseWriter, r *http.Request) {
- b, _ := io.ReadAll(r.Body)
- var p TemplatePayload
- json.Unmarshal(b, &p)
- r = WithPayload(r, p)
- now := time.Now()
+ b, _ := io.ReadAll(r.Body)
+ var p TemplatePayload
+ json.Unmarshal(b, &p)
+ r = WithPayload(r, p)
+ uidStr := r.URL.Query().Get("userId")
+ if uidStr != "" {
+ var uid uint64
+ _, _ = fmt.Sscan(uidStr, &uid)
+ if uid > 0 { p.OwnerID = uid }
+ }
+ now := time.Now()
tplSQL := "INSERT INTO export_templates (name, datasource, main_table, fields_json, filters_json, file_format, visibility, owner_id, enabled, stats_enabled, last_validated_at, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)"
tplArgs := []interface{}{p.Name, p.Datasource, p.MainTable, toJSON(p.Fields), toJSON(p.Filters), p.FileFormat, p.Visibility, p.OwnerID, 1, 0, now, now, now}
- log.Printf("trace_id=%s sql=%s args=%v", TraceIDFrom(r), tplSQL, tplArgs)
- _, err := a.meta.Exec(tplSQL, tplArgs...)
+ log.Printf("trace_id=%s sql=%s args=%v", TraceIDFrom(r), tplSQL, tplArgs)
+ _, err := a.meta.Exec(tplSQL, tplArgs...)
if err != nil {
fail(w, r, http.StatusInternalServerError, err.Error())
return
@@ -80,7 +87,15 @@ func (a *TemplatesAPI) createTemplate(w http.ResponseWriter, r *http.Request) {
}
func (a *TemplatesAPI) listTemplates(w http.ResponseWriter, r *http.Request) {
- rows, err := a.meta.Query("SELECT id,name,datasource,main_table,file_format,visibility,owner_id,enabled,last_validated_at,created_at,updated_at, COALESCE(JSON_LENGTH(fields_json),0) AS field_count, (SELECT COUNT(1) FROM export_jobs ej WHERE ej.template_id = export_templates.id) AS exec_count FROM export_templates ORDER BY updated_at DESC LIMIT 200")
+ uidStr := r.URL.Query().Get("userId")
+ sqlText := "SELECT id,name,datasource,main_table,file_format,visibility,owner_id,enabled,last_validated_at,created_at,updated_at, COALESCE(JSON_LENGTH(fields_json),0) AS field_count, (SELECT COUNT(1) FROM export_jobs ej WHERE ej.template_id = export_templates.id) AS exec_count FROM export_templates"
+ args := []interface{}{}
+ if uidStr != "" {
+ sqlText += " WHERE owner_id IN (0, ?)"
+ args = append(args, uidStr)
+ }
+ sqlText += " ORDER BY updated_at DESC LIMIT 200"
+ rows, err := a.meta.Query(sqlText, args...)
if err != nil {
fail(w, r, http.StatusInternalServerError, err.Error())
return
diff --git a/server/log/server-20251125.log b/server/log/server-20251125.log
index 748b79e..c7df20f 100644
--- a/server/log/server-20251125.log
+++ b/server/log/server-20251125.log
@@ -6304,3 +6304,77 @@ trace_id=e180a3f96c48d71f0da7f18e027d2111 sql=INSERT INTO export_jobs (template_
{"bytes":84,"duration_ms":239,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:21:31+08:00"}
job_id=36 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-25 18:21:31.714798 +0800 CST m=+24.520229792 36]
{"bytes":556,"duration_ms":204,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:21:43+08:00"}
+{"bytes":1040,"duration_ms":49,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:22:05+08:00"}
+{"bytes":1207,"duration_ms":113,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:22:06+08:00"}
+{"bytes":1614,"duration_ms":11,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:22:06+08:00"}
+trace_id=50302ddc530ce54bc65be92270ada830 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[13]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.contract_price,`order`.num,`order`.total,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' ELSE '' END AS channel,`order_voucher`.channel_activity_id,`order_voucher`.channel_voucher_id,CASE `order_voucher`.status WHEN 1 THEN '可用' WHEN 2 THEN '已实扣' WHEN 3 THEN '已过期' WHEN 4 THEN '已退款' WHEN 5 THEN '领取失败' WHEN 6 THEN '发放中' WHEN 7 THEN '部分退款' WHEN 8 THEN '已退回' WHEN 9 THEN '发放失败' ELSE '' END AS status,CASE `order_voucher`.receive_mode WHEN 1 THEN '渠道授权用户id' WHEN 2 THEN '手机号或邮箱' ELSE '' END AS receive_mode,`order_voucher`.grant_time,`order_voucher`.usage_time,`order_voucher`.official_price,`order_voucher`.account_no,`voucher`.channel,`voucher`.channel_activity_id,`voucher`.price,`voucher`.denomination,`voucher_batch`.channel_activity_id,`voucher_batch`.temp_no,`voucher_batch`.provider,`key_batch`.batch_name,`code_batch`.title,'' AS out_biz_no FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `order_voucher` ON `order_voucher`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `voucher` ON `voucher`.channel_activity_id = `order_voucher`.channel_activity_id LEFT JOIN `voucher_batch` ON `voucher_batch`.voucher_id = `voucher`.id WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+trace_id=50302ddc530ce54bc65be92270ada830 sql=INSERT INTO export_jobs (template_id, status, requested_by, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?) args=[13 queued 1 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 53 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 118 111 117 99 104 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 111 114 100 101 114 95 110 117 109 98 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 111 114 100 101 114 95 110 117 109 98 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 118 111 117 99 104 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 99 104 97 110 110 101 108 95 97 99 116 105 118 105 116 121 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 99 104 97 110 110 101 108 95 97 99 116 105 118 105 116 121 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 50 48 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 118 111 117 99 104 101 114 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 129 xlsx 2025-11-25 18:22:07.823586 +0800 CST m=+60.629144417 2025-11-25 18:22:07.823586 +0800 CST m=+60.629144626]
+{"bytes":84,"duration_ms":294,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:22:07+08:00"}
+job_id=37 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-25 18:22:07.949314 +0800 CST m=+60.754872542 37]
+{"bytes":2072,"duration_ms":579,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:22:08+08:00"}
+{"bytes":2074,"duration_ms":214,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:22:09+08:00"}
+{"bytes":2076,"duration_ms":244,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:22:10+08:00"}
+{"bytes":2076,"duration_ms":201,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:22:11+08:00"}
+{"bytes":1207,"duration_ms":107,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:23:30+08:00"}
+{"bytes":1614,"duration_ms":10,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:23:30+08:00"}
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: market_root:w5PlDan5Q3l4CVlm@tcp(market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+trace_id=4640a87054602b752b6bab49d9ef3d76 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[13]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.contract_price,`order`.num,`order`.total,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' ELSE '' END AS channel,`order_voucher`.channel_activity_id,`order_voucher`.channel_voucher_id,CASE `order_voucher`.status WHEN 1 THEN '可用' WHEN 2 THEN '已实扣' WHEN 3 THEN '已过期' WHEN 4 THEN '已退款' WHEN 5 THEN '领取失败' WHEN 6 THEN '发放中' WHEN 7 THEN '部分退款' WHEN 8 THEN '已退回' WHEN 9 THEN '发放失败' ELSE '' END AS status,CASE `order_voucher`.receive_mode WHEN 1 THEN '渠道授权用户id' WHEN 2 THEN '手机号或邮箱' ELSE '' END AS receive_mode,`order_voucher`.grant_time,`order_voucher`.usage_time,`order_voucher`.official_price,`order_voucher`.account_no,`voucher`.channel,`voucher`.channel_activity_id,`voucher`.price,`voucher`.denomination,`voucher_batch`.channel_activity_id,`voucher_batch`.temp_no,`voucher_batch`.provider,`key_batch`.batch_name,`code_batch`.title,'' AS out_biz_no FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `order_voucher` ON `order_voucher`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `voucher` ON `voucher`.channel_activity_id = `order_voucher`.channel_activity_id LEFT JOIN `voucher_batch` ON `voucher_batch`.voucher_id = `voucher`.id WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+trace_id=d68c92bf43aa33bf2ee118e1b984cfbd sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[13]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.contract_price,`order`.num,`order`.total,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' ELSE '' END AS channel,`order_voucher`.channel_activity_id,`order_voucher`.channel_voucher_id,CASE `order_voucher`.status WHEN 1 THEN '可用' WHEN 2 THEN '已实扣' WHEN 3 THEN '已过期' WHEN 4 THEN '已退款' WHEN 5 THEN '领取失败' WHEN 6 THEN '发放中' WHEN 7 THEN '部分退款' WHEN 8 THEN '已退回' WHEN 9 THEN '发放失败' ELSE '' END AS status,CASE `order_voucher`.receive_mode WHEN 1 THEN '渠道授权用户id' WHEN 2 THEN '手机号或邮箱' ELSE '' END AS receive_mode,`order_voucher`.grant_time,`order_voucher`.usage_time,`order_voucher`.official_price,`order_voucher`.account_no,`voucher`.channel,`voucher`.channel_activity_id,`voucher`.price,`voucher`.denomination,`voucher_batch`.channel_activity_id,`voucher_batch`.temp_no,`voucher_batch`.provider,`key_batch`.batch_name,`code_batch`.title,'' AS out_biz_no FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `order_voucher` ON `order_voucher`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `voucher` ON `voucher`.channel_activity_id = `order_voucher`.channel_activity_id LEFT JOIN `voucher_batch` ON `voucher_batch`.voucher_id = `voucher`.id WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+{"bytes":1040,"duration_ms":50,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:23:56+08:00"}
+{"bytes":1207,"duration_ms":98,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:23:59+08:00"}
+{"bytes":1900,"duration_ms":116,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:23:59+08:00"}
+trace_id=ff2ef174cfa283fb61df6d753f513bed sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[13]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.contract_price,`order`.num,`order`.total,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' ELSE '' END AS channel,`order_voucher`.channel_activity_id,`order_voucher`.channel_voucher_id,CASE `order_voucher`.status WHEN 1 THEN '可用' WHEN 2 THEN '已实扣' WHEN 3 THEN '已过期' WHEN 4 THEN '已退款' WHEN 5 THEN '领取失败' WHEN 6 THEN '发放中' WHEN 7 THEN '部分退款' WHEN 8 THEN '已退回' WHEN 9 THEN '发放失败' ELSE '' END AS status,CASE `order_voucher`.receive_mode WHEN 1 THEN '渠道授权用户id' WHEN 2 THEN '手机号或邮箱' ELSE '' END AS receive_mode,`order_voucher`.grant_time,`order_voucher`.usage_time,`order_voucher`.official_price,`order_voucher`.account_no,`voucher`.channel,`voucher`.channel_activity_id,`voucher`.price,`voucher`.denomination,`voucher_batch`.channel_activity_id,`voucher_batch`.temp_no,`voucher_batch`.provider,`key_batch`.batch_name,`code_batch`.title,'' AS out_biz_no FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `order_voucher` ON `order_voucher`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `voucher` ON `voucher`.channel_activity_id = `order_voucher`.channel_activity_id LEFT JOIN `voucher_batch` ON `voucher_batch`.voucher_id = `voucher`.id WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+{"bytes":1040,"duration_ms":47,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:24:10+08:00"}
+{"bytes":1207,"duration_ms":96,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:24:13+08:00"}
+{"bytes":1900,"duration_ms":154,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:24:14+08:00"}
+trace_id=788c14fcc377542db62e2599326b1af5 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[13]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.contract_price,`order`.num,`order`.total,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' ELSE '' END AS channel,`order_voucher`.channel_activity_id,`order_voucher`.channel_voucher_id,CASE `order_voucher`.status WHEN 1 THEN '可用' WHEN 2 THEN '已实扣' WHEN 3 THEN '已过期' WHEN 4 THEN '已退款' WHEN 5 THEN '领取失败' WHEN 6 THEN '发放中' WHEN 7 THEN '部分退款' WHEN 8 THEN '已退回' WHEN 9 THEN '发放失败' ELSE '' END AS status,CASE `order_voucher`.receive_mode WHEN 1 THEN '渠道授权用户id' WHEN 2 THEN '手机号或邮箱' ELSE '' END AS receive_mode,`order_voucher`.grant_time,`order_voucher`.usage_time,`order_voucher`.official_price,`order_voucher`.account_no,`voucher`.channel,`voucher`.channel_activity_id,`voucher`.price,`voucher`.denomination,`voucher_batch`.channel_activity_id,`voucher_batch`.temp_no,`voucher_batch`.provider,`key_batch`.batch_name,`code_batch`.title,'' AS out_biz_no FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `order_voucher` ON `order_voucher`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `voucher` ON `voucher`.channel_activity_id = `order_voucher`.channel_activity_id LEFT JOIN `voucher_batch` ON `voucher_batch`.voucher_id = `voucher`.id WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+trace_id=fd3433da2f1fe6c13cb448196131589d sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[13]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.contract_price,`order`.num,`order`.total,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' ELSE '' END AS channel,`order_voucher`.channel_activity_id,`order_voucher`.channel_voucher_id,CASE `order_voucher`.status WHEN 1 THEN '可用' WHEN 2 THEN '已实扣' WHEN 3 THEN '已过期' WHEN 4 THEN '已退款' WHEN 5 THEN '领取失败' WHEN 6 THEN '发放中' WHEN 7 THEN '部分退款' WHEN 8 THEN '已退回' WHEN 9 THEN '发放失败' ELSE '' END AS status,CASE `order_voucher`.receive_mode WHEN 1 THEN '渠道授权用户id' WHEN 2 THEN '手机号或邮箱' ELSE '' END AS receive_mode,`order_voucher`.grant_time,`order_voucher`.usage_time,`order_voucher`.official_price,`order_voucher`.account_no,`voucher`.channel,`voucher`.channel_activity_id,`voucher`.price,`voucher`.denomination,`voucher_batch`.channel_activity_id,`voucher_batch`.temp_no,`voucher_batch`.provider,`key_batch`.batch_name,`code_batch`.title,'' AS out_biz_no FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `order_voucher` ON `order_voucher`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `voucher` ON `voucher`.channel_activity_id = `order_voucher`.channel_activity_id LEFT JOIN `voucher_batch` ON `voucher_batch`.voucher_id = `voucher`.id WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: market_root:w5PlDan5Q3l4CVlm@tcp(market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+{"bytes":1040,"duration_ms":47,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:25:51+08:00"}
+{"bytes":1207,"duration_ms":93,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:25:53+08:00"}
+{"bytes":1900,"duration_ms":28,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:25:53+08:00"}
+trace_id=5ef5838b5546cdec28f57b37d7650e98 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[13]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.contract_price,`order`.num,`order`.total,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' ELSE '' END AS channel,`order_voucher`.channel_activity_id,`order_voucher`.channel_voucher_id,CASE `order_voucher`.status WHEN 1 THEN '可用' WHEN 2 THEN '已实扣' WHEN 3 THEN '已过期' WHEN 4 THEN '已退款' WHEN 5 THEN '领取失败' WHEN 6 THEN '发放中' WHEN 7 THEN '部分退款' WHEN 8 THEN '已退回' WHEN 9 THEN '发放失败' ELSE '' END AS status,CASE `order_voucher`.receive_mode WHEN 1 THEN '渠道授权用户id' WHEN 2 THEN '手机号或邮箱' ELSE '' END AS receive_mode,`order_voucher`.grant_time,`order_voucher`.usage_time,`order_voucher`.official_price,`order_voucher`.account_no,`voucher`.channel,`voucher`.channel_activity_id,`voucher`.price,`voucher`.denomination,`voucher_batch`.channel_activity_id,`voucher_batch`.temp_no,`voucher_batch`.provider,`key_batch`.batch_name,`code_batch`.title,'' AS out_biz_no FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `order_voucher` ON `order_voucher`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `voucher` ON `voucher`.channel_activity_id = `order_voucher`.channel_activity_id LEFT JOIN `voucher_batch` ON `voucher_batch`.voucher_id = `voucher`.id WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+{"bytes":1040,"duration_ms":50,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:26:01+08:00"}
+{"bytes":1040,"duration_ms":54,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:26:10+08:00"}
+{"bytes":1207,"duration_ms":105,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:26:13+08:00"}
+{"bytes":1900,"duration_ms":105,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:26:13+08:00"}
+trace_id=886c8e6ab816e3e8000a51ea6e3de395 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[13]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.contract_price,`order`.num,`order`.total,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' ELSE '' END AS channel,`order_voucher`.channel_activity_id,`order_voucher`.channel_voucher_id,CASE `order_voucher`.status WHEN 1 THEN '可用' WHEN 2 THEN '已实扣' WHEN 3 THEN '已过期' WHEN 4 THEN '已退款' WHEN 5 THEN '领取失败' WHEN 6 THEN '发放中' WHEN 7 THEN '部分退款' WHEN 8 THEN '已退回' WHEN 9 THEN '发放失败' ELSE '' END AS status,CASE `order_voucher`.receive_mode WHEN 1 THEN '渠道授权用户id' WHEN 2 THEN '手机号或邮箱' ELSE '' END AS receive_mode,`order_voucher`.grant_time,`order_voucher`.usage_time,`order_voucher`.official_price,`order_voucher`.account_no,`voucher`.channel,`voucher`.channel_activity_id,`voucher`.price,`voucher`.denomination,`voucher_batch`.channel_activity_id,`voucher_batch`.temp_no,`voucher_batch`.provider,`key_batch`.batch_name,`code_batch`.title,'' AS out_biz_no FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `order_voucher` ON `order_voucher`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `voucher` ON `voucher`.channel_activity_id = `order_voucher`.channel_activity_id LEFT JOIN `voucher_batch` ON `voucher_batch`.voucher_id = `voucher`.id WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: 192.168.6.92:3306 db market user root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: root:lansexiongdi@tcp(192.168.6.92:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+{"bytes":1040,"duration_ms":52,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:28:31+08:00"}
+{"bytes":1207,"duration_ms":156,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:28:32+08:00"}
+{"bytes":1614,"duration_ms":16,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:28:32+08:00"}
+trace_id=b7d67190a3695f3e9c2d0bc7ab3a8dfd sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[13]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.contract_price,`order`.num,`order`.total,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' ELSE '' END AS channel,`order_voucher`.channel_activity_id,`order_voucher`.channel_voucher_id,CASE `order_voucher`.status WHEN 1 THEN '可用' WHEN 2 THEN '已实扣' WHEN 3 THEN '已过期' WHEN 4 THEN '已退款' WHEN 5 THEN '领取失败' WHEN 6 THEN '发放中' WHEN 7 THEN '部分退款' WHEN 8 THEN '已退回' WHEN 9 THEN '发放失败' ELSE '' END AS status,CASE `order_voucher`.receive_mode WHEN 1 THEN '渠道授权用户id' WHEN 2 THEN '手机号或邮箱' ELSE '' END AS receive_mode,`order_voucher`.grant_time,`order_voucher`.usage_time,`order_voucher`.official_price,`order_voucher`.account_no,`voucher`.channel,`voucher`.channel_activity_id,`voucher`.price,`voucher`.denomination,`voucher_batch`.channel_activity_id,`voucher_batch`.temp_no,`voucher_batch`.provider,`key_batch`.batch_name,`code_batch`.title,'' AS out_biz_no FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `order_voucher` ON `order_voucher`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `voucher` ON `voucher`.channel_activity_id = `order_voucher`.channel_activity_id LEFT JOIN `voucher_batch` ON `voucher_batch`.voucher_id = `voucher`.id WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+trace_id=b7d67190a3695f3e9c2d0bc7ab3a8dfd sql=INSERT INTO export_jobs (template_id, status, requested_by, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?) args=[13 queued 1 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 53 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 118 111 117 99 104 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 111 114 100 101 114 95 110 117 109 98 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 111 114 100 101 114 95 110 117 109 98 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 118 111 117 99 104 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 99 104 97 110 110 101 108 95 97 99 116 105 118 105 116 121 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 99 104 97 110 110 101 108 95 97 99 116 105 118 105 116 121 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 50 48 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 118 111 117 99 104 101 114 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 129 xlsx 2025-11-25 18:28:33.933385 +0800 CST m=+55.969701918 2025-11-25 18:28:33.933385 +0800 CST m=+55.969702085]
+{"bytes":84,"duration_ms":338,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:28:34+08:00"}
+job_id=38 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-25 18:28:34.053851 +0800 CST m=+56.090168501 38]
+{"bytes":3051,"duration_ms":656,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:28:34+08:00"}
+{"bytes":3055,"duration_ms":264,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:28:35+08:00"}
+{"bytes":3055,"duration_ms":258,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:28:36+08:00"}
+{"bytes":3055,"duration_ms":281,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:28:37+08:00"}
+{"bytes":870,"duration_ms":108,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:36:32+08:00"}
+{"bytes":1040,"duration_ms":54,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:36:49+08:00"}
+{"bytes":1207,"duration_ms":108,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:37:07+08:00"}
+{"bytes":1614,"duration_ms":20,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:37:07+08:00"}
+{"bytes":3055,"duration_ms":256,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:37:10+08:00"}
+{"bytes":3055,"duration_ms":272,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-25T18:37:11+08:00"}
diff --git a/server/log/server-20251126.log b/server/log/server-20251126.log
new file mode 100644
index 0000000..53af478
--- /dev/null
+++ b/server/log/server-20251126.log
@@ -0,0 +1,376 @@
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: 192.168.6.92:3306 db market user root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: root:lansexiongdi@tcp(192.168.6.92:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+{"bytes":1040,"duration_ms":48,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T10:59:51+08:00"}
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: 192.168.6.92:3306 db market user root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: root:lansexiongdi@tcp(192.168.6.92:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+{"bytes":1040,"duration_ms":53,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:15:42+08:00"}
+{"bytes":7137,"duration_ms":1839,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:20:05+08:00"}
+{"bytes":7137,"duration_ms":570,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:20:06+08:00"}
+{"bytes":1694,"duration_ms":736,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:20:08+08:00"}
+{"bytes":1694,"duration_ms":2386,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:20:11+08:00"}
+{"bytes":1694,"duration_ms":1282,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:20:12+08:00"}
+{"bytes":1694,"duration_ms":2377,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:20:15+08:00"}
+{"bytes":1694,"duration_ms":772,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:20:15+08:00"}
+{"bytes":1207,"duration_ms":1781,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:20:15+08:00"}
+trace_id=2aacb8241ab12e2c1a54f32a3cec12df sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? args=[221 2020-01-01 00:00:00 2025-12-31 23:59:59]
+trace_id=2aacb8241ab12e2c1a54f32a3cec12df sql=INSERT INTO export_jobs (template_id, status, requested_by, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 221 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 48 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 99 114 101 97 116 111 114 95 105 110 34 58 91 50 50 49 93 125] [110 117 108 108] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 0 csv 2025-11-26 11:21:38.13135 +0800 CST m=+395.989684668 2025-11-26 11:21:38.13135 +0800 CST m=+395.989684709]
+{"bytes":84,"duration_ms":266,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:21:38+08:00"}
+job_id=39 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-26 11:21:38.237251 +0800 CST m=+396.095586001 39]
+{"bytes":552,"duration_ms":201,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T11:21:53+08:00"}
+{"bytes":1040,"duration_ms":831,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:17+08:00"}
+{"bytes":914,"duration_ms":103,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:22+08:00"}
+{"bytes":1614,"duration_ms":335,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:22+08:00"}
+{"bytes":914,"duration_ms":114,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:25+08:00"}
+{"bytes":1614,"duration_ms":22,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:25+08:00"}
+{"bytes":914,"duration_ms":101,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:30+08:00"}
+{"bytes":79,"duration_ms":164,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:34+08:00"}
+{"bytes":1039,"duration_ms":52,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:34+08:00"}
+{"bytes":913,"duration_ms":103,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:36+08:00"}
+{"bytes":1614,"duration_ms":21,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:36+08:00"}
+trace_id=9fe588243f389412e52f83eb5fc41480 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+trace_id=9fe588243f389412e52f83eb5fc41480 sql=INSERT INTO export_jobs (template_id, status, requested_by, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 1 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 53 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 129 csv 2025-11-26 14:35:39.288816 +0800 CST m=+7570.602670209 2025-11-26 14:35:39.288816 +0800 CST m=+7570.602670334]
+{"bytes":84,"duration_ms":270,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:39+08:00"}
+job_id=40 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-26 14:35:39.401317 +0800 CST m=+7570.715172084 40]
+{"bytes":7133,"duration_ms":912,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:40+08:00"}
+{"bytes":7133,"duration_ms":250,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:40+08:00"}
+{"bytes":7135,"duration_ms":263,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:41+08:00"}
+{"bytes":7135,"duration_ms":264,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:42+08:00"}
+{"bytes":7135,"duration_ms":266,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:43+08:00"}
+{"bytes":7135,"duration_ms":261,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:44+08:00"}
+{"bytes":7135,"duration_ms":266,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:45+08:00"}
+{"bytes":7135,"duration_ms":271,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:46+08:00"}
+{"bytes":7135,"duration_ms":358,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:47+08:00"}
+{"bytes":913,"duration_ms":108,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:50+08:00"}
+{"bytes":79,"duration_ms":116,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:53+08:00"}
+{"bytes":1040,"duration_ms":62,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:53+08:00"}
+{"bytes":7135,"duration_ms":256,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:55+08:00"}
+{"bytes":7135,"duration_ms":272,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:56+08:00"}
+{"bytes":7135,"duration_ms":255,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:57+08:00"}
+{"bytes":7135,"duration_ms":256,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:58+08:00"}
+{"bytes":7135,"duration_ms":278,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:35:59+08:00"}
+{"bytes":7135,"duration_ms":271,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:36:00+08:00"}
+{"bytes":7135,"duration_ms":343,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:36:01+08:00"}
+{"bytes":7135,"duration_ms":266,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:36:02+08:00"}
+{"bytes":7135,"duration_ms":295,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:36:03+08:00"}
+{"bytes":914,"duration_ms":136,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:36:05+08:00"}
+{"bytes":914,"duration_ms":100,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:37:13+08:00"}
+{"bytes":914,"duration_ms":468,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:42:02+08:00"}
+{"bytes":914,"duration_ms":109,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T14:42:04+08:00"}
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: 192.168.6.92:3306 db market user root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: root:lansexiongdi@tcp(192.168.6.92:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+{"bytes":1040,"duration_ms":64,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:16:06+08:00"}
+{"bytes":1207,"duration_ms":132,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:16:35+08:00"}
+{"bytes":870,"duration_ms":98,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:17:34+08:00"}
+{"bytes":1614,"duration_ms":13,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:17:35+08:00"}
+{"bytes":213,"duration_ms":23,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:18:07+08:00"}
+{"bytes":1040,"duration_ms":54,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:27:32+08:00"}
+{"bytes":1207,"duration_ms":103,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:27:35+08:00"}
+{"bytes":1614,"duration_ms":14,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:27:35+08:00"}
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: 192.168.6.92:3306 db market user root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: root:lansexiongdi@tcp(192.168.6.92:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+{"bytes":77,"duration_ms":14,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:29:23+08:00"}
+{"bytes":1040,"duration_ms":61,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:29:36+08:00"}
+{"bytes":1694,"duration_ms":234,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:29:37+08:00"}
+{"bytes":1694,"duration_ms":534,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:29:39+08:00"}
+{"bytes":870,"duration_ms":110,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:29:40+08:00"}
+{"bytes":1614,"duration_ms":12,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:29:40+08:00"}
+{"bytes":870,"duration_ms":119,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:29:46+08:00"}
+{"bytes":1614,"duration_ms":12,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:29:46+08:00"}
+{"bytes":1040,"duration_ms":56,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:29:56+08:00"}
+{"bytes":870,"duration_ms":114,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:30:02+08:00"}
+{"bytes":1614,"duration_ms":15,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:30:02+08:00"}
+{"bytes":1040,"duration_ms":58,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:30:03+08:00"}
+{"bytes":1040,"duration_ms":56,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:30:48+08:00"}
+{"bytes":870,"duration_ms":118,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:30:49+08:00"}
+{"bytes":1614,"duration_ms":14,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:30:49+08:00"}
+{"bytes":3605,"duration_ms":16,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:30:54+08:00"}
+{"bytes":13876,"duration_ms":24,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:30:57+08:00"}
+{"bytes":541,"duration_ms":28,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:15+08:00"}
+{"bytes":914,"duration_ms":124,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:34+08:00"}
+{"bytes":1614,"duration_ms":98,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:34+08:00"}
+{"bytes":988,"duration_ms":14,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:39+08:00"}
+{"bytes":709,"duration_ms":18,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:43+08:00"}
+trace_id=cc77aa1ba059155ef3f11eac9afe78a2 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? AND `order`.type = ? AND `order`.plan_id = ? AND `order`.reseller_id = ? args=[168 2025-01-01 00:00:00 2025-12-31 23:59:59 1 7879 283]
+trace_id=cc77aa1ba059155ef3f11eac9afe78a2 sql=INSERT INTO export_jobs (template_id, status, requested_by, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 1 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 53 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 99 114 101 97 116 111 114 95 105 110 34 58 91 49 54 56 93 44 34 112 108 97 110 95 105 100 95 101 113 34 58 55 56 55 57 44 34 114 101 115 101 108 108 101 114 95 105 100 95 101 113 34 58 50 56 51 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 44 105 100 120 95 112 108 97 110 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 112 108 97 110 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 53 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 0 xlsx 2025-11-26 17:31:49.563004 +0800 CST m=+156.767471710 2025-11-26 17:31:49.563004 +0800 CST m=+156.767471918]
+{"bytes":84,"duration_ms":293,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:49+08:00"}
+job_id=41 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-26 17:31:49.685052 +0800 CST m=+156.889520210 41]
+{"bytes":7137,"duration_ms":559,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:50+08:00"}
+{"bytes":7139,"duration_ms":350,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:51+08:00"}
+{"bytes":7139,"duration_ms":404,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:52+08:00"}
+{"bytes":7139,"duration_ms":361,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:53+08:00"}
+{"bytes":7139,"duration_ms":361,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:54+08:00"}
+{"bytes":7139,"duration_ms":324,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:55+08:00"}
+{"bytes":1694,"duration_ms":258,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:57+08:00"}
+{"bytes":1694,"duration_ms":273,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:57+08:00"}
+{"bytes":1694,"duration_ms":235,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:31:58+08:00"}
+{"bytes":914,"duration_ms":117,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:32:01+08:00"}
+{"bytes":1614,"duration_ms":21,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:32:01+08:00"}
+{"bytes":914,"duration_ms":121,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:32:05+08:00"}
+{"bytes":870,"duration_ms":133,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:32:25+08:00"}
+{"bytes":1614,"duration_ms":22,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:32:25+08:00"}
+{"bytes":870,"duration_ms":126,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:35:49+08:00"}
+{"bytes":1614,"duration_ms":14,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:35:49+08:00"}
+{"bytes":1040,"duration_ms":68,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:36:10+08:00"}
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: 192.168.6.92:3306 db market user root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: root:lansexiongdi@tcp(192.168.6.92:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+{"bytes":914,"duration_ms":95,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:36:53+08:00"}
+{"bytes":1207,"duration_ms":110,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:36:56+08:00"}
+{"bytes":1040,"duration_ms":101,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:36:58+08:00"}
+{"bytes":870,"duration_ms":117,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:36:59+08:00"}
+{"bytes":870,"duration_ms":93,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:37:05+08:00"}
+{"bytes":1040,"duration_ms":141,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:39:03+08:00"}
+{"bytes":1040,"duration_ms":97,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:39:06+08:00"}
+{"bytes":1040,"duration_ms":97,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:39:14+08:00"}
+{"bytes":715,"duration_ms":97,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:39:30+08:00"}
+{"bytes":1040,"duration_ms":95,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:39:48+08:00"}
+{"bytes":1040,"duration_ms":113,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:39:50+08:00"}
+{"bytes":1040,"duration_ms":109,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:39:51+08:00"}
+{"bytes":870,"duration_ms":100,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:39:54+08:00"}
+{"bytes":870,"duration_ms":97,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:40:13+08:00"}
+{"bytes":914,"duration_ms":99,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:40:18+08:00"}
+{"bytes":1614,"duration_ms":14,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:40:18+08:00"}
+{"bytes":7139,"duration_ms":262,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:40:24+08:00"}
+{"bytes":7139,"duration_ms":254,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:40:25+08:00"}
+{"bytes":7139,"duration_ms":253,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:40:26+08:00"}
+{"bytes":870,"duration_ms":97,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:42:43+08:00"}
+{"bytes":1694,"duration_ms":188,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:43:15+08:00"}
+{"bytes":1694,"duration_ms":190,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:43:16+08:00"}
+{"bytes":1694,"duration_ms":193,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:43:17+08:00"}
+{"bytes":1694,"duration_ms":191,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:43:18+08:00"}
+{"bytes":1694,"duration_ms":190,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:43:23+08:00"}
+{"bytes":1694,"duration_ms":187,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:43:24+08:00"}
+{"bytes":870,"duration_ms":94,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:43:35+08:00"}
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: 192.168.6.92:3306 db market user root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: root:lansexiongdi@tcp(192.168.6.92:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+{"bytes":914,"duration_ms":161,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:44:14+08:00"}
+{"bytes":1614,"duration_ms":12,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:44:14+08:00"}
+{"bytes":1040,"duration_ms":99,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:44:26+08:00"}
+{"bytes":870,"duration_ms":99,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:44:28+08:00"}
+{"bytes":1614,"duration_ms":15,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:44:28+08:00"}
+{"bytes":870,"duration_ms":102,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:44:39+08:00"}
+{"bytes":870,"duration_ms":101,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:44:43+08:00"}
+{"bytes":1614,"duration_ms":23,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:44:43+08:00"}
+{"bytes":914,"duration_ms":105,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:45:29+08:00"}
+{"bytes":914,"duration_ms":102,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:45:33+08:00"}
+{"bytes":1614,"duration_ms":22,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:45:33+08:00"}
+{"bytes":1207,"duration_ms":100,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:45:38+08:00"}
+{"bytes":1614,"duration_ms":15,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:45:38+08:00"}
+{"bytes":870,"duration_ms":103,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:45:42+08:00"}
+{"bytes":1614,"duration_ms":17,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:45:42+08:00"}
+{"bytes":870,"duration_ms":111,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:45:54+08:00"}
+{"bytes":1207,"duration_ms":100,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:45:58+08:00"}
+{"bytes":1207,"duration_ms":99,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:03+08:00"}
+{"bytes":79,"duration_ms":107,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:07+08:00"}
+{"bytes":1040,"duration_ms":126,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:07+08:00"}
+{"bytes":914,"duration_ms":103,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:09+08:00"}
+{"bytes":870,"duration_ms":102,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:11+08:00"}
+{"bytes":79,"duration_ms":110,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:15+08:00"}
+{"bytes":1040,"duration_ms":100,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:15+08:00"}
+{"bytes":870,"duration_ms":104,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:18+08:00"}
+{"bytes":1040,"duration_ms":104,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:25+08:00"}
+{"bytes":870,"duration_ms":110,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:26+08:00"}
+{"bytes":1614,"duration_ms":11,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:26+08:00"}
+{"bytes":112,"duration_ms":37,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:26+08:00"}
+{"bytes":47210,"duration_ms":23,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:33+08:00"}
+{"bytes":914,"duration_ms":99,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:44+08:00"}
+{"bytes":112,"duration_ms":15,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:44+08:00"}
+{"bytes":1614,"duration_ms":15,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:44+08:00"}
+{"bytes":870,"duration_ms":105,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:50+08:00"}
+{"bytes":112,"duration_ms":16,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:50+08:00"}
+{"bytes":1614,"duration_ms":16,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:46:50+08:00"}
+{"bytes":914,"duration_ms":118,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:47:02+08:00"}
+trace_id=ea40c4c4ef41e18ccc7f0bf2dea803dd status=500 file=response.go:43 method=GET path=/api/exports query=page=1&page_size=10&template_id=14&userId=221 remote=[::1]:49236 payload= msg=Error 1054 (42S22): Unknown column 'owner_id' in 'where clause'
+{"bytes":140,"duration_ms":110,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-26T17:47:10+08:00"}
+trace_id=d4cc5eb18c3a638bb9d5028df83bebcc status=500 file=response.go:43 method=GET path=/api/exports query=page=1&page_size=10&template_id=14&userId=221 remote=[::1]:49236 payload= msg=Error 1054 (42S22): Unknown column 'owner_id' in 'where clause'
+{"bytes":140,"duration_ms":115,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-26T17:47:11+08:00"}
+{"bytes":914,"duration_ms":103,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:47:13+08:00"}
+{"bytes":112,"duration_ms":19,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:47:13+08:00"}
+{"bytes":1614,"duration_ms":19,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:47:13+08:00"}
+trace_id=64cde37f773b216e5e9669de27640b68 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[221 2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+trace_id=64cde37f773b216e5e9669de27640b68 sql=INSERT INTO export_jobs (template_id, status, requested_by, owner_id, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 1 221 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 53 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 99 114 101 97 116 111 114 95 105 110 34 58 91 50 50 49 93 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 0 xlsx 2025-11-26 17:47:16.657804 +0800 CST m=+187.663804335 2025-11-26 17:47:16.657804 +0800 CST m=+187.663804543]
+trace_id=64cde37f773b216e5e9669de27640b68 status=500 file=response.go:43 method=POST path=/api/exports query=userId=221 remote=[::1]:49236 sql=SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? AND `order`.type = ? payload={"template_id":12,"requested_by":1,"permission":{},"options":{},"file_format":"xlsx","filters":{"create_time_between":["2025-01-01 00:00:00","2025-12-31 23:59:59"],"creator_in":[221],"type_eq":1},"datasource":"marketing"} msg=Error 1054 (42S22): Unknown column 'owner_id' in 'field list'
+{"bytes":138,"duration_ms":188,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-26T17:47:16+08:00"}
+{"bytes":1040,"duration_ms":105,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:47:22+08:00"}
+{"bytes":914,"duration_ms":102,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:47:27+08:00"}
+{"bytes":112,"duration_ms":10,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:47:27+08:00"}
+{"bytes":1614,"duration_ms":13,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:47:27+08:00"}
+trace_id=5baa7a43fda90d2c964aff84201abe36 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[221 2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+trace_id=5baa7a43fda90d2c964aff84201abe36 sql=INSERT INTO export_jobs (template_id, status, requested_by, owner_id, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 1 221 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 53 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 99 114 101 97 116 111 114 95 105 110 34 58 91 50 50 49 93 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 0 xlsx 2025-11-26 17:47:30.200376 +0800 CST m=+201.206310001 2025-11-26 17:47:30.200376 +0800 CST m=+201.206310001]
+trace_id=5baa7a43fda90d2c964aff84201abe36 status=500 file=response.go:43 method=POST path=/api/exports query=userId=221 remote=[::1]:49748 sql=SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? AND `order`.type = ? payload={"template_id":12,"requested_by":1,"permission":{},"options":{},"file_format":"xlsx","filters":{"create_time_between":["2025-01-01 00:00:00","2025-12-31 23:59:59"],"creator_in":[221],"type_eq":1},"datasource":"marketing"} msg=Error 1054 (42S22): Unknown column 'owner_id' in 'field list'
+{"bytes":138,"duration_ms":191,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-26T17:47:30+08:00"}
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: 192.168.6.92:3306 db market user root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: root:lansexiongdi@tcp(192.168.6.92:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+trace_id=a6da74636aadf9936b446c834a6725a3 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? args=[221 2020-01-01 00:00:00 2025-12-31 23:59:59]
+trace_id=a6da74636aadf9936b446c834a6725a3 sql=INSERT INTO export_jobs (template_id, status, requested_by, owner_id, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 221 221 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 48 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 99 114 101 97 116 111 114 95 105 110 34 58 91 50 50 49 93 125] [110 117 108 108] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 0 xlsx 2025-11-26 17:48:50.808908 +0800 CST m=+12.909810876 2025-11-26 17:48:50.808909 +0800 CST m=+12.909810959]
+{"bytes":84,"duration_ms":347,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:48:50+08:00"}
+job_id=42 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-26 17:48:50.929776 +0800 CST m=+13.030678292 42]
+{"bytes":870,"duration_ms":113,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:48:57+08:00"}
+{"bytes":1614,"duration_ms":15,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:48:57+08:00"}
+{"bytes":112,"duration_ms":41,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:48:57+08:00"}
+trace_id=955a7cf113525a2db22f1fa7cd301925 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[14]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.use_coupon,`order`.recharge_time,`order`.create_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`plan`.title,`key_batch`.batch_name,`code_batch`.title FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[221 2025-01-01 00:00:00 2025-12-31 23:59:59 3]
+trace_id=955a7cf113525a2db22f1fa7cd301925 sql=INSERT INTO export_jobs (template_id, status, requested_by, owner_id, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?) args=[14 queued 1 221 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 53 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 99 114 101 97 116 111 114 95 105 110 34 58 91 50 50 49 93 44 34 116 121 112 101 95 101 113 34 58 51 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 0 xlsx 2025-11-26 17:48:59.35559 +0800 CST m=+21.456450917 2025-11-26 17:48:59.35559 +0800 CST m=+21.456450959]
+{"bytes":84,"duration_ms":433,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:48:59+08:00"}
+job_id=43 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-26 17:48:59.487966 +0800 CST m=+21.588825751 43]
+{"bytes":2383,"duration_ms":705,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:00+08:00"}
+{"bytes":2383,"duration_ms":325,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:00+08:00"}
+{"bytes":2385,"duration_ms":246,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:01+08:00"}
+{"bytes":2385,"duration_ms":275,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:02+08:00"}
+{"bytes":2385,"duration_ms":256,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:03+08:00"}
+{"bytes":914,"duration_ms":103,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:08+08:00"}
+{"bytes":112,"duration_ms":12,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:08+08:00"}
+{"bytes":1614,"duration_ms":14,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:08+08:00"}
+{"bytes":7137,"duration_ms":293,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:12+08:00"}
+{"bytes":7137,"duration_ms":307,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:13+08:00"}
+{"bytes":7137,"duration_ms":303,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:14+08:00"}
+{"bytes":7137,"duration_ms":301,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:15+08:00"}
+{"bytes":5637,"duration_ms":301,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:16+08:00"}
+{"bytes":5637,"duration_ms":244,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:16+08:00"}
+{"bytes":5637,"duration_ms":303,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:17+08:00"}
+{"bytes":7137,"duration_ms":387,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:18+08:00"}
+{"bytes":7137,"duration_ms":332,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:49:19+08:00"}
+connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
+connecting Marketing MySQL: 192.168.6.92:3306 db market user root
+YMT DSN: root:lansexiongdi6,@tcp(47.97.27.195:3306)/merketing?parseTime=True&loc=Local&charset=utf8mb4
+Marketing DSN: root:lansexiongdi@tcp(192.168.6.92:3306)/market?parseTime=True&loc=Local&charset=utf8mb4
+server listening on :8077
+{"bytes":1040,"duration_ms":115,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:50:53+08:00"}
+{"bytes":121,"duration_ms":785,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:50:56+08:00"}
+{"bytes":121,"duration_ms":423,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:50:56+08:00"}
+{"bytes":909,"duration_ms":412,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:50:58+08:00"}
+{"bytes":909,"duration_ms":269,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:50:59+08:00"}
+{"bytes":1600,"duration_ms":267,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:00+08:00"}
+{"bytes":1040,"duration_ms":50,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:06+08:00"}
+{"bytes":7137,"duration_ms":321,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:08+08:00"}
+{"bytes":7137,"duration_ms":367,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:09+08:00"}
+{"bytes":7137,"duration_ms":395,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:10+08:00"}
+{"bytes":5637,"duration_ms":675,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:10+08:00"}
+{"bytes":5637,"duration_ms":324,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:11+08:00"}
+{"bytes":5637,"duration_ms":300,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:12+08:00"}
+{"bytes":7137,"duration_ms":268,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:12+08:00"}
+{"bytes":7137,"duration_ms":268,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:13+08:00"}
+{"bytes":1040,"duration_ms":102,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:16+08:00"}
+{"bytes":914,"duration_ms":134,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:20+08:00"}
+{"bytes":811,"duration_ms":237,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:25+08:00"}
+{"bytes":811,"duration_ms":242,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:26+08:00"}
+{"bytes":811,"duration_ms":243,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:27+08:00"}
+{"bytes":914,"duration_ms":93,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:28+08:00"}
+{"bytes":112,"duration_ms":94,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:28+08:00"}
+{"bytes":1614,"duration_ms":121,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:28+08:00"}
+trace_id=5b49a127fabf59cbaa90d0aa58ea95ab sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[221 2024-12-01 00:00:00 2025-12-31 00:00:00 1]
+trace_id=5b49a127fabf59cbaa90d0aa58ea95ab sql=INSERT INTO export_jobs (template_id, status, requested_by, owner_id, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 1 221 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 52 45 49 50 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 48 48 58 48 48 58 48 48 34 93 44 34 99 114 101 97 116 111 114 95 105 110 34 58 91 50 50 49 93 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 0 xlsx 2025-11-26 17:51:40.49233 +0800 CST m=+51.915599709 2025-11-26 17:51:40.49233 +0800 CST m=+51.915599918]
+{"bytes":84,"duration_ms":283,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:40+08:00"}
+job_id=44 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-26 17:51:40.603823 +0800 CST m=+52.027091834 44]
+{"bytes":1694,"duration_ms":292,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:40+08:00"}
+{"bytes":1696,"duration_ms":233,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:41+08:00"}
+{"bytes":1696,"duration_ms":249,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:42+08:00"}
+{"bytes":1696,"duration_ms":243,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:43+08:00"}
+{"bytes":1040,"duration_ms":112,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:47+08:00"}
+{"bytes":121,"duration_ms":262,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:49+08:00"}
+{"bytes":121,"duration_ms":402,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:50+08:00"}
+{"bytes":914,"duration_ms":129,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:51+08:00"}
+{"bytes":1614,"duration_ms":43,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:51+08:00"}
+{"bytes":77,"duration_ms":45,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:51:51+08:00"}
+{"bytes":1040,"duration_ms":91,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:07+08:00"}
+{"bytes":914,"duration_ms":104,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:10+08:00"}
+{"bytes":925,"duration_ms":19,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:10+08:00"}
+{"bytes":1614,"duration_ms":21,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:10+08:00"}
+trace_id=3b0b8c6a2f0c00861f14d6358edae637 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[175 2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+trace_id=3b0b8c6a2f0c00861f14d6358edae637 sql=INSERT INTO export_jobs (template_id, status, requested_by, owner_id, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 1 175 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 53 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 99 114 101 97 116 111 114 95 105 110 34 58 91 49 55 53 93 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 0 xlsx 2025-11-26 17:52:15.55809 +0800 CST m=+86.981188209 2025-11-26 17:52:15.55809 +0800 CST m=+86.981188418]
+{"bytes":84,"duration_ms":356,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:15+08:00"}
+job_id=45 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-26 17:52:15.720556 +0800 CST m=+87.143653876 45]
+{"bytes":905,"duration_ms":278,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:16+08:00"}
+{"bytes":907,"duration_ms":262,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:16+08:00"}
+{"bytes":907,"duration_ms":268,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:17+08:00"}
+{"bytes":907,"duration_ms":285,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:19+08:00"}
+{"bytes":907,"duration_ms":265,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:19+08:00"}
+{"bytes":907,"duration_ms":283,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:21+08:00"}
+{"bytes":907,"duration_ms":266,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:21+08:00"}
+{"bytes":4228,"duration_ms":221,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:22+08:00"}
+{"bytes":907,"duration_ms":324,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:23+08:00"}
+{"bytes":907,"duration_ms":267,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:23+08:00"}
+{"bytes":907,"duration_ms":272,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:24+08:00"}
+{"bytes":907,"duration_ms":266,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:25+08:00"}
+{"bytes":907,"duration_ms":264,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:26+08:00"}
+{"bytes":907,"duration_ms":273,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:28+08:00"}
+{"bytes":907,"duration_ms":277,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:29+08:00"}
+{"bytes":907,"duration_ms":262,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:29+08:00"}
+{"bytes":907,"duration_ms":265,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:30+08:00"}
+{"bytes":907,"duration_ms":267,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:31+08:00"}
+{"bytes":907,"duration_ms":273,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:33+08:00"}
+{"bytes":907,"duration_ms":264,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:33+08:00"}
+{"bytes":914,"duration_ms":110,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:36+08:00"}
+{"bytes":925,"duration_ms":18,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:36+08:00"}
+{"bytes":1614,"duration_ms":19,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:36+08:00"}
+{"bytes":1040,"duration_ms":60,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:41+08:00"}
+{"bytes":914,"duration_ms":112,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:43+08:00"}
+{"bytes":1614,"duration_ms":13,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:43+08:00"}
+trace_id=b256abaf043cb71c519ffd3c84a674ad sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 1]
+trace_id=b256abaf043cb71c519ffd3c84a674ad sql=INSERT INTO export_jobs (template_id, status, requested_by, owner_id, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 1 0 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 53 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 50 45 51 49 32 50 51 58 53 57 58 53 57 34 93 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 129 xlsx 2025-11-26 17:52:46.118154 +0800 CST m=+117.541103251 2025-11-26 17:52:46.118154 +0800 CST m=+117.541103293]
+{"bytes":84,"duration_ms":374,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:46+08:00"}
+job_id=46 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-26 17:52:46.23573 +0800 CST m=+117.658679418 46]
+{"bytes":8019,"duration_ms":301,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:46+08:00"}
+{"bytes":8021,"duration_ms":325,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:47+08:00"}
+{"bytes":8023,"duration_ms":308,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:48+08:00"}
+{"bytes":8023,"duration_ms":285,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:49+08:00"}
+{"bytes":8023,"duration_ms":321,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:50+08:00"}
+{"bytes":8023,"duration_ms":299,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:51+08:00"}
+{"bytes":8023,"duration_ms":293,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:52+08:00"}
+{"bytes":914,"duration_ms":99,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:54+08:00"}
+{"bytes":1614,"duration_ms":12,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:52:54+08:00"}
+{"bytes":1040,"duration_ms":93,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:02+08:00"}
+{"bytes":914,"duration_ms":108,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:05+08:00"}
+{"bytes":925,"duration_ms":24,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:05+08:00"}
+{"bytes":1614,"duration_ms":24,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:05+08:00"}
+trace_id=71439d518ffca605593f193243dee8b3 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[12]
+sql=EXPLAIN SELECT `order`.order_number,`order`.`key`,`order`.out_trade_no,CASE `order`.type WHEN 1 THEN '直充卡密' WHEN 2 THEN '立减金' WHEN 3 THEN '红包' ELSE '' END AS type,`order`.account,`order`.contract_price,`order`.num,`order`.total,`order`.pay_amount,CASE `order`.pay_type WHEN 1 THEN '支付宝' WHEN 5 THEN '微信' ELSE '' END AS pay_type,CASE `order`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '已支付' WHEN 3 THEN '已退款' ELSE '' END AS pay_status,`order`.recharge_time,`order`.create_time,`order`.update_time,`order_detail`.plan_title,`order_detail`.reseller_name,`order_detail`.product_name,`order_detail`.official_price,`order_detail`.cost_price,`key_batch`.batch_name,`code_batch`.title,CASE `order`.type WHEN 1 THEN (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 2 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已领取' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) WHEN 3 THEN (CASE `order`.status WHEN 0 THEN '待领取' WHEN 1 THEN '待领取' WHEN 2 THEN '已核销' WHEN 3 THEN '领取失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '' END) ELSE (CASE `order`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' END) END AS status,`merchant_key_send`.out_biz_no,`order`.use_coupon FROM `order` LEFT JOIN `order_detail` ON `order_detail`.order_number = `order`.order_number LEFT JOIN `plan` ON `plan`.id = `order`.plan_id LEFT JOIN `key_batch` ON `key_batch`.plan_id = `plan`.id LEFT JOIN `code_batch` ON `code_batch`.key_batch_id = `key_batch`.id LEFT JOIN `merchant_key_send` ON `order`.`key` = `merchant_key_send`.key WHERE `order`.creator IN (?) AND `order`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[175 2024-01-01 00:00:00 2026-02-25 00:00:00 1]
+trace_id=71439d518ffca605593f193243dee8b3 sql=INSERT INTO export_jobs (template_id, status, requested_by, owner_id, permission_scope_json, filters_json, options_json, explain_json, explain_score, row_estimate, file_format, created_at, updated_at) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?) args=[12 queued 1 175 [123 125] [123 34 99 114 101 97 116 101 95 116 105 109 101 95 98 101 116 119 101 101 110 34 58 91 34 50 48 50 52 45 48 49 45 48 49 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 54 45 48 50 45 50 53 32 48 48 58 48 48 58 48 48 34 93 44 34 99 114 101 97 116 111 114 95 105 110 34 58 91 49 55 53 93 44 34 116 121 112 101 95 101 113 34 58 49 125] [123 125] [91 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 97 110 103 101 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 105 100 120 95 99 114 101 97 116 101 95 116 105 109 101 95 115 116 97 116 117 115 95 99 114 101 97 116 111 114 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 54 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 111 114 100 101 114 95 100 101 116 97 105 108 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 56 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 112 108 97 110 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 101 113 95 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 80 82 73 77 65 82 89 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 65 76 76 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 99 111 100 101 95 98 97 116 99 104 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 107 101 121 95 98 97 116 99 104 95 105 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 52 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 44 123 34 73 68 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 83 101 108 101 99 116 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 83 73 77 80 76 69 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 97 98 108 101 34 58 123 34 83 116 114 105 110 103 34 58 34 109 101 114 99 104 97 110 116 95 107 101 121 95 115 101 110 100 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 84 121 112 101 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 80 111 115 115 105 98 108 101 75 101 121 115 34 58 123 34 83 116 114 105 110 103 34 58 34 114 101 102 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 75 101 121 76 101 110 34 58 123 34 83 116 114 105 110 103 34 58 34 117 100 120 95 107 101 121 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 101 102 34 58 123 34 83 116 114 105 110 103 34 58 34 49 50 50 34 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 82 111 119 115 34 58 123 34 73 110 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 116 114 117 101 125 44 34 70 105 108 116 101 114 101 100 34 58 123 34 70 108 111 97 116 54 52 34 58 48 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 44 34 69 120 116 114 97 34 58 123 34 83 116 114 105 110 103 34 58 34 34 44 34 86 97 108 105 100 34 58 102 97 108 115 101 125 125 93] 100 1545 xlsx 2025-11-26 17:53:20.478074 +0800 CST m=+151.900856376 2025-11-26 17:53:20.478074 +0800 CST m=+151.900856459]
+{"bytes":84,"duration_ms":400,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:20+08:00"}
+job_id=47 sql=UPDATE export_jobs SET status=?, started_at=? WHERE id= ? args=[running 2025-11-26 17:53:20.578363 +0800 CST m=+152.001144876 47]
+{"bytes":1695,"duration_ms":325,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:20+08:00"}
+{"bytes":1697,"duration_ms":261,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:21+08:00"}
+{"bytes":1697,"duration_ms":232,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:22+08:00"}
+{"bytes":1698,"duration_ms":238,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:23+08:00"}
+{"bytes":1698,"duration_ms":264,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:24+08:00"}
+{"bytes":1698,"duration_ms":243,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:25+08:00"}
+{"bytes":1700,"duration_ms":262,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:26+08:00"}
+{"bytes":1700,"duration_ms":264,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:27+08:00"}
+{"bytes":1700,"duration_ms":269,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:53:28+08:00"}
+{"bytes":870,"duration_ms":154,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:54:03+08:00"}
+{"bytes":925,"duration_ms":18,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:54:03+08:00"}
+{"bytes":1614,"duration_ms":20,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:54:03+08:00"}
+{"bytes":1040,"duration_ms":161,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:54:08+08:00"}
+{"bytes":914,"duration_ms":110,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:54:11+08:00"}
+{"bytes":77,"duration_ms":16,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:54:11+08:00"}
+{"bytes":1614,"duration_ms":16,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:54:11+08:00"}
+{"bytes":1040,"duration_ms":51,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-26T17:54:16+08:00"}
diff --git a/server/storage/export/job_37_1764066128.zip b/server/storage/export/job_37_1764066128.zip
new file mode 100644
index 0000000..695f952
Binary files /dev/null and b/server/storage/export/job_37_1764066128.zip differ
diff --git a/server/storage/export/job_38_1764066515.zip b/server/storage/export/job_38_1764066515.zip
new file mode 100644
index 0000000..a3a5626
Binary files /dev/null and b/server/storage/export/job_38_1764066515.zip differ
diff --git a/server/storage/export/job_39_1764127301.zip b/server/storage/export/job_39_1764127301.zip
new file mode 100644
index 0000000..9608532
Binary files /dev/null and b/server/storage/export/job_39_1764127301.zip differ
diff --git a/server/storage/export/job_40_1764138940.zip b/server/storage/export/job_40_1764138940.zip
new file mode 100644
index 0000000..fd8a3e1
Binary files /dev/null and b/server/storage/export/job_40_1764138940.zip differ
diff --git a/server/storage/export/job_41_1764149510.zip b/server/storage/export/job_41_1764149510.zip
new file mode 100644
index 0000000..addae29
Binary files /dev/null and b/server/storage/export/job_41_1764149510.zip differ
diff --git a/server/storage/export/job_42_1764150535.zip b/server/storage/export/job_42_1764150535.zip
new file mode 100644
index 0000000..d6910c2
Binary files /dev/null and b/server/storage/export/job_42_1764150535.zip differ
diff --git a/server/storage/export/job_43_1764150540.zip b/server/storage/export/job_43_1764150540.zip
new file mode 100644
index 0000000..ddb8fb1
Binary files /dev/null and b/server/storage/export/job_43_1764150540.zip differ
diff --git a/server/storage/export/job_44_1764150701.zip b/server/storage/export/job_44_1764150701.zip
new file mode 100644
index 0000000..70591fa
Binary files /dev/null and b/server/storage/export/job_44_1764150701.zip differ
diff --git a/server/storage/export/job_45_1764150736.zip b/server/storage/export/job_45_1764150736.zip
new file mode 100644
index 0000000..078e0ba
Binary files /dev/null and b/server/storage/export/job_45_1764150736.zip differ
diff --git a/server/storage/export/job_46_1764150767.zip b/server/storage/export/job_46_1764150767.zip
new file mode 100644
index 0000000..aca8983
Binary files /dev/null and b/server/storage/export/job_46_1764150767.zip differ
diff --git a/server/storage/export/job_47_1764150806.zip b/server/storage/export/job_47_1764150806.zip
new file mode 100644
index 0000000..a41e42b
Binary files /dev/null and b/server/storage/export/job_47_1764150806.zip differ
diff --git a/server/storage/export_20251125182208.xlsx b/server/storage/export_20251125182208.xlsx
new file mode 100755
index 0000000..0585344
Binary files /dev/null and b/server/storage/export_20251125182208.xlsx differ
diff --git a/server/storage/export_20251125182834.xlsx b/server/storage/export_20251125182834.xlsx
new file mode 100755
index 0000000..0585344
Binary files /dev/null and b/server/storage/export_20251125182834.xlsx differ
diff --git a/server/storage/export_20251126112138.csv b/server/storage/export_20251126112138.csv
new file mode 100644
index 0000000..f5a55b6
--- /dev/null
+++ b/server/storage/export_20251126112138.csv
@@ -0,0 +1 @@
+订单编号,KEY,支付流水号,订单类型,账号,合同单价,数量,总金额,支付金额,支付方式,支付状态,充值时间,创建时间,更新时间,计划标题,分销商名称,商品名称,官方价,成本价,批次名称,标题,订单状态,商户业务号,是否使用优惠券
diff --git a/server/storage/export_20251126143539.csv b/server/storage/export_20251126143539.csv
new file mode 100644
index 0000000..a7a5d00
--- /dev/null
+++ b/server/storage/export_20251126143539.csv
@@ -0,0 +1,130 @@
+订单编号,KEY,支付流水号,订单类型,账号,合同单价,数量,总金额,支付金额,支付方式,支付状态,充值时间,创建时间,更新时间,计划标题,分销商名称,商品名称,官方价,成本价,批次名称,标题,订单状态,商户业务号,是否使用优惠券
+250103164229642269,AAACuPACtaMPwKBp,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:42:30,2025-01-03 16:42:29,2025-01-03 16:42:31,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡,京东E卡-官方,充值中,,2
+250103164229642269,AAACuPACtaMPwKBp,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:42:30,2025-01-03 16:42:29,2025-01-03 16:42:31,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡,京东E卡-专票-发送,充值中,,2
+250103164229642269,AAACuPACtaMPwKBp,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:42:30,2025-01-03 16:42:29,2025-01-03 16:42:31,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡,京东E卡-专票-不发送,充值中,,2
+250103164650404884,AAACuPAHVMAYkT63,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:46:51,2025-01-03 16:46:50,2025-01-03 16:46:51,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡,京东E卡-官方,充值中,,2
+250103164650404884,AAACuPAHVMAYkT63,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:46:51,2025-01-03 16:46:50,2025-01-03 16:46:51,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡,京东E卡-专票-发送,充值中,,2
+250103164650404884,AAACuPAHVMAYkT63,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:46:51,2025-01-03 16:46:50,2025-01-03 16:46:51,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡,京东E卡-专票-不发送,充值中,,2
+250103171035788837,AAACuPAKn6v2S2Bp,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:10:35,2025-01-03 17:10:35,2025-01-03 17:10:36,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-官方,充值中,,2
+250103171035788837,AAACuPAKn6v2S2Bp,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:10:35,2025-01-03 17:10:35,2025-01-03 17:10:36,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-专票-发送,充值中,,2
+250103171035788837,AAACuPAKn6v2S2Bp,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:10:35,2025-01-03 17:10:35,2025-01-03 17:10:36,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-专票-不发送,充值中,,2
+250103172134180099,AAACuPArryhAGAdQ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:21:34,2025-01-03 17:21:34,2025-01-03 17:21:35,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-官方,充值中,,2
+250103172134180099,AAACuPArryhAGAdQ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:21:34,2025-01-03 17:21:34,2025-01-03 17:21:35,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-专票-发送,充值中,,2
+250103172134180099,AAACuPArryhAGAdQ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:21:34,2025-01-03 17:21:34,2025-01-03 17:21:35,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-专票-不发送,充值中,,2
+250103175142703803,AAACuSAMDKB2Fu8e,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:51:42,2025-01-03 17:51:42,2025-01-03 17:51:43,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡,京东E卡-官方,充值中,,2
+250103175142703803,AAACuSAMDKB2Fu8e,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:51:42,2025-01-03 17:51:42,2025-01-03 17:51:43,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡,京东E卡-专票-发送,充值中,,2
+250103175142703803,AAACuSAMDKB2Fu8e,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:51:42,2025-01-03 17:51:42,2025-01-03 17:51:43,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡,京东E卡-专票-不发送,充值中,,2
+250103175429572077,AAACuTBCCRxPmExj,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-03 17:54:30,2025-01-03 17:54:29,2025-01-03 17:54:31,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡,京东E卡-官方,已完成,,2
+250103175429572077,AAACuTBCCRxPmExj,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-03 17:54:30,2025-01-03 17:54:29,2025-01-03 17:54:31,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡,京东E卡-专票-发送,已完成,,2
+250103175429572077,AAACuTBCCRxPmExj,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-03 17:54:30,2025-01-03 17:54:29,2025-01-03 17:54:31,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡,京东E卡-专票-不发送,已完成,,2
+250103175544562999,AAACuUAV3Ajdsnbn,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-03 17:55:45,2025-01-03 17:55:44,2025-01-03 17:55:45,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡,京东E卡-官方,已完成,,2
+250103175544562999,AAACuUAV3Ajdsnbn,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-03 17:55:45,2025-01-03 17:55:44,2025-01-03 17:55:45,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡,京东E卡-专票-发送,已完成,,2
+250103175544562999,AAACuUAV3Ajdsnbn,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-03 17:55:45,2025-01-03 17:55:44,2025-01-03 17:55:45,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡,京东E卡-专票-不发送,已完成,,2
+250106101536991230,AAACuSAcPQNh8K2V,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:15:37,2025-01-06 10:15:36,2025-01-06 10:15:37,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-官方,充值失败,,2
+250106101536991230,AAACuSAcPQNh8K2V,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:15:37,2025-01-06 10:15:36,2025-01-06 10:15:37,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-专票-发送,充值失败,,2
+250106101536991230,AAACuSAcPQNh8K2V,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:15:37,2025-01-06 10:15:36,2025-01-06 10:15:37,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-专票-不发送,充值失败,,2
+250106103054476637,AAACuUAsSmJXNTfY,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-06 10:30:56,2025-01-06 10:30:54,2025-01-06 10:30:56,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡,京东E卡-官方,已完成,,2
+250106103054476637,AAACuUAsSmJXNTfY,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-06 10:30:56,2025-01-06 10:30:54,2025-01-06 10:30:56,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡,京东E卡-专票-发送,已完成,,2
+250106103054476637,AAACuUAsSmJXNTfY,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-06 10:30:56,2025-01-06 10:30:54,2025-01-06 10:30:56,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡,京东E卡-专票-不发送,已完成,,2
+250106103112499133,AAACuTBQeBzFCQaB,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-06 10:31:13,2025-01-06 10:31:12,2025-01-06 10:31:13,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡,京东E卡-官方,已完成,,2
+250106103112499133,AAACuTBQeBzFCQaB,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-06 10:31:13,2025-01-06 10:31:12,2025-01-06 10:31:13,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡,京东E卡-专票-发送,已完成,,2
+250106103112499133,AAACuTBQeBzFCQaB,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-06 10:31:13,2025-01-06 10:31:12,2025-01-06 10:31:13,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡,京东E卡-专票-不发送,已完成,,2
+250106104636225054,AAACuQDZNxmL7rSJ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:46:37,2025-01-06 10:46:36,2025-01-06 10:46:37,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡,京东E卡-官方,已完成,,2
+250106104636225054,AAACuQDZNxmL7rSJ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:46:37,2025-01-06 10:46:36,2025-01-06 10:46:37,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡,京东E卡-专票-发送,已完成,,2
+250106104636225054,AAACuQDZNxmL7rSJ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:46:37,2025-01-06 10:46:36,2025-01-06 10:46:37,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡,京东E卡-专票-不发送,已完成,,2
+250106105015944536,AAACuSBqp3bfNRrU,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:50:16,2025-01-06 10:50:15,2025-01-06 10:50:16,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-官方,充值失败,,2
+250106105015944536,AAACuSBqp3bfNRrU,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:50:16,2025-01-06 10:50:15,2025-01-06 10:50:16,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-专票-发送,充值失败,,2
+250106105015944536,AAACuSBqp3bfNRrU,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:50:16,2025-01-06 10:50:15,2025-01-06 10:50:16,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡,京东E卡-专票-不发送,充值失败,,2
+250103164229642269,AAACuPACtaMPwKBp,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:42:30,2025-01-03 16:42:29,2025-01-03 16:42:31,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡_专票-发送,京东E卡-专票-发送,充值中,,2
+250103164650404884,AAACuPAHVMAYkT63,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:46:51,2025-01-03 16:46:50,2025-01-03 16:46:51,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡_专票-发送,京东E卡-专票-发送,充值中,,2
+250103171035788837,AAACuPAKn6v2S2Bp,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:10:35,2025-01-03 17:10:35,2025-01-03 17:10:36,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-发送,京东E卡-专票-发送,充值中,,2
+250103172134180099,AAACuPArryhAGAdQ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:21:34,2025-01-03 17:21:34,2025-01-03 17:21:35,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-发送,京东E卡-专票-发送,充值中,,2
+250103175142703803,AAACuSAMDKB2Fu8e,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:51:42,2025-01-03 17:51:42,2025-01-03 17:51:43,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡_专票-发送,京东E卡-专票-发送,充值中,,2
+250103175429572077,AAACuTBCCRxPmExj,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-03 17:54:30,2025-01-03 17:54:29,2025-01-03 17:54:31,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡_专票-发送,京东E卡-专票-发送,已完成,,2
+250103175544562999,AAACuUAV3Ajdsnbn,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-03 17:55:45,2025-01-03 17:55:44,2025-01-03 17:55:45,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡_专票-发送,京东E卡-专票-发送,已完成,,2
+250106101536991230,AAACuSAcPQNh8K2V,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:15:37,2025-01-06 10:15:36,2025-01-06 10:15:37,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-发送,京东E卡-专票-发送,充值失败,,2
+250106103054476637,AAACuUAsSmJXNTfY,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-06 10:30:56,2025-01-06 10:30:54,2025-01-06 10:30:56,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡_专票-发送,京东E卡-专票-发送,已完成,,2
+250106103112499133,AAACuTBQeBzFCQaB,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-06 10:31:13,2025-01-06 10:31:12,2025-01-06 10:31:13,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡_专票-发送,京东E卡-专票-发送,已完成,,2
+250106104636225054,AAACuQDZNxmL7rSJ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:46:37,2025-01-06 10:46:36,2025-01-06 10:46:37,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡_专票-发送,京东E卡-专票-发送,已完成,,2
+250106105015944536,AAACuSBqp3bfNRrU,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:50:16,2025-01-06 10:50:15,2025-01-06 10:50:16,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-发送,京东E卡-专票-发送,充值失败,,2
+250103164229642269,AAACuPACtaMPwKBp,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:42:30,2025-01-03 16:42:29,2025-01-03 16:42:31,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡_官方,京东E卡-官方,充值中,,2
+250103164650404884,AAACuPAHVMAYkT63,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:46:51,2025-01-03 16:46:50,2025-01-03 16:46:51,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡_官方,京东E卡-官方,充值中,,2
+250103171035788837,AAACuPAKn6v2S2Bp,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:10:35,2025-01-03 17:10:35,2025-01-03 17:10:36,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_官方,京东E卡-官方,充值中,,2
+250103172134180099,AAACuPArryhAGAdQ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:21:34,2025-01-03 17:21:34,2025-01-03 17:21:35,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_官方,京东E卡-官方,充值中,,2
+250103175142703803,AAACuSAMDKB2Fu8e,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:51:42,2025-01-03 17:51:42,2025-01-03 17:51:43,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡_官方,京东E卡-官方,充值中,,2
+250103175429572077,AAACuTBCCRxPmExj,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-03 17:54:30,2025-01-03 17:54:29,2025-01-03 17:54:31,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡_官方,京东E卡-官方,已完成,,2
+250103175544562999,AAACuUAV3Ajdsnbn,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-03 17:55:45,2025-01-03 17:55:44,2025-01-03 17:55:45,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡_官方,京东E卡-官方,已完成,,2
+250106101536991230,AAACuSAcPQNh8K2V,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:15:37,2025-01-06 10:15:36,2025-01-06 10:15:37,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_官方,京东E卡-官方,充值失败,,2
+250106103054476637,AAACuUAsSmJXNTfY,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-06 10:30:56,2025-01-06 10:30:54,2025-01-06 10:30:56,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡_官方,京东E卡-官方,已完成,,2
+250106103112499133,AAACuTBQeBzFCQaB,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-06 10:31:13,2025-01-06 10:31:12,2025-01-06 10:31:13,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡_官方,京东E卡-官方,已完成,,2
+250106104636225054,AAACuQDZNxmL7rSJ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:46:37,2025-01-06 10:46:36,2025-01-06 10:46:37,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡_官方,京东E卡-官方,已完成,,2
+250106105015944536,AAACuSBqp3bfNRrU,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:50:16,2025-01-06 10:50:15,2025-01-06 10:50:16,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_官方,京东E卡-官方,充值失败,,2
+250103164229642269,AAACuPACtaMPwKBp,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:42:30,2025-01-03 16:42:29,2025-01-03 16:42:31,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡_专票-不发送,京东E卡-专票-发送,充值中,,2
+250103164650404884,AAACuPAHVMAYkT63,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:46:51,2025-01-03 16:46:50,2025-01-03 16:46:51,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡_专票-不发送,京东E卡-专票-发送,充值中,,2
+250103171035788837,AAACuPAKn6v2S2Bp,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:10:35,2025-01-03 17:10:35,2025-01-03 17:10:36,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-不发送,京东E卡-专票-发送,充值中,,2
+250103172134180099,AAACuPArryhAGAdQ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:21:34,2025-01-03 17:21:34,2025-01-03 17:21:35,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-不发送,京东E卡-专票-发送,充值中,,2
+250103175142703803,AAACuSAMDKB2Fu8e,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:51:42,2025-01-03 17:51:42,2025-01-03 17:51:43,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡_专票-不发送,京东E卡-专票-发送,充值中,,2
+250103175429572077,AAACuTBCCRxPmExj,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-03 17:54:30,2025-01-03 17:54:29,2025-01-03 17:54:31,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡_专票-不发送,京东E卡-专票-发送,已完成,,2
+250103175544562999,AAACuUAV3Ajdsnbn,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-03 17:55:45,2025-01-03 17:55:44,2025-01-03 17:55:45,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡_专票-不发送,京东E卡-专票-发送,已完成,,2
+250106101536991230,AAACuSAcPQNh8K2V,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:15:37,2025-01-06 10:15:36,2025-01-06 10:15:37,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-不发送,京东E卡-专票-发送,充值失败,,2
+250106103054476637,AAACuUAsSmJXNTfY,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-06 10:30:56,2025-01-06 10:30:54,2025-01-06 10:30:56,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡_专票-不发送,京东E卡-专票-发送,已完成,,2
+250106103112499133,AAACuTBQeBzFCQaB,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-06 10:31:13,2025-01-06 10:31:12,2025-01-06 10:31:13,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡_专票-不发送,京东E卡-专票-发送,已完成,,2
+250106104636225054,AAACuQDZNxmL7rSJ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:46:37,2025-01-06 10:46:36,2025-01-06 10:46:37,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡_专票-不发送,京东E卡-专票-发送,已完成,,2
+250106105015944536,AAACuSBqp3bfNRrU,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:50:16,2025-01-06 10:50:15,2025-01-06 10:50:16,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-不发送,京东E卡-专票-发送,充值失败,,2
+250103164229642269,AAACuPACtaMPwKBp,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:42:30,2025-01-03 16:42:29,2025-01-03 16:42:31,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,直充,直充,充值中,,2
+250103164650404884,AAACuPAHVMAYkT63,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:46:51,2025-01-03 16:46:50,2025-01-03 16:46:51,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,直充,直充,充值中,,2
+250103171035788837,AAACuPAKn6v2S2Bp,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:10:35,2025-01-03 17:10:35,2025-01-03 17:10:36,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,直充,直充,充值中,,2
+250103172134180099,AAACuPArryhAGAdQ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:21:34,2025-01-03 17:21:34,2025-01-03 17:21:35,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,直充,直充,充值中,,2
+250103175142703803,AAACuSAMDKB2Fu8e,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:51:42,2025-01-03 17:51:42,2025-01-03 17:51:43,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,直充,直充,充值中,,2
+250103175429572077,AAACuTBCCRxPmExj,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-03 17:54:30,2025-01-03 17:54:29,2025-01-03 17:54:31,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,直充,直充,已完成,,2
+250103175544562999,AAACuUAV3Ajdsnbn,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-03 17:55:45,2025-01-03 17:55:44,2025-01-03 17:55:45,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,直充,直充,已完成,,2
+250106101536991230,AAACuSAcPQNh8K2V,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:15:37,2025-01-06 10:15:36,2025-01-06 10:15:37,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,直充,直充,充值失败,,2
+250106103054476637,AAACuUAsSmJXNTfY,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-06 10:30:56,2025-01-06 10:30:54,2025-01-06 10:30:56,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,直充,直充,已完成,,2
+250106103112499133,AAACuTBQeBzFCQaB,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-06 10:31:13,2025-01-06 10:31:12,2025-01-06 10:31:13,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,直充,直充,已完成,,2
+250106104636225054,AAACuQDZNxmL7rSJ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:46:37,2025-01-06 10:46:36,2025-01-06 10:46:37,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,直充,直充,已完成,,2
+250106105015944536,AAACuSBqp3bfNRrU,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:50:16,2025-01-06 10:50:15,2025-01-06 10:50:16,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,直充,直充,充值失败,,2
+250103164229642269,AAACuPACtaMPwKBp,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:42:30,2025-01-03 16:42:29,2025-01-03 16:42:31,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,卡密,卡密,充值中,,2
+250103164650404884,AAACuPAHVMAYkT63,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:46:51,2025-01-03 16:46:50,2025-01-03 16:46:51,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,卡密,卡密,充值中,,2
+250103171035788837,AAACuPAKn6v2S2Bp,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:10:35,2025-01-03 17:10:35,2025-01-03 17:10:36,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,卡密,卡密,充值中,,2
+250103172134180099,AAACuPArryhAGAdQ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:21:34,2025-01-03 17:21:34,2025-01-03 17:21:35,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,卡密,卡密,充值中,,2
+250103175142703803,AAACuSAMDKB2Fu8e,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:51:42,2025-01-03 17:51:42,2025-01-03 17:51:43,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,卡密,卡密,充值中,,2
+250103175429572077,AAACuTBCCRxPmExj,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-03 17:54:30,2025-01-03 17:54:29,2025-01-03 17:54:31,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,卡密,卡密,已完成,,2
+250103175544562999,AAACuUAV3Ajdsnbn,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-03 17:55:45,2025-01-03 17:55:44,2025-01-03 17:55:45,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,卡密,卡密,已完成,,2
+250106101536991230,AAACuSAcPQNh8K2V,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:15:37,2025-01-06 10:15:36,2025-01-06 10:15:37,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,卡密,卡密,充值失败,,2
+250106103054476637,AAACuUAsSmJXNTfY,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-06 10:30:56,2025-01-06 10:30:54,2025-01-06 10:30:56,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,卡密,卡密,已完成,,2
+250106103112499133,AAACuTBQeBzFCQaB,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-06 10:31:13,2025-01-06 10:31:12,2025-01-06 10:31:13,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,卡密,卡密,已完成,,2
+250106104636225054,AAACuQDZNxmL7rSJ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:46:37,2025-01-06 10:46:36,2025-01-06 10:46:37,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,卡密,卡密,已完成,,2
+250106105015944536,AAACuSBqp3bfNRrU,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:50:16,2025-01-06 10:50:15,2025-01-06 10:50:16,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,卡密,卡密,充值失败,,2
+250106103834281327,AAACuZALThk42qNk,,直充卡密,,10.0000,1,10.00,0.00,支付宝,已支付,2025-01-06 10:38:35,2025-01-06 10:38:34,2025-01-06 10:38:35,京东E卡测试-优惠券,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡官方,京东E卡官方,已完成,,1
+250106103910596600,AAACuYBQCvrXSePD,,直充卡密,223232,3.0000,1,3.00,0.00,支付宝,已支付,2025-01-06 10:39:11,2025-01-06 10:39:10,2025-01-06 10:39:12,京东E卡测试-优惠券,京东E卡分销商,爱奇艺黄金会员天卡,6.0000,2.0580,京东E卡官方,京东E卡官方,充值中,,1
+250106103941456562,AAACuXAHnMZajz5k,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已退款,2025-01-06 10:39:42,2025-01-06 10:39:41,2025-01-06 10:39:43,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡官方,京东E卡官方,充值失败,,1
+250106104017226391,AAACuWBBhffLv53H,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已支付,2025-01-06 10:40:18,2025-01-06 10:40:17,2025-01-06 10:40:18,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票发送,58.0000,58.0000,京东E卡官方,京东E卡官方,已完成,,1
+250106103834281327,AAACuZALThk42qNk,,直充卡密,,10.0000,1,10.00,0.00,支付宝,已支付,2025-01-06 10:38:35,2025-01-06 10:38:34,2025-01-06 10:38:35,京东E卡测试-优惠券,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡专票发送,京东E卡官方发送,已完成,,1
+250106103910596600,AAACuYBQCvrXSePD,,直充卡密,223232,3.0000,1,3.00,0.00,支付宝,已支付,2025-01-06 10:39:11,2025-01-06 10:39:10,2025-01-06 10:39:12,京东E卡测试-优惠券,京东E卡分销商,爱奇艺黄金会员天卡,6.0000,2.0580,京东E卡专票发送,京东E卡官方发送,充值中,,1
+250106103941456562,AAACuXAHnMZajz5k,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已退款,2025-01-06 10:39:42,2025-01-06 10:39:41,2025-01-06 10:39:43,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡专票发送,京东E卡官方发送,充值失败,,1
+250106104017226391,AAACuWBBhffLv53H,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已支付,2025-01-06 10:40:18,2025-01-06 10:40:17,2025-01-06 10:40:18,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票发送,58.0000,58.0000,京东E卡专票发送,京东E卡官方发送,已完成,,1
+250106103834281327,AAACuZALThk42qNk,,直充卡密,,10.0000,1,10.00,0.00,支付宝,已支付,2025-01-06 10:38:35,2025-01-06 10:38:34,2025-01-06 10:38:35,京东E卡测试-优惠券,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡专票不发送,京东E卡官方不发送,已完成,,1
+250106103910596600,AAACuYBQCvrXSePD,,直充卡密,223232,3.0000,1,3.00,0.00,支付宝,已支付,2025-01-06 10:39:11,2025-01-06 10:39:10,2025-01-06 10:39:12,京东E卡测试-优惠券,京东E卡分销商,爱奇艺黄金会员天卡,6.0000,2.0580,京东E卡专票不发送,京东E卡官方不发送,充值中,,1
+250106103941456562,AAACuXAHnMZajz5k,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已退款,2025-01-06 10:39:42,2025-01-06 10:39:41,2025-01-06 10:39:43,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡专票不发送,京东E卡官方不发送,充值失败,,1
+250106104017226391,AAACuWBBhffLv53H,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已支付,2025-01-06 10:40:18,2025-01-06 10:40:17,2025-01-06 10:40:18,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票发送,58.0000,58.0000,京东E卡专票不发送,京东E卡官方不发送,已完成,,1
+250106103834281327,AAACuZALThk42qNk,,直充卡密,,10.0000,1,10.00,0.00,支付宝,已支付,2025-01-06 10:38:35,2025-01-06 10:38:34,2025-01-06 10:38:35,京东E卡测试-优惠券,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,直充,直充,已完成,,1
+250106103910596600,AAACuYBQCvrXSePD,,直充卡密,223232,3.0000,1,3.00,0.00,支付宝,已支付,2025-01-06 10:39:11,2025-01-06 10:39:10,2025-01-06 10:39:12,京东E卡测试-优惠券,京东E卡分销商,爱奇艺黄金会员天卡,6.0000,2.0580,直充,直充,充值中,,1
+250106103941456562,AAACuXAHnMZajz5k,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已退款,2025-01-06 10:39:42,2025-01-06 10:39:41,2025-01-06 10:39:43,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,直充,直充,充值失败,,1
+250106104017226391,AAACuWBBhffLv53H,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已支付,2025-01-06 10:40:18,2025-01-06 10:40:17,2025-01-06 10:40:18,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票发送,58.0000,58.0000,直充,直充,已完成,,1
+250106103834281327,AAACuZALThk42qNk,,直充卡密,,10.0000,1,10.00,0.00,支付宝,已支付,2025-01-06 10:38:35,2025-01-06 10:38:34,2025-01-06 10:38:35,京东E卡测试-优惠券,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,卡密,卡密,已完成,,1
+250106103910596600,AAACuYBQCvrXSePD,,直充卡密,223232,3.0000,1,3.00,0.00,支付宝,已支付,2025-01-06 10:39:11,2025-01-06 10:39:10,2025-01-06 10:39:12,京东E卡测试-优惠券,京东E卡分销商,爱奇艺黄金会员天卡,6.0000,2.0580,卡密,卡密,充值中,,1
+250106103941456562,AAACuXAHnMZajz5k,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已退款,2025-01-06 10:39:42,2025-01-06 10:39:41,2025-01-06 10:39:43,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,卡密,卡密,充值失败,,1
+250106104017226391,AAACuWBBhffLv53H,,直充卡密,15708432566,60.0000,1,60.00,0.00,支付宝,已支付,2025-01-06 10:40:18,2025-01-06 10:40:17,2025-01-06 10:40:18,京东E卡测试-优惠券,京东E卡分销商,浦上京东5元测试-专票发送,58.0000,58.0000,卡密,卡密,已完成,,1
+250103164229642269,AAACuPACtaMPwKBp,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:42:30,2025-01-03 16:42:29,2025-01-03 16:42:31,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡_专票-发送_2,京东E卡-专票-发送,充值中,,2
+250103164650404884,AAACuPAHVMAYkT63,,直充卡密,15708432566,20.0000,1,20.00,,,待支付,2025-01-03 16:46:51,2025-01-03 16:46:50,2025-01-03 16:46:51,京东E卡测试,京东E卡分销商,QQ音乐绿钻月卡-专票-不发送,15.0000,13.5000,京东E卡_专票-发送_2,京东E卡-专票-发送,充值中,,2
+250103171035788837,AAACuPAKn6v2S2Bp,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:10:35,2025-01-03 17:10:35,2025-01-03 17:10:36,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-发送_2,京东E卡-专票-发送,充值中,,2
+250103172134180099,AAACuPArryhAGAdQ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:21:34,2025-01-03 17:21:34,2025-01-03 17:21:35,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-发送_2,京东E卡-专票-发送,充值中,,2
+250103175142703803,AAACuSAMDKB2Fu8e,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-03 17:51:42,2025-01-03 17:51:42,2025-01-03 17:51:43,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡_专票-发送_2,京东E卡-专票-发送,充值中,,2
+250103175429572077,AAACuTBCCRxPmExj,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-03 17:54:30,2025-01-03 17:54:29,2025-01-03 17:54:31,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡_专票-发送_2,京东E卡-专票-发送,已完成,,2
+250103175544562999,AAACuUAV3Ajdsnbn,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-03 17:55:45,2025-01-03 17:55:44,2025-01-03 17:55:45,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡_专票-发送_2,京东E卡-专票-发送,已完成,,2
+250106101536991230,AAACuSAcPQNh8K2V,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:15:37,2025-01-06 10:15:36,2025-01-06 10:15:37,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-发送_2,京东E卡-专票-发送,充值失败,,2
+250106103054476637,AAACuUAsSmJXNTfY,,直充卡密,,10.0000,1,10.00,,,待支付,2025-01-06 10:30:56,2025-01-06 10:30:54,2025-01-06 10:30:56,京东E卡测试,京东E卡分销商,爱奇艺月卡-卡密,20.0000,7.9200,京东E卡_专票-发送_2,京东E卡-专票-发送,已完成,,2
+250106103112499133,AAACuTBQeBzFCQaB,,直充卡密,15708432566,50.0000,1,50.00,,,待支付,2025-01-06 10:31:13,2025-01-06 10:31:12,2025-01-06 10:31:13,京东E卡测试,京东E卡分销商,爱奇艺黄金会员季卡,58.0000,30.7400,京东E卡_专票-发送_2,京东E卡-专票-发送,已完成,,2
+250106104636225054,AAACuQDZNxmL7rSJ,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:46:37,2025-01-06 10:46:36,2025-01-06 10:46:37,京东E卡测试,京东E卡分销商,浦上京东5元测试,58.0000,58.0000,京东E卡_专票-发送_2,京东E卡-专票-发送,已完成,,2
+250106105015944536,AAACuSBqp3bfNRrU,,直充卡密,15708432566,60.0000,1,60.00,,,待支付,2025-01-06 10:50:16,2025-01-06 10:50:15,2025-01-06 10:50:16,京东E卡测试,京东E卡分销商,浦上京东5元测试-专票不发送,58.0000,58.0000,京东E卡_专票-发送_2,京东E卡-专票-发送,充值失败,,2
+250619175029989823,AAACuuADfSqWMGXa,,直充卡密,583989020@qq.com,1.0000,1,1.00,0.01,支付宝,待支付,,2025-06-19 17:50:29,2025-06-19 17:50:29,优惠券0619001,PT分销商,爱奇艺黄金会员天卡,6.0000,2.0580,121212121,12121,已取消,,1
diff --git a/server/storage/export_20251126173149.xlsx b/server/storage/export_20251126173149.xlsx
new file mode 100755
index 0000000..201d551
Binary files /dev/null and b/server/storage/export_20251126173149.xlsx differ
diff --git a/server/storage/export_20251126174851.xlsx b/server/storage/export_20251126174851.xlsx
new file mode 100755
index 0000000..201d551
Binary files /dev/null and b/server/storage/export_20251126174851.xlsx differ
diff --git a/server/storage/export_20251126174859.xlsx b/server/storage/export_20251126174859.xlsx
new file mode 100755
index 0000000..7e46343
Binary files /dev/null and b/server/storage/export_20251126174859.xlsx differ
diff --git a/server/storage/export_20251126175140.xlsx b/server/storage/export_20251126175140.xlsx
new file mode 100755
index 0000000..201d551
Binary files /dev/null and b/server/storage/export_20251126175140.xlsx differ
diff --git a/server/storage/export_20251126175215.xlsx b/server/storage/export_20251126175215.xlsx
new file mode 100755
index 0000000..201d551
Binary files /dev/null and b/server/storage/export_20251126175215.xlsx differ
diff --git a/server/storage/export_20251126175246.xlsx b/server/storage/export_20251126175246.xlsx
new file mode 100755
index 0000000..5e9f4f6
Binary files /dev/null and b/server/storage/export_20251126175246.xlsx differ
diff --git a/server/storage/export_20251126175320.xlsx b/server/storage/export_20251126175320.xlsx
new file mode 100755
index 0000000..4741aaa
Binary files /dev/null and b/server/storage/export_20251126175320.xlsx differ
diff --git a/web/index.html b/web/index.html
index a3206f6..28fba0f 100644
--- a/web/index.html
+++ b/web/index.html
@@ -126,13 +126,7 @@
/>
-
-
-
-
-
-
-
+
@@ -204,11 +198,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -233,7 +227,7 @@
-
+
@@ -248,36 +242,14 @@
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -291,9 +263,6 @@
-
-
-
diff --git a/web/main.js b/web/main.js
index 1151af4..b9dd84d 100644
--- a/web/main.js
+++ b/web/main.js
@@ -36,6 +36,16 @@ const { createApp, reactive } = Vue;
})
const API_BASE = 'http://localhost:8077'
+ const getUserId = ()=>{
+ const sp = new URLSearchParams(window.location.search||'')
+ const v = sp.get('userId') || sp.get('userid') || sp.get('user_id')
+ return v && String(v).trim() ? String(v).trim() : ''
+ }
+ const qsUser = ()=>{
+ const uid = getUserId()
+ return uid ? ('?userId=' + encodeURIComponent(uid)) : ''
+ }
+ const hasUserId = Vue.computed(()=> !!getUserId())
const FIELDS_MAP = {
marketing: {
order: [
@@ -48,8 +58,8 @@ const { createApp, reactive } = Vue;
{ value: 'account', label: '账号' },
{ value: 'product_id', label: '商品ID' },
{ value: 'reseller_id', label: '分销商ID' },
- { value: 'plan_id', label: '计划ID' },
- { value: 'key_batch_id', label: 'KEY批次ID' },
+ { value: 'plan_id', label: '计划' },
+ { value: 'key_batch_id', label: 'key批次' },
{ value: 'code_batch_id', label: '兑换批次ID' },
{ value: 'contract_price', label: '合同单价' },
{ value: 'num', label: '数量' },
@@ -163,8 +173,8 @@ const { createApp, reactive } = Vue;
{ value: 'account', label: '账号' },
{ value: 'product_id', label: '商品ID' },
{ value: 'reseller_id', label: '分销商ID' },
- { value: 'plan_id', label: '计划ID' },
- { value: 'key_batch_id', label: 'KEY批次ID' },
+ { value: 'plan_id', label: '计划' },
+ { value: 'key_batch_id', label: 'key批次' },
{ value: 'code_batch_id', label: '兑换批次ID' },
{ value: 'contract_price', label: '合同单价' },
{ value: 'num', label: '数量' },
@@ -273,7 +283,7 @@ const { createApp, reactive } = Vue;
order_cash: '红包订单',
order_voucher: '立减金订单',
plan: '活动计划',
- key_batch: 'KEY批次',
+ key_batch: 'key批次',
code_batch: '兑换码批次',
voucher: '立减金',
voucher_batch: '立减金批次',
@@ -389,8 +399,6 @@ const { createApp, reactive } = Vue;
main_table: [{ required: true, message: '请选择导出场景', trigger: 'change' }],
orderType: [{ required: true, message: '请选择订单类型', trigger: 'change' }],
fieldsSel: [{ validator: (_rule, val, cb)=>{ if(Array.isArray(val) && val.length>0){ cb() } else { cb(new Error('请至少选择一个字段')) } }, trigger: 'change' }],
- permissionMode: [{ required: true, message: '请选择数据权限', trigger: 'change' }],
- creatorRaw: [{ validator: (_r, v, cb)=>{ if(state.form.permissionMode==='creator'){ if(String(v||'').trim()) cb(); else cb(new Error('请输入创建者列表')) } else cb() }, trigger: 'blur' }],
file_format: [{ required: true, message: '请选择输出格式', trigger: 'change' }],
visibility: [{ required: true, message: '请选择可见性', trigger: 'change' }]
}
@@ -465,6 +473,7 @@ const { createApp, reactive } = Vue;
}
const creatorOptions = Vue.ref([])
const resellerOptions = Vue.ref([])
+ const planOptions = Vue.ref([])
const hasCreators = Vue.computed(()=> Array.isArray(state.exportForm.creatorIds) && state.exportForm.creatorIds.length>0 )
const hasReseller = Vue.computed(()=> !!state.exportForm.resellerId)
const hasPlan = Vue.computed(()=> !!state.exportForm.planId)
@@ -488,6 +497,18 @@ const { createApp, reactive } = Vue;
resellerOptions.value = arr.map(it=>({label: (it.name||'') + (it.name?'':'') , value: Number(it.id)}))
}catch(_e){ resellerOptions.value = [] }
}
+ const loadPlans = async ()=>{
+ const rid = state.exportForm.resellerId
+ if(!rid){ planOptions.value = []; return }
+ try{
+ const qs = new URLSearchParams()
+ qs.set('reseller', String(rid))
+ const res = await fetch(API_BASE + '/api/plans?' + qs.toString())
+ const data = await res.json()
+ const arr = Array.isArray(data?.data) ? data.data : (Array.isArray(data) ? data : [])
+ planOptions.value = arr.map(it=>({ label: `${it.id} - ${it.title||''}`, value: Number(it.id) }))
+ }catch(_e){ planOptions.value = [] }
+ }
const exportType = Vue.computed(()=>{
const f = state.exportTpl && state.exportTpl.filters
if(!f) return null
@@ -542,7 +563,7 @@ const { createApp, reactive } = Vue;
}
const loadTemplates = async ()=>{
try{
- const res = await fetch(API_BASE + '/api/templates');
+ const res = await fetch(API_BASE + '/api/templates' + qsUser());
if(!res.ok){
msg('加载模板失败','error');
state.templates = []
@@ -563,7 +584,7 @@ const { createApp, reactive } = Vue;
qs.set('page', String(page))
qs.set('page_size', String(state.jobsPageSize))
if(state.jobsTplId){ qs.set('template_id', String(state.jobsTplId)) }
- const res = await fetch(API_BASE + '/api/exports?' + qs.toString());
+ const res = await fetch(API_BASE + '/api/exports?' + qs.toString() + (qsUser()?('&'+qsUser().slice(1)):'') );
if(!res.ok){ state.jobs = []; return }
const data = await res.json();
const payload = data?.data || data || {}
@@ -627,9 +648,10 @@ const { createApp, reactive } = Vue;
fields,
filters: { type_eq: Number(state.form.orderType) },
file_format: state.form.file_format,
- visibility: state.form.visibility
+ visibility: state.form.visibility,
+ owner_id: (getUserId()? Number(getUserId()) : (state.form.visibility==='public'? 0 : 0))
}
- const res = await fetch(API_BASE + '/api/templates',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify(payload)});
+ const res = await fetch(API_BASE + '/api/templates' + qsUser(),{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify(payload)});
if(res.ok){ msg('创建成功'); state.createVisible=false; loadTemplates() } else { msg(await res.text(),'error') }
}
const openExport = async (row)=>{
@@ -638,6 +660,8 @@ const { createApp, reactive } = Vue;
state.exportForm.datasource = state.exportTpl.datasource || row.datasource || 'marketing'
state.exportForm.file_format = state.exportTpl.file_format || row.file_format || 'xlsx'
if(state.exportForm.datasource==='marketing'){ loadCreators() }
+ const uid = getUserId()
+ if(uid){ state.exportForm.creatorIds = [ Number(uid) ] }
if(!Array.isArray(state.exportForm.dateRange) || state.exportForm.dateRange.length!==2){ state.exportForm.dateRange = yearRange() }
state.exportVisible = true
}
@@ -659,22 +683,20 @@ const { createApp, reactive } = Vue;
const tVal = exportType.value
if(tVal != null){ filters.type_eq = Number(tVal) }
if(Array.isArray(state.exportForm.dateRange) && state.exportForm.dateRange.length===2){ filters.create_time_between = [ state.exportForm.dateRange[0], state.exportForm.dateRange[1] ] }
- if(state.exportForm.outTradeNo){ filters.out_trade_no_eq = state.exportForm.outTradeNo }
- if(state.exportForm.account){ filters.account_eq = state.exportForm.account }
+
if(state.exportForm.planId){ filters.plan_id_eq = Number(state.exportForm.planId) }
- if(state.exportForm.productId){ filters.product_id_eq = Number(state.exportForm.productId) }
+
if(state.exportForm.resellerId){ filters.reseller_id_eq = Number(state.exportForm.resellerId) }
- if(state.exportForm.keyBatchId){ filters.key_batch_id_eq = Number(state.exportForm.keyBatchId) }
- if(state.exportForm.codeBatchId){ filters.code_batch_id_eq = Number(state.exportForm.codeBatchId) }
+
if(state.exportForm.cashActivityId){ filters.order_cash_cash_activity_id_eq = state.exportForm.cashActivityId }
if(state.exportForm.voucherChannelActivityId){ filters.order_voucher_channel_activity_id_eq = state.exportForm.voucherChannelActivityId }
if(state.exportForm.voucherBatchChannelActivityId){ filters.voucher_batch_channel_activity_id_eq = state.exportForm.voucherBatchChannelActivityId }
- if(state.exportForm.outBizNo){ filters.merchant_out_biz_no_eq = state.exportForm.outBizNo }
+
if(Array.isArray(state.exportForm.creatorIds) && state.exportForm.creatorIds.length){ filters.creator_in = state.exportForm.creatorIds.map(Number) }
else if(state.exportForm.creatorIdsRaw){ const arr = String(state.exportForm.creatorIdsRaw).split(',').map(s=>s.trim()).filter(Boolean); if(arr.length){ filters.creator_in = arr } }
const payload={template_id:Number(id),requested_by:1,permission:{},options:{},filters, file_format: state.exportForm.file_format, datasource: state.exportForm.datasource};
- const r=await fetch(API_BASE + '/api/exports',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify(payload)});
+ const r=await fetch(API_BASE + '/api/exports' + qsUser(),{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify(payload)});
const j=await r.json();
const jid = j?.data?.id ?? j?.id
state.exportVisible=false
@@ -686,7 +708,7 @@ const { createApp, reactive } = Vue;
} else { msg('任务创建返回异常','error') }
}
Vue.watch(()=>state.exportForm.creatorIds, ()=>{ state.exportForm.resellerId=null; state.exportForm.planId=null; state.exportForm.keyBatchId=null; state.exportForm.codeBatchId=null; state.exportForm.productId=null; loadResellers() })
- Vue.watch(()=>state.exportForm.resellerId, ()=>{ state.exportForm.planId=null; state.exportForm.keyBatchId=null; state.exportForm.codeBatchId=null; state.exportForm.productId=null })
+ Vue.watch(()=>state.exportForm.resellerId, ()=>{ state.exportForm.planId=null; state.exportForm.keyBatchId=null; state.exportForm.codeBatchId=null; state.exportForm.productId=null; loadPlans() })
Vue.watch(()=>state.exportForm.planId, ()=>{ state.exportForm.keyBatchId=null; state.exportForm.codeBatchId=null; state.exportForm.productId=null })
Vue.watch(()=>state.exportForm.keyBatchId, ()=>{ state.exportForm.codeBatchId=null; state.exportForm.productId=null })
Vue.watch(()=>state.exportForm.codeBatchId, ()=>{ state.exportForm.productId=null })
@@ -818,8 +840,22 @@ const { createApp, reactive } = Vue;
}
loadTemplates()
- return { ...Vue.toRefs(state), visibilityOptions, formatOptions, datasourceOptions, fieldOptions, editFieldOptions, loadTemplates, createTemplate, openExport, submitExport, loadJob, loadJobs, openJobs, closeJobs, download, openSQL, openEdit, saveEdit, removeTemplate, resizeDialog, createRules, exportRules, editRules, createFormRef, exportFormRef, editFormRef, dsLabel, exportType, isOrder, exportTitle, creatorOptions, resellerOptions, hasCreators, hasReseller, hasPlan, hasKeyBatch, hasCodeBatch, jobPercent, fmtDT, fieldsCascader, editFieldsCascader, createCascaderRoot, editCascaderRoot, onCascaderVisible, onFieldsSelChange }
+ return { ...Vue.toRefs(state), visibilityOptions, formatOptions, datasourceOptions, fieldOptions, editFieldOptions, loadTemplates, createTemplate, openExport, submitExport, loadJob, loadJobs, openJobs, closeJobs, download, openSQL, openEdit, saveEdit, removeTemplate, resizeDialog, createRules, exportRules, editRules, createFormRef, exportFormRef, editFormRef, dsLabel, exportType, isOrder, exportTitle, creatorOptions, resellerOptions, planOptions, hasCreators, hasReseller, hasPlan, hasKeyBatch, hasCodeBatch, jobPercent, fmtDT, fieldsCascader, editFieldsCascader, createCascaderRoot, editCascaderRoot, onCascaderVisible, onFieldsSelChange, hasUserId }
}
})
app.use(ElementPlus)
app.mount('#app')
+ const DEFAULT_FIELDS = {
+ marketing: 'order_number,creator,out_trade_no,type,status,contract_price,num,total,pay_amount,create_time',
+ ymt: 'order_number,creator,out_trade_no,type,status,contract_price,num,total,pay_amount,create_time'
+ }
+ Vue.watch(()=>state.form.datasource, (ds)=>{
+ state.form.fieldsSel = []
+ state.form.fieldsRaw = DEFAULT_FIELDS[ds] || ''
+ state.form.main_table = 'order'
+ state.form.orderType = 1
+ })
+ Vue.watch(()=>state.edit.datasource, ()=>{
+ state.edit.fieldsSel = []
+ state.edit.main_table = 'order'
+ })