| 13:19:55.893 | 32.0 ms | SELECT | SELECT
sum(r.amount) as amount,
count(r.id) as count,
dt1.taxonomy_id as key,
t1.name
FROM "a57be577deb434"."tbl_reimbursements" "r" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = r.client_id LEFT JOIN "a57be577deb434"."tbl_projects" "project" ON project.id = r.project_id LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "dt1" ON dt1.object_id = r.id AND dt1.term_id = 15 LEFT JOIN "a57be577deb434"."tbl_term_taxonomies" "t1" ON dt1.taxonomy_id = t1.id LEFT JOIN "a57be577deb434"."tbl_term_taxonomy_relationships" "dt2" ON dt2.object_id = r.id AND dt2.term_id = 18 AND dt2.object_type = 7 LEFT JOIN "a57be577deb434"."tbl_term_taxonomies" "t2" ON dt2.taxonomy_id = t2.id WHERE (r.status != 0) AND ("r"."created_by" IN (1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1025, 1026, 1027, 1028, 1029, 1030, 5015, 5016, 5022, 5023, 5024, 5025, 5026, 5027, 5028, 5029, 5030, 5031, 5032, 5033, 5037, 5043, 5044, 5045, 5047, 5048, 5049, 5050, 5062, 5063, 5064, 5065, 5066, 5069, 5070, 5071, 5072, 5073, 5074, 5075, 5076, 5078, 5079, 5080, 5081, 5082, 5083, 5085, 5086, 5087, 5088, 5089, 5093, 5094, 5095, 5096, 5101, 5102, 5104, 5105, 5123, 5124, 5125, 5126, 5128, 5135, 5203, 5208, 5209, 5229, 5230, 5247, 5248, 5249, 5250, 5252, 5258, 5259, 5293, 5294, 5295, 5296, 5297, 5298, 5299, 5300, 5301, 5302, 5303, 5304, 5305, 5309, 5311, 5329, 5332, 5333, 5351, 5356, 5357, 5358, 5359, 5360, 5364, 5388, 5393, 5404, 5409, 5411, 5412, 5413, 5419, 5420, 5440, 5445, 5446, 5448, 5449)) AND (("r"."status"='1') OR ("r"."status"='2') OR ("r"."status"='3')) AND ("r"."occurrence_at" >= '2025-01-01 00:00:00') AND ("r"."occurrence_at" <= '2025-12-31 23:59:59') GROUP BY "dt1"."taxonomy_id", "t1"."name" |
| 13:19:55.936 | 1.5 ms | INSERT | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/analysis/reimbursement-circle', '{"status":["1","2","3"],"keyword":"","timeType":"month","period":"fascal2025","to":"","from":""}', '{"code":2000,"result":{"amountCounts":[{"amount":"109260.07","count":662,"key":184,"name":"\u4ea4\u901a\u8d39","y":30.33},{"amount":"78422.10","count":275,"key":307,"name":"\u529e\u516c\u8d39","y":21.77},{"amount":"76025.05","count":120,"key":185,"name":"\u4e1a\u52a1\u62db\u5f85\u8d39","y":21.1},{"amount":"75067.52","count":55,"key":183,"name":"\u5dee\u65c5\u8d39","y":20.84},{"amount":"9041.00","count":13,"key":198,"name":"\u6807\u4e66\u8d39","y":2.51},{"amount":"7497.00","count":1,"key":419,"name":"\u4eba\u529b\u8d44\u6e90\u8d39","y":2.08},{"amount":"4270","count":3,"key":417,"name":"\u6c34\u7535\u51b7\u6696\u8d39","y":1.19},{"amount":"666","count":1,"key":406,"name":"\u4f1a\u8bae\u8d39","y":0.18}],"totalCount":1130,"totalAmount":360248.74},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"223.72.15.22","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko\/20100101 Firefox\/146.0"}', FALSE, '2025-12-18 13:19:55') RETURNING "id" |