16:49:22.274 | 2.2 ms | SELECT | SELECT * FROM "global"."vw_user_login" WHERE "id"=1000 |
16:49:22.277 | 1.6 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
16:49:22.280 | 0.5 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='8144' |
16:49:22.281 | 1.5 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "reimbursement_id"=8144 |
16:49:22.282 | 1.7 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=8144) ORDER BY "id" |
16:49:22.286 | 3.9 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=1661 |
16:49:22.291 | 1.6 ms | UPDATE | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=1661 |
16:49:22.293 | 9.8 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=1661) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
16:49:22.303 | 1.2 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (1661, 1001, 'now()', NULL) RETURNING "id" |
16:49:22.304 | 1.0 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 180911, 'a:5:{s:2:"id";i:180911;s:9:"client_id";i:1661;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '114.244.128.96') |
16:49:22.306 | 0.7 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 1661, 'a:0:{}', '', 1000, '114.244.128.96') |
16:49:22.307 | 0.4 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=8144 |
16:49:22.307 | 0.2 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND (0=1) |
16:49:22.307 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
16:49:22.308 | 1.0 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (3, 'delete', 1661, 10, 8144, 20, 1000, '[8144]', '[8144]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u672a\u8bbe\u7f6e"]}') RETURNING "id" |
16:49:22.309 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 570694, 'a:13:{s:2:"id";i:570694;s:9:"object_id";i:1661;s:11:"object_type";i:10;s:9:"target_id";i:8144;s:18:"target_object_type";i:20;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:6:"[8144]";s:9:"new_value";s:6:"[8144]";s:11:"description";s:113:"{"d1":"\u66f9\u6c38\u751f","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u672a\u8bbe\u7f6e"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '114.244.128.96') |
16:49:22.310 | 15.7 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=8144) AND ("object_type"=20) |
16:49:22.326 | 12.1 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=8144) AND ("object_type"=20) |
16:49:22.338 | 0.3 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_visit_object_histories" WHERE ("object_id"=8144) AND ("object_type"=20) |
16:49:22.339 | 89.4 ms | UPDATE | UPDATE "a57be577deb434"."tbl_object_change_logs" SET "is_delete"=TRUE WHERE (("object_id"=8144) AND ("object_type"=20)) OR (("target_id"=8144) AND ("target_object_type"=20)) |
16:49:22.428 | 0.2 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8144) AND ("term_id"=15) |
16:49:22.429 | 0.2 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8144) AND ("object_type"=7) |
16:49:22.429 | 2.1 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=8144) |
16:49:22.431 | 1.7 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=8144) |
16:49:22.433 | 13.6 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=8144) AND ("object_type"=20) |
16:49:22.447 | 11.1 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=8144) AND ("object_type"=20) |
16:49:22.458 | 3.5 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=8144 |
16:49:22.462 | 0.8 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('DELETE', 'app\models\Reimbursements', 8144, '', '', 1000, '114.244.128.96') |
16:49:22.463 | 1.0 ms | INSERT | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 5, 'vue/reimbursement/delete', '{"id":"8144","web_access_token":"EC93y3_gBBNDiFSIjX3Ne2mXJkJHWDI3"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u62a5\u9500\u5df2\u88ab\u6210\u529f\u5220\u9664","error":""}],"mod":0}', FALSE, '2025-09-17 16:49:22') RETURNING "id" |