| 17:52:00.441 | 0.9 ms | SELECT | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:52:00.444 | 0.8 ms | SELECT | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 17:52:00.445 | 0.5 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 17:52:00.447 | 1.9 ms | SELECT | SELECT COUNT(*) FROM ((SELECT
'1' || id::varchar as id,
id as erp_other_payment_ticket_id,
null::integer as erp_cost_ticket_id,
1 as ticket_type,
created_at,
amount,
amount - all_settle_amount as un_paid_amount,
serial_no
FROM "a57be577deb434"."tbl_erp_other_payment_tickets" WHERE ("status"=2) AND ((amount - all_settle_amount > 0) OR (0=1)) AND ("client_id"='3462')) UNION ALL ( SELECT
'2' || id::varchar as id,
null::integer as erp_other_payment_ticket_id,
id as erp_cost_ticket_id,
2 as ticket_type,
created_at,
amount,
amount - all_settle_amount as un_paid_amount,
serial_no
FROM "a57be577deb434"."tbl_erp_cost_tickets" WHERE ("status"=2) AND ((amount - all_settle_amount > 0) OR (0=1)) AND ("client_id"='3462') )) "sub" |
| 17:52:00.449 | 0.8 ms | SELECT | SELECT * FROM ((SELECT
'1' || id::varchar as id,
id as erp_other_payment_ticket_id,
null::integer as erp_cost_ticket_id,
1 as ticket_type,
created_at,
amount,
amount - all_settle_amount as un_paid_amount,
serial_no
FROM "a57be577deb434"."tbl_erp_other_payment_tickets" WHERE ("status"=2) AND ((amount - all_settle_amount > 0) OR (0=1)) AND ("client_id"='3462')) UNION ALL ( SELECT
'2' || id::varchar as id,
null::integer as erp_other_payment_ticket_id,
id as erp_cost_ticket_id,
2 as ticket_type,
created_at,
amount,
amount - all_settle_amount as un_paid_amount,
serial_no
FROM "a57be577deb434"."tbl_erp_cost_tickets" WHERE ("status"=2) AND ((amount - all_settle_amount > 0) OR (0=1)) AND ("client_id"='3462') )) "sub" |
| 17:52:00.454 | 3.0 ms | INSERT | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-collect-ticket/search-paid-items', '{"id":"","client_id":"3462","web_access_token":"1miv9vbRO-laHXjWHcrxyLIdOPR3NCIy"}', '{"code":2000,"result":{"list":[],"can_create":true,"pagenation":{"totalcount":0,"thispage":1,"pagesize":-1}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"39.156.194.178","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-08 17:52:00', 15543808) RETURNING "id" |