137 lines
55 KiB
Plaintext
137 lines
55 KiB
Plaintext
connecting YMT MySQL: : db user
|
|
connecting Marketing MySQL: : db user
|
|
YMT MySQL DSN missing: host, port, user, name required
|
|
connecting YMT MySQL: : db user
|
|
connecting Marketing MySQL: : db user
|
|
YMT MySQL DSN missing: host, port, user, name required
|
|
connecting YMT MySQL: : db user
|
|
connecting Marketing MySQL: : db user
|
|
YMT MySQL DSN missing: host, port, user, name required
|
|
connecting YMT MySQL: : db user
|
|
connecting Marketing MySQL: : db user
|
|
YMT MySQL DSN missing: host, port, user, name required
|
|
connecting YMT MySQL: : db user
|
|
connecting Marketing MySQL: : db user
|
|
YMT MySQL DSN missing: host, port, user, name required
|
|
connecting YMT MySQL: : db user
|
|
connecting Marketing MySQL: : db user
|
|
YMT MySQL DSN missing: host, port, user, name required
|
|
connecting YMT MySQL: : db user
|
|
connecting Marketing MySQL: : db user
|
|
YMT MySQL DSN missing: host, port, user, name required
|
|
connecting YMT MySQL: : db user
|
|
connecting Marketing MySQL: : db user
|
|
YMT MySQL DSN missing: host, port, user, name required
|
|
connecting YMT MySQL: : db user
|
|
connecting Marketing MySQL: : db user
|
|
YMT MySQL DSN missing: host, port, user, name required
|
|
connecting YMT MySQL: YOUR_YMT_DB_HOST:3306 db YOUR_YMT_DB_NAME user YOUR_YMT_DB_USER
|
|
connecting Marketing MySQL: YOUR_MARKETING_DB_HOST:3306 db YOUR_MARKETING_DB_NAME user YOUR_MARKETING_DB_USER
|
|
driver: bad connection
|
|
connecting YMT MySQL: YOUR_YMT_DB_HOST:3306 db YOUR_YMT_DB_NAME user YOUR_YMT_DB_USER
|
|
connecting Marketing MySQL: 192.168.6.92:3306 db market user root
|
|
driver: bad connection
|
|
connecting YMT MySQL: 47.97.27.195:3306 db YOUR_YMT_DB_NAME user YOUR_YMT_DB_USER
|
|
connecting Marketing MySQL: 192.168.6.92:3306 db market user root
|
|
Error 1045 (28000): Access denied for user 'YOUR_YMT_DB_USER'@'117.175.169.61' (using password: YES)
|
|
connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
|
|
connecting Marketing MySQL: 192.168.6.92:3306 db market user root
|
|
server listening on :8077
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
connecting YMT MySQL: lsxd-read.rwlb.rds.aliyuncs.com:3306 db merketing user merketing
|
|
connecting Marketing MySQL: market-read-only.rwlb.cn-chengdu.rds.aliyuncs.com:3306 db market user market_root
|
|
server listening on :8077
|
|
trace_id=7e090b0797e37d3e3d8075b46c1bed20 status=500 file=response.go:43 method=GET path=/api/templates query= remote=172.17.0.1:55100 payload= msg=Error 1146 (42S02): Table 'merketing.export_templates' doesn't exist
|
|
{"bytes":145,"duration_ms":55,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-28T09:20:07Z"}
|
|
{"bytes":19525,"duration_ms":296,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:20:07Z"}
|
|
trace_id=a6ab87ea3335e77c2400d69fba0b51c0 status=500 file=response.go:43 method=GET path=/api/templates query= remote=172.17.0.1:55108 payload= msg=Error 1146 (42S02): Table 'merketing.export_templates' doesn't exist
|
|
{"bytes":145,"duration_ms":58,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-28T09:20:12Z"}
|
|
{"bytes":19525,"duration_ms":271,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:20:12Z"}
|
|
trace_id=9a19479844bb01b31201797c975b3aed status=500 file=response.go:43 method=GET path=/api/templates query= remote=172.17.0.1:55118 payload= msg=Error 1146 (42S02): Table 'merketing.export_templates' doesn't exist
|
|
{"bytes":145,"duration_ms":50,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-28T09:20:19Z"}
|
|
{"bytes":19525,"duration_ms":284,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:20:20Z"}
|
|
{"bytes":77,"duration_ms":80,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:22:05Z"}
|
|
{"bytes":19525,"duration_ms":325,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:22:05Z"}
|
|
{"bytes":1983,"duration_ms":49,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:22:36Z"}
|
|
{"bytes":19525,"duration_ms":231,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:22:37Z"}
|
|
{"bytes":913,"duration_ms":107,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:22:49Z"}
|
|
{"bytes":1900,"duration_ms":38,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:22:49Z"}
|
|
{"bytes":869,"duration_ms":104,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:23:07Z"}
|
|
{"bytes":1900,"duration_ms":43,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:23:07Z"}
|
|
trace_id=0c2404a6e4529ebbc12d391e86a16e89 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`.status WHEN 0 THEN '待充值' WHEN 1 THEN '充值中' WHEN 2 THEN '已完成' WHEN 3 THEN '充值失败' WHEN 4 THEN '已取消' WHEN 5 THEN '已过期' WHEN 6 THEN '待支付' 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`.create_time BETWEEN ? AND ? AND `order`.type = ? args=[2025-11-29 00:00:00 2025-11-30 00:00:00 3]
|
|
trace_id=0c2404a6e4529ebbc12d391e86a16e89 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 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 49 49 45 50 57 32 48 48 58 48 48 58 48 48 34 44 34 50 48 50 53 45 49 49 45 51 48 32 48 48 58 48 48 58 48 48 34 93 44 34 116 121 112 101 95 101 113 34 58 51 125] [123 125] [123 34 115 113 108 34 58 34 83 69 76 69 67 84 32 96 111 114 100 101 114 96 46 111 114 100 101 114 95 110 117 109 98 101 114 44 96 111 114 100 101 114 96 46 96 107 101 121 96 44 96 111 114 100 101 114 96 46 111 117 116 95 116 114 97 100 101 95 110 111 44 67 65 83 69 32 96 111 114 100 101 114 96 46 116 121 112 101 32 87 72 69 78 32 49 32 84 72 69 78 32 39 231 155 180 229 133 133 229 141 161 229 175 134 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 231 171 139 229 135 143 233 135 145 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 231 186 162 229 140 133 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 116 121 112 101 44 67 65 83 69 32 96 111 114 100 101 114 96 46 115 116 97 116 117 115 32 87 72 69 78 32 48 32 84 72 69 78 32 39 229 190 133 229 133 133 229 128 188 39 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 133 133 229 128 188 228 184 173 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 229 183 178 229 174 140 230 136 144 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 229 133 133 229 128 188 229 164 177 232 180 165 39 32 87 72 69 78 32 52 32 84 72 69 78 32 39 229 183 178 229 143 150 230 182 136 39 32 87 72 69 78 32 53 32 84 72 69 78 32 39 229 183 178 232 191 135 230 156 159 39 32 87 72 69 78 32 54 32 84 72 69 78 32 39 229 190 133 230 148 175 228 187 152 39 32 69 78 68 32 65 83 32 115 116 97 116 117 115 44 96 111 114 100 101 114 96 46 97 99 99 111 117 110 116 44 96 111 114 100 101 114 96 46 99 111 110 116 114 97 99 116 95 112 114 105 99 101 44 96 111 114 100 101 114 96 46 110 117 109 44 96 111 114 100 101 114 96 46 116 111 116 97 108 44 96 111 114 100 101 114 96 46 112 97 121 95 97 109 111 117 110 116 44 67 65 83 69 32 96 111 114 100 101 114 96 46 112 97 121 95 116 121 112 101 32 87 72 69 78 32 49 32 84 72 69 78 32 39 230 148 175 228 187 152 229 174 157 39 32 87 72 69 78 32 53 32 84 72 69 78 32 39 229 190 174 228 191 161 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 112 97 121 95 116 121 112 101 44 67 65 83 69 32 96 111 114 100 101 114 96 46 112 97 121 95 115 116 97 116 117 115 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 190 133 230 148 175 228 187 152 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 229 183 178 230 148 175 228 187 152 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 229 183 178 233 128 128 230 172 190 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 112 97 121 95 115 116 97 116 117 115 44 96 111 114 100 101 114 96 46 117 115 101 95 99 111 117 112 111 110 44 96 111 114 100 101 114 96 46 114 101 99 104 97 114 103 101 95 116 105 109 101 44 96 111 114 100 101 114 96 46 99 114 101 97 116 101 95 116 105 109 101 44 96 111 114 100 101 114 95 100 101 116 97 105 108 96 46 112 108 97 110 95 116 105 116 108 101 44 96 111 114 100 101 114 95 100 101 116 97 105 108 96 46 114 101 115 101 108 108 101 114 95 110 97 109 101 44 96 111 114 100 101 114 95 100 101 116 97 105 108 96 46 112 114 111 100 117 99 116 95 110 97 109 101 44 96 111 114 100 101 114 95 100 101 116 97 105 108 96 46 111 102 102 105 99 105 97 108 95 112 114 105 99 101 44 96 111 114 100 101 114 95 100 101 116 97 105 108 96 46 99 111 115 116 95 112 114 105 99 101 44 96 112 108 97 110 96 46 116 105 116 108 101 44 96 107 101 121 95 98 97 116 99 104 96 46 98 97 116 99 104 95 110 97 109 101 44 96 99 111 100 101 95 98 97 116 99 104 96 46 116 105 116 108 101 32 70 82 79 77 32 96 111 114 100 101 114 96 32 76 69 70 84 32 74 79 73 78 32 96 111 114 100 101 114 95 100 101 116 97 105 108 96 32 79 78 32 96 111 114 100 101 114 95 100 101 116 97 105 108 96 46 111 114 100 101 114 95 110 117 109 98 101 114 32 61 32 96 111 114 100 101 114 96 46 111 114 100 101 114 95 110 117 109 98 101 114 32 76 69 70 84 32 74 79 73 78 32 96 112 108 97 110 96 32 79 78 32 96 112 108 97 110 96 46 105 100 32 61 32 96 111 114 100 101 114 96 46 112 108 97 110 95 105 100 32 76 69 70 84 32 74 79 73 78 32 96 107 101 121 95 98 97 116 99 104 96 32 79 78 32 96 107 101 121 95 98 97 116 99 104 96 46 112 108 97 110 95 105 100 32 61 32 96 112 108 97 110 96 46 105 100 32 76 69 70 84 32 74 79 73 78 32 96 99 111 100 101 95 98 97 116 99 104 96 32 79 78 32 96 99 111 100 101 95 98 97 116 99 104 96 46 107 101 121 95 98 97 116 99 104 95 105 100 32 61 32 96 107 101 121 95 98 97 116 99 104 96 46 105 100 32 87 72 69 82 69 32 96 111 114 100 101 114 96 46 99 114 101 97 116 101 95 116 105 109 101 32 66 69 84 87 69 69 78 32 63 32 65 78 68 32 63 32 65 78 68 32 96 111 114 100 101 114 96 46 116 121 112 101 32 61 32 63 34 44 34 115 117 103 103 101 115 116 105 111 110 115 34 58 91 34 229 187 186 232 174 174 229 156 168 32 96 111 114 100 101 114 96 40 99 114 101 97 116 101 95 116 105 109 101 41 32 229 187 186 231 171 139 231 180 162 229 188 149 228 187 165 232 166 134 231 155 150 230 151 182 233 151 180 232 140 131 229 155 180 34 93 125] 100 0 xlsx 2025-11-28 09:23:32.781202092 +0000 UTC m=+246.938020280 2025-11-28 09:23:32.781202217 +0000 UTC m=+246.938020405]
|
|
trace_id=0c2404a6e4529ebbc12d391e86a16e89 status=500 file=response.go:43 method=POST path=/api/exports query= remote=172.17.0.1:55152 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,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 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`.create_time BETWEEN ? AND ? AND `order`.type = ? payload={"template_id":14,"requested_by":1,"permission":{},"options":{},"file_format":"xlsx","filters":{"create_time_between":["2025-11-29 00:00:00","2025-11-30 00:00:00"],"type_eq":3},"datasource":"marketing"} msg=Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
{"bytes":165,"duration_ms":308,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-28T09:23:32Z"}
|
|
{"bytes":1983,"duration_ms":55,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:35Z"}
|
|
{"bytes":19525,"duration_ms":268,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:35Z"}
|
|
{"bytes":1983,"duration_ms":47,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:36Z"}
|
|
{"bytes":19525,"duration_ms":227,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:36Z"}
|
|
{"bytes":1983,"duration_ms":51,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:38Z"}
|
|
{"bytes":19525,"duration_ms":239,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:38Z"}
|
|
connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
|
|
connecting Marketing MySQL: 192.168.6.92:3306 db market user root
|
|
server listening on :8077
|
|
{"bytes":1983,"duration_ms":56,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:47Z"}
|
|
{"bytes":19525,"duration_ms":282,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:47Z"}
|
|
{"bytes":1983,"duration_ms":50,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:50Z"}
|
|
{"bytes":19525,"duration_ms":292,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:50Z"}
|
|
{"bytes":1983,"duration_ms":48,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:56Z"}
|
|
{"bytes":19525,"duration_ms":262,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:30:56Z"}
|
|
{"bytes":1983,"duration_ms":57,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:31:10Z"}
|
|
{"bytes":19525,"duration_ms":243,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:31:10Z"}
|
|
{"bytes":1259,"duration_ms":110,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:31:13Z"}
|
|
{"bytes":891,"duration_ms":99,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:31:13Z"}
|
|
trace_id=49a9f280a3926a82acdf01ed6d7c35e5 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[17]
|
|
sql=EXPLAIN SELECT `order_info`.order_no,`order_info`.key_code,`order_info`.out_order_no,CASE `order_info`.type WHEN 1 THEN '现金红包' WHEN 2 THEN '直充' WHEN 3 THEN '立减金' ELSE '' END AS type,CASE `order_info`.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 '订单重置' WHEN 10 THEN '卡单' ELSE '' END AS status,`order_info`.contract_price,`order_info`.num,`order_info`.pay_price,CASE `order_info`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '支付中' WHEN 3 THEN '已支付' WHEN 4 THEN '取消支付' WHEN 5 THEN '退款中' WHEN 6 THEN '退款成功' ELSE '' END AS pay_status,`order_info`.create_time,`order_info`.official_price,`order_info`.merchant_name,`order_info`.activity_name,`order_info`.goods_name,`order_info`.pay_time,`order_info`.discount_amount,`order_info`.cost_price,`order_info`.success_num,`order_info`.channel,`order_info`.out_order_no,`order_info`.recharge_suc_time,`order_info`.key_batch_name,CASE `activity`.settlement_type WHEN 1 THEN '发放结算' WHEN 2 THEN '打开结算' WHEN 3 THEN '领用结算' WHEN 4 THEN '核销结算' ELSE '' END AS settlement_type,`order_voucher`.channel_batch_no,`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 '已退款' 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`.expire_time,`order_voucher`.refund_amount,`order_voucher`.account,`goods_voucher_batch`.channel_batch_no,`goods_voucher_batch`.temp_no,`goods_voucher_subject_config`.name,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' WHEN 3 THEN '云闪付' ELSE '' END AS channel FROM `order_info` LEFT JOIN `order_voucher` ON `order_voucher`.order_no = `order_info`.order_no LEFT JOIN `goods_voucher_batch` ON `goods_voucher_batch`.channel_batch_no = `order_voucher`.channel_batch_no LEFT JOIN `goods_voucher_subject_config` ON `goods_voucher_subject_config`.id = `goods_voucher_batch`.voucher_subject_id LEFT JOIN `activity` ON `activity`.id = `order_info`.activity_id WHERE `order_info`.create_time BETWEEN ? AND ? AND `order_info`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 2]
|
|
trace_id=49a9f280a3926a82acdf01ed6d7c35e5 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=[17 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 50 125] [123 125] [123 34 115 113 108 34 58 34 83 69 76 69 67 84 32 96 111 114 100 101 114 95 105 110 102 111 96 46 111 114 100 101 114 95 110 111 44 96 111 114 100 101 114 95 105 110 102 111 96 46 107 101 121 95 99 111 100 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 111 117 116 95 111 114 100 101 114 95 110 111 44 67 65 83 69 32 96 111 114 100 101 114 95 105 110 102 111 96 46 116 121 112 101 32 87 72 69 78 32 49 32 84 72 69 78 32 39 231 142 176 233 135 145 231 186 162 229 140 133 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 231 155 180 229 133 133 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 231 171 139 229 135 143 233 135 145 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 116 121 112 101 44 67 65 83 69 32 96 111 114 100 101 114 95 105 110 102 111 96 46 115 116 97 116 117 115 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 190 133 229 133 133 229 128 188 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 229 133 133 229 128 188 228 184 173 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 229 133 133 229 128 188 230 136 144 229 138 159 39 32 87 72 69 78 32 52 32 84 72 69 78 32 39 229 133 133 229 128 188 229 164 177 232 180 165 39 32 87 72 69 78 32 53 32 84 72 69 78 32 39 229 183 178 232 191 135 230 156 159 39 32 87 72 69 78 32 54 32 84 72 69 78 32 39 229 183 178 228 189 156 229 186 159 39 32 87 72 69 78 32 55 32 84 72 69 78 32 39 229 183 178 230 160 184 233 148 128 39 32 87 72 69 78 32 56 32 84 72 69 78 32 39 230 160 184 233 148 128 229 164 177 232 180 165 39 32 87 72 69 78 32 57 32 84 72 69 78 32 39 232 174 162 229 141 149 233 135 141 231 189 174 39 32 87 72 69 78 32 49 48 32 84 72 69 78 32 39 229 141 161 229 141 149 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 115 116 97 116 117 115 44 96 111 114 100 101 114 95 105 110 102 111 96 46 99 111 110 116 114 97 99 116 95 112 114 105 99 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 110 117 109 44 96 111 114 100 101 114 95 105 110 102 111 96 46 112 97 121 95 112 114 105 99 101 44 67 65 83 69 32 96 111 114 100 101 114 95 105 110 102 111 96 46 112 97 121 95 115 116 97 116 117 115 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 190 133 230 148 175 228 187 152 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 230 148 175 228 187 152 228 184 173 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 229 183 178 230 148 175 228 187 152 39 32 87 72 69 78 32 52 32 84 72 69 78 32 39 229 143 150 230 182 136 230 148 175 228 187 152 39 32 87 72 69 78 32 53 32 84 72 69 78 32 39 233 128 128 230 172 190 228 184 173 39 32 87 72 69 78 32 54 32 84 72 69 78 32 39 233 128 128 230 172 190 230 136 144 229 138 159 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 112 97 121 95 115 116 97 116 117 115 44 96 111 114 100 101 114 95 105 110 102 111 96 46 99 114 101 97 116 101 95 116 105 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 111 102 102 105 99 105 97 108 95 112 114 105 99 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 109 101 114 99 104 97 110 116 95 110 97 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 97 99 116 105 118 105 116 121 95 110 97 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 103 111 111 100 115 95 110 97 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 112 97 121 95 116 105 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 100 105 115 99 111 117 110 116 95 97 109 111 117 110 116 44 96 111 114 100 101 114 95 105 110 102 111 96 46 99 111 115 116 95 112 114 105 99 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 115 117 99 99 101 115 115 95 110 117 109 44 96 111 114 100 101 114 95 105 110 102 111 96 46 99 104 97 110 110 101 108 44 96 111 114 100 101 114 95 105 110 102 111 96 46 111 117 116 95 111 114 100 101 114 95 110 111 44 96 111 114 100 101 114 95 105 110 102 111 96 46 114 101 99 104 97 114 103 101 95 115 117 99 95 116 105 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 107 101 121 95 98 97 116 99 104 95 110 97 109 101 44 67 65 83 69 32 96 97 99 116 105 118 105 116 121 96 46 115 101 116 116 108 101 109 101 110 116 95 116 121 112 101 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 143 145 230 148 190 231 187 147 231 174 151 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 230 137 147 229 188 128 231 187 147 231 174 151 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 233 162 134 231 148 168 231 187 147 231 174 151 39 32 87 72 69 78 32 52 32 84 72 69 78 32 39 230 160 184 233 148 128 231 187 147 231 174 151 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 115 101 116 116 108 101 109 101 110 116 95 116 121 112 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 99 104 97 110 110 101 108 95 118 111 117 99 104 101 114 95 105 100 44 67 65 83 69 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 115 116 97 116 117 115 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 190 133 229 143 145 230 148 190 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 229 143 145 230 148 190 228 184 173 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 229 143 145 230 148 190 229 164 177 232 180 165 39 32 87 72 69 78 32 52 32 84 72 69 78 32 39 229 190 133 230 160 184 233 148 128 39 32 87 72 69 78 32 53 32 84 72 69 78 32 39 229 183 178 230 160 184 233 148 128 39 32 87 72 69 78 32 54 32 84 72 69 78 32 39 229 183 178 232 191 135 230 156 159 39 32 87 72 69 78 32 55 32 84 72 69 78 32 39 229 183 178 233 128 128 230 172 190 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 115 116 97 116 117 115 44 67 65 83 69 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 114 101 99 101 105 118 101 95 109 111 100 101 32 87 72 69 78 32 49 32 84 72 69 78 32 39 230 184 160 233 129 147 230 142 136 230 157 131 231 148 168 230 136 183 105 100 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 230 137 139 230 156 186 229 143 183 230 136 150 233 130 174 231 174 177 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 114 101 99 101 105 118 101 95 109 111 100 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 103 114 97 110 116 95 116 105 109 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 117 115 97 103 101 95 116 105 109 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 101 120 112 105 114 101 95 116 105 109 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 114 101 102 117 110 100 95 97 109 111 117 110 116 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 97 99 99 111 117 110 116 44 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 46 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 44 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 46 116 101 109 112 95 110 111 44 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 99 111 110 102 105 103 96 46 110 97 109 101 44 67 65 83 69 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 99 104 97 110 110 101 108 32 87 72 69 78 32 49 32 84 72 69 78 32 39 230 148 175 228 187 152 229 174 157 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 229 190 174 228 191 161 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 228 186 145 233 151 170 228 187 152 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 99 104 97 110 110 101 108 32 70 82 79 77 32 96 111 114 100 101 114 95 105 110 102 111 96 32 76 69 70 84 32 74 79 73 78 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 32 79 78 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 111 114 100 101 114 95 110 111 32 61 32 96 111 114 100 101 114 95 105 110 102 111 96 46 111 114 100 101 114 95 110 111 32 76 69 70 84 32 74 79 73 78 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 32 79 78 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 46 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 32 61 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 32 76 69 70 84 32 74 79 73 78 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 99 111 110 102 105 103 96 32 79 78 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 99 111 110 102 105 103 96 46 105 100 32 61 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 46 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 105 100 32 76 69 70 84 32 74 79 73 78 32 96 97 99 116 105 118 105 116 121 96 32 79 78 32 96 97 99 116 105 118 105 116 121 96 46 105 100 32 61 32 96 111 114 100 101 114 95 105 110 102 111 96 46 97 99 116 105 118 105 116 121 95 105 100 32 87 72 69 82 69 32 96 111 114 100 101 114 95 105 110 102 111 96 46 99 114 101 97 116 101 95 116 105 109 101 32 66 69 84 87 69 69 78 32 63 32 65 78 68 32 63 32 65 78 68 32 96 111 114 100 101 114 95 105 110 102 111 96 46 116 121 112 101 32 61 32 63 34 44 34 115 117 103 103 101 115 116 105 111 110 115 34 58 91 34 229 187 186 232 174 174 229 156 168 32 96 111 114 100 101 114 95 105 110 102 111 96 40 99 114 101 97 116 101 95 116 105 109 101 41 32 229 187 186 231 171 139 231 180 162 229 188 149 228 187 165 232 166 134 231 155 150 230 151 182 233 151 180 232 140 131 229 155 180 34 44 34 229 187 186 232 174 174 229 156 168 32 96 111 114 100 101 114 95 105 110 102 111 96 40 111 114 100 101 114 95 110 111 41 32 229 187 186 231 171 139 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 228 184 142 229 173 144 232 161 168 231 154 132 232 191 158 230 142 165 34 44 34 229 187 186 232 174 174 229 156 168 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 40 111 114 100 101 114 95 110 111 41 32 229 187 186 231 171 139 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 228 184 142 228 184 187 232 161 168 231 154 132 232 191 158 230 142 165 34 44 34 229 187 186 232 174 174 229 156 168 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 40 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 41 32 229 187 186 231 171 139 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 228 184 142 232 174 162 229 141 149 231 171 139 229 135 143 233 135 145 231 154 132 232 191 158 230 142 165 34 44 34 229 187 186 232 174 174 229 156 168 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 99 111 110 102 105 103 96 40 105 100 41 32 228 184 138 231 161 174 228 191 157 228 184 187 233 148 174 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 232 191 158 230 142 165 34 44 34 229 187 186 232 174 174 229 156 168 32 96 97 99 116 105 118 105 116 121 96 40 105 100 41 32 228 184 138 231 161 174 228 191 157 228 184 187 233 148 174 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 232 191 158 230 142 165 34 93 125] 100 1413697 xlsx 2025-11-28 09:31:17.491445752 +0000 UTC m=+711.646017449 2025-11-28 09:31:17.491446293 +0000 UTC m=+711.646017741]
|
|
trace_id=49a9f280a3926a82acdf01ed6d7c35e5 status=500 file=response.go:43 method=POST path=/api/exports query= remote=172.17.0.1:55256 sql=SELECT `order_info`.order_no,`order_info`.key_code,`order_info`.out_order_no,CASE `order_info`.type WHEN 1 THEN '现金红包' WHEN 2 THEN '直充' WHEN 3 THEN '立减金' ELSE '' END AS type,CASE `order_info`.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 '订单重置' WHEN 10 THEN '卡单' ELSE '' END AS status,`order_info`.contract_price,`order_info`.num,`order_info`.pay_price,CASE `order_info`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '支付中' WHEN 3 THEN '已支付' WHEN 4 THEN '取消支付' WHEN 5 THEN '退款中' WHEN 6 THEN '退款成功' ELSE '' END AS pay_status,`order_info`.create_time,`order_info`.official_price,`order_info`.merchant_name,`order_info`.activity_name,`order_info`.goods_name,`order_info`.pay_time,`order_info`.discount_amount,`order_info`.cost_price,`order_info`.success_num,`order_info`.channel,`order_info`.out_order_no,`order_info`.recharge_suc_time,`order_info`.key_batch_name,CASE `activity`.settlement_type WHEN 1 THEN '发放结算' WHEN 2 THEN '打开结算' WHEN 3 THEN '领用结算' WHEN 4 THEN '核销结算' ELSE '' END AS settlement_type,`order_voucher`.channel_batch_no,`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 '已退款' 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`.expire_time,`order_voucher`.refund_amount,`order_voucher`.account,`goods_voucher_batch`.channel_batch_no,`goods_voucher_batch`.temp_no,`goods_voucher_subject_config`.name,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' WHEN 3 THEN '云闪付' ELSE '' END AS channel FROM `order_info` LEFT JOIN `order_voucher` ON `order_voucher`.order_no = `order_info`.order_no LEFT JOIN `goods_voucher_batch` ON `goods_voucher_batch`.channel_batch_no = `order_voucher`.channel_batch_no LEFT JOIN `goods_voucher_subject_config` ON `goods_voucher_subject_config`.id = `goods_voucher_batch`.voucher_subject_id LEFT JOIN `activity` ON `activity`.id = `order_info`.activity_id WHERE `order_info`.create_time BETWEEN ? AND ? AND `order_info`.type = ? payload={"template_id":17,"requested_by":1,"permission":{},"options":{},"file_format":"xlsx","filters":{"create_time_between":["2025-01-01 00:00:00","2025-12-31 23:59:59"],"type_eq":2},"datasource":"ymt"} msg=Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
{"bytes":165,"duration_ms":3012,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-28T09:31:17Z"}
|
|
connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
|
|
connecting Marketing MySQL: 192.168.6.92:3306 db market user root
|
|
server listening on :8077
|
|
{"bytes":1983,"duration_ms":59,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:01Z"}
|
|
{"bytes":19525,"duration_ms":277,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:01Z"}
|
|
{"bytes":1983,"duration_ms":49,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:02Z"}
|
|
{"bytes":19525,"duration_ms":272,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:02Z"}
|
|
{"bytes":1983,"duration_ms":46,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:05Z"}
|
|
{"bytes":19525,"duration_ms":254,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:05Z"}
|
|
{"bytes":1983,"duration_ms":56,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:27Z"}
|
|
{"bytes":19525,"duration_ms":1019,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:28Z"}
|
|
{"bytes":1259,"duration_ms":118,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:29Z"}
|
|
{"bytes":891,"duration_ms":101,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-11-28T09:33:29Z"}
|
|
trace_id=7d973ab3d8644ea77afa9878067c3173 sql=SELECT datasource, main_table, fields_json FROM export_templates WHERE id= ? args=[17]
|
|
sql=EXPLAIN SELECT `order_info`.order_no,`order_info`.key_code,`order_info`.out_order_no,CASE `order_info`.type WHEN 1 THEN '现金红包' WHEN 2 THEN '直充' WHEN 3 THEN '立减金' ELSE '' END AS type,CASE `order_info`.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 '订单重置' WHEN 10 THEN '卡单' ELSE '' END AS status,`order_info`.contract_price,`order_info`.num,`order_info`.pay_price,CASE `order_info`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '支付中' WHEN 3 THEN '已支付' WHEN 4 THEN '取消支付' WHEN 5 THEN '退款中' WHEN 6 THEN '退款成功' ELSE '' END AS pay_status,`order_info`.create_time,`order_info`.official_price,`order_info`.merchant_name,`order_info`.activity_name,`order_info`.goods_name,`order_info`.pay_time,`order_info`.discount_amount,`order_info`.cost_price,`order_info`.success_num,`order_info`.channel,`order_info`.out_order_no,`order_info`.recharge_suc_time,`order_info`.key_batch_name,CASE `activity`.settlement_type WHEN 1 THEN '发放结算' WHEN 2 THEN '打开结算' WHEN 3 THEN '领用结算' WHEN 4 THEN '核销结算' ELSE '' END AS settlement_type,`order_voucher`.channel_batch_no,`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 '已退款' 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`.expire_time,`order_voucher`.refund_amount,`order_voucher`.account,`goods_voucher_batch`.channel_batch_no,`goods_voucher_batch`.temp_no,`goods_voucher_subject_config`.name,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' WHEN 3 THEN '云闪付' ELSE '' END AS channel FROM `order_info` LEFT JOIN `order_voucher` ON `order_voucher`.order_no = `order_info`.order_no LEFT JOIN `goods_voucher_batch` ON `goods_voucher_batch`.channel_batch_no = `order_voucher`.channel_batch_no LEFT JOIN `goods_voucher_subject_config` ON `goods_voucher_subject_config`.id = `goods_voucher_batch`.voucher_subject_id LEFT JOIN `activity` ON `activity`.id = `order_info`.activity_id WHERE `order_info`.create_time BETWEEN ? AND ? AND `order_info`.type = ? args=[2025-01-01 00:00:00 2025-12-31 23:59:59 2]
|
|
trace_id=7d973ab3d8644ea77afa9878067c3173 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=[17 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 50 125] [123 125] [123 34 115 113 108 34 58 34 83 69 76 69 67 84 32 96 111 114 100 101 114 95 105 110 102 111 96 46 111 114 100 101 114 95 110 111 44 96 111 114 100 101 114 95 105 110 102 111 96 46 107 101 121 95 99 111 100 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 111 117 116 95 111 114 100 101 114 95 110 111 44 67 65 83 69 32 96 111 114 100 101 114 95 105 110 102 111 96 46 116 121 112 101 32 87 72 69 78 32 49 32 84 72 69 78 32 39 231 142 176 233 135 145 231 186 162 229 140 133 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 231 155 180 229 133 133 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 231 171 139 229 135 143 233 135 145 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 116 121 112 101 44 67 65 83 69 32 96 111 114 100 101 114 95 105 110 102 111 96 46 115 116 97 116 117 115 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 190 133 229 133 133 229 128 188 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 229 133 133 229 128 188 228 184 173 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 229 133 133 229 128 188 230 136 144 229 138 159 39 32 87 72 69 78 32 52 32 84 72 69 78 32 39 229 133 133 229 128 188 229 164 177 232 180 165 39 32 87 72 69 78 32 53 32 84 72 69 78 32 39 229 183 178 232 191 135 230 156 159 39 32 87 72 69 78 32 54 32 84 72 69 78 32 39 229 183 178 228 189 156 229 186 159 39 32 87 72 69 78 32 55 32 84 72 69 78 32 39 229 183 178 230 160 184 233 148 128 39 32 87 72 69 78 32 56 32 84 72 69 78 32 39 230 160 184 233 148 128 229 164 177 232 180 165 39 32 87 72 69 78 32 57 32 84 72 69 78 32 39 232 174 162 229 141 149 233 135 141 231 189 174 39 32 87 72 69 78 32 49 48 32 84 72 69 78 32 39 229 141 161 229 141 149 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 115 116 97 116 117 115 44 96 111 114 100 101 114 95 105 110 102 111 96 46 99 111 110 116 114 97 99 116 95 112 114 105 99 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 110 117 109 44 96 111 114 100 101 114 95 105 110 102 111 96 46 112 97 121 95 112 114 105 99 101 44 67 65 83 69 32 96 111 114 100 101 114 95 105 110 102 111 96 46 112 97 121 95 115 116 97 116 117 115 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 190 133 230 148 175 228 187 152 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 230 148 175 228 187 152 228 184 173 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 229 183 178 230 148 175 228 187 152 39 32 87 72 69 78 32 52 32 84 72 69 78 32 39 229 143 150 230 182 136 230 148 175 228 187 152 39 32 87 72 69 78 32 53 32 84 72 69 78 32 39 233 128 128 230 172 190 228 184 173 39 32 87 72 69 78 32 54 32 84 72 69 78 32 39 233 128 128 230 172 190 230 136 144 229 138 159 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 112 97 121 95 115 116 97 116 117 115 44 96 111 114 100 101 114 95 105 110 102 111 96 46 99 114 101 97 116 101 95 116 105 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 111 102 102 105 99 105 97 108 95 112 114 105 99 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 109 101 114 99 104 97 110 116 95 110 97 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 97 99 116 105 118 105 116 121 95 110 97 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 103 111 111 100 115 95 110 97 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 112 97 121 95 116 105 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 100 105 115 99 111 117 110 116 95 97 109 111 117 110 116 44 96 111 114 100 101 114 95 105 110 102 111 96 46 99 111 115 116 95 112 114 105 99 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 115 117 99 99 101 115 115 95 110 117 109 44 96 111 114 100 101 114 95 105 110 102 111 96 46 99 104 97 110 110 101 108 44 96 111 114 100 101 114 95 105 110 102 111 96 46 111 117 116 95 111 114 100 101 114 95 110 111 44 96 111 114 100 101 114 95 105 110 102 111 96 46 114 101 99 104 97 114 103 101 95 115 117 99 95 116 105 109 101 44 96 111 114 100 101 114 95 105 110 102 111 96 46 107 101 121 95 98 97 116 99 104 95 110 97 109 101 44 67 65 83 69 32 96 97 99 116 105 118 105 116 121 96 46 115 101 116 116 108 101 109 101 110 116 95 116 121 112 101 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 143 145 230 148 190 231 187 147 231 174 151 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 230 137 147 229 188 128 231 187 147 231 174 151 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 233 162 134 231 148 168 231 187 147 231 174 151 39 32 87 72 69 78 32 52 32 84 72 69 78 32 39 230 160 184 233 148 128 231 187 147 231 174 151 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 115 101 116 116 108 101 109 101 110 116 95 116 121 112 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 99 104 97 110 110 101 108 95 118 111 117 99 104 101 114 95 105 100 44 67 65 83 69 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 115 116 97 116 117 115 32 87 72 69 78 32 49 32 84 72 69 78 32 39 229 190 133 229 143 145 230 148 190 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 229 143 145 230 148 190 228 184 173 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 229 143 145 230 148 190 229 164 177 232 180 165 39 32 87 72 69 78 32 52 32 84 72 69 78 32 39 229 190 133 230 160 184 233 148 128 39 32 87 72 69 78 32 53 32 84 72 69 78 32 39 229 183 178 230 160 184 233 148 128 39 32 87 72 69 78 32 54 32 84 72 69 78 32 39 229 183 178 232 191 135 230 156 159 39 32 87 72 69 78 32 55 32 84 72 69 78 32 39 229 183 178 233 128 128 230 172 190 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 115 116 97 116 117 115 44 67 65 83 69 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 114 101 99 101 105 118 101 95 109 111 100 101 32 87 72 69 78 32 49 32 84 72 69 78 32 39 230 184 160 233 129 147 230 142 136 230 157 131 231 148 168 230 136 183 105 100 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 230 137 139 230 156 186 229 143 183 230 136 150 233 130 174 231 174 177 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 114 101 99 101 105 118 101 95 109 111 100 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 103 114 97 110 116 95 116 105 109 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 117 115 97 103 101 95 116 105 109 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 101 120 112 105 114 101 95 116 105 109 101 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 114 101 102 117 110 100 95 97 109 111 117 110 116 44 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 97 99 99 111 117 110 116 44 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 46 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 44 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 46 116 101 109 112 95 110 111 44 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 99 111 110 102 105 103 96 46 110 97 109 101 44 67 65 83 69 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 99 104 97 110 110 101 108 32 87 72 69 78 32 49 32 84 72 69 78 32 39 230 148 175 228 187 152 229 174 157 39 32 87 72 69 78 32 50 32 84 72 69 78 32 39 229 190 174 228 191 161 39 32 87 72 69 78 32 51 32 84 72 69 78 32 39 228 186 145 233 151 170 228 187 152 39 32 69 76 83 69 32 39 39 32 69 78 68 32 65 83 32 99 104 97 110 110 101 108 32 70 82 79 77 32 96 111 114 100 101 114 95 105 110 102 111 96 32 76 69 70 84 32 74 79 73 78 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 32 79 78 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 111 114 100 101 114 95 110 111 32 61 32 96 111 114 100 101 114 95 105 110 102 111 96 46 111 114 100 101 114 95 110 111 32 76 69 70 84 32 74 79 73 78 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 32 79 78 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 46 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 32 61 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 46 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 32 76 69 70 84 32 74 79 73 78 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 99 111 110 102 105 103 96 32 79 78 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 99 111 110 102 105 103 96 46 105 100 32 61 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 46 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 105 100 32 76 69 70 84 32 74 79 73 78 32 96 97 99 116 105 118 105 116 121 96 32 79 78 32 96 97 99 116 105 118 105 116 121 96 46 105 100 32 61 32 96 111 114 100 101 114 95 105 110 102 111 96 46 97 99 116 105 118 105 116 121 95 105 100 32 87 72 69 82 69 32 96 111 114 100 101 114 95 105 110 102 111 96 46 99 114 101 97 116 101 95 116 105 109 101 32 66 69 84 87 69 69 78 32 63 32 65 78 68 32 63 32 65 78 68 32 96 111 114 100 101 114 95 105 110 102 111 96 46 116 121 112 101 32 61 32 63 34 44 34 115 117 103 103 101 115 116 105 111 110 115 34 58 91 34 229 187 186 232 174 174 229 156 168 32 96 111 114 100 101 114 95 105 110 102 111 96 40 99 114 101 97 116 101 95 116 105 109 101 41 32 229 187 186 231 171 139 231 180 162 229 188 149 228 187 165 232 166 134 231 155 150 230 151 182 233 151 180 232 140 131 229 155 180 34 44 34 229 187 186 232 174 174 229 156 168 32 96 111 114 100 101 114 95 105 110 102 111 96 40 111 114 100 101 114 95 110 111 41 32 229 187 186 231 171 139 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 228 184 142 229 173 144 232 161 168 231 154 132 232 191 158 230 142 165 34 44 34 229 187 186 232 174 174 229 156 168 32 96 111 114 100 101 114 95 118 111 117 99 104 101 114 96 40 111 114 100 101 114 95 110 111 41 32 229 187 186 231 171 139 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 228 184 142 228 184 187 232 161 168 231 154 132 232 191 158 230 142 165 34 44 34 229 187 186 232 174 174 229 156 168 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 98 97 116 99 104 96 40 99 104 97 110 110 101 108 95 98 97 116 99 104 95 110 111 41 32 229 187 186 231 171 139 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 228 184 142 232 174 162 229 141 149 231 171 139 229 135 143 233 135 145 231 154 132 232 191 158 230 142 165 34 44 34 229 187 186 232 174 174 229 156 168 32 96 103 111 111 100 115 95 118 111 117 99 104 101 114 95 115 117 98 106 101 99 116 95 99 111 110 102 105 103 96 40 105 100 41 32 228 184 138 231 161 174 228 191 157 228 184 187 233 148 174 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 232 191 158 230 142 165 34 44 34 229 187 186 232 174 174 229 156 168 32 96 97 99 116 105 118 105 116 121 96 40 105 100 41 32 228 184 138 231 161 174 228 191 157 228 184 187 233 148 174 231 180 162 229 188 149 228 187 165 228 188 152 229 140 150 232 191 158 230 142 165 34 93 125] 100 1413719 xlsx 2025-11-28 09:33:33.979110218 +0000 UTC m=+848.134029221 2025-11-28 09:33:33.979110634 +0000 UTC m=+848.134029512]
|
|
trace_id=7d973ab3d8644ea77afa9878067c3173 status=500 file=response.go:43 method=POST path=/api/exports query= remote=172.17.0.1:55316 sql=SELECT `order_info`.order_no,`order_info`.key_code,`order_info`.out_order_no,CASE `order_info`.type WHEN 1 THEN '现金红包' WHEN 2 THEN '直充' WHEN 3 THEN '立减金' ELSE '' END AS type,CASE `order_info`.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 '订单重置' WHEN 10 THEN '卡单' ELSE '' END AS status,`order_info`.contract_price,`order_info`.num,`order_info`.pay_price,CASE `order_info`.pay_status WHEN 1 THEN '待支付' WHEN 2 THEN '支付中' WHEN 3 THEN '已支付' WHEN 4 THEN '取消支付' WHEN 5 THEN '退款中' WHEN 6 THEN '退款成功' ELSE '' END AS pay_status,`order_info`.create_time,`order_info`.official_price,`order_info`.merchant_name,`order_info`.activity_name,`order_info`.goods_name,`order_info`.pay_time,`order_info`.discount_amount,`order_info`.cost_price,`order_info`.success_num,`order_info`.channel,`order_info`.out_order_no,`order_info`.recharge_suc_time,`order_info`.key_batch_name,CASE `activity`.settlement_type WHEN 1 THEN '发放结算' WHEN 2 THEN '打开结算' WHEN 3 THEN '领用结算' WHEN 4 THEN '核销结算' ELSE '' END AS settlement_type,`order_voucher`.channel_batch_no,`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 '已退款' 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`.expire_time,`order_voucher`.refund_amount,`order_voucher`.account,`goods_voucher_batch`.channel_batch_no,`goods_voucher_batch`.temp_no,`goods_voucher_subject_config`.name,CASE `order_voucher`.channel WHEN 1 THEN '支付宝' WHEN 2 THEN '微信' WHEN 3 THEN '云闪付' ELSE '' END AS channel FROM `order_info` LEFT JOIN `order_voucher` ON `order_voucher`.order_no = `order_info`.order_no LEFT JOIN `goods_voucher_batch` ON `goods_voucher_batch`.channel_batch_no = `order_voucher`.channel_batch_no LEFT JOIN `goods_voucher_subject_config` ON `goods_voucher_subject_config`.id = `goods_voucher_batch`.voucher_subject_id LEFT JOIN `activity` ON `activity`.id = `order_info`.activity_id WHERE `order_info`.create_time BETWEEN ? AND ? AND `order_info`.type = ? payload={"template_id":17,"requested_by":1,"permission":{},"options":{},"file_format":"xlsx","filters":{"create_time_between":["2025-01-01 00:00:00","2025-12-31 23:59:59"],"type_eq":2},"datasource":"ymt"} msg=Error 8001 (HY000): Not allowed to execute statement that may change data on polar slave
|
|
{"bytes":165,"duration_ms":2884,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":500,"trace_id":"","ts":"2025-11-28T09:33:34Z"}
|