16:31:43.559 | 2.2 ms | SELECT | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
16:31:43.562 | 1.6 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:31:43.565 | 0.5 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='8178' |
16:31:43.566 | 1.5 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "reimbursement_id"=8178 |
16:31:43.568 | 1.7 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=8178) ORDER BY "id" |
16:31:43.571 | 0.9 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3381 |
16:31:43.573 | 5.9 ms | UPDATE | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3381 |
16:31:43.579 | 21.7 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3381) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
16:31:43.601 | 4.7 ms | INSERT | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3381, 1001, 'now()', NULL) RETURNING "id" |
16:31:43.606 | 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', 180901, 'a:5:{s:2:"id";i:180901;s:9:"client_id";i:3381;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '114.244.128.96') |
16:31:43.607 | 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', 3381, 'a:0:{}', '', 1001, '114.244.128.96') |
16:31:43.608 | 0.4 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=8178 |
16:31:43.609 | 0.4 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (184, 349)) |
16:31:43.610 | 0.3 ms | SELECT | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
16:31:43.610 | 7.4 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', 3381, 10, 8178, 20, 1001, '[8178]', '[8178]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}') RETURNING "id" |
16:31:43.618 | 0.7 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', 570688, 'a:13:{s:2:"id";i:570688;s:9:"object_id";i:3381;s:11:"object_type";i:10;s:9:"target_id";i:8178;s:18:"target_object_type";i:20;s:3:"act";i:3;s:9:"attribute";s:6:"delete";s:9:"old_value";s:6:"[8178]";s:9:"new_value";s:6:"[8178]";s:11:"description";s:113:"{"d1":"\u5218\u4eba\u8bda","d2":"\u5220\u9664\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '114.244.128.96') |
16:31:43.619 | 15.9 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=8178) AND ("object_type"=20) |
16:31:43.635 | 11.7 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=8178) AND ("object_type"=20) |
16:31:43.647 | 0.4 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_visit_object_histories" WHERE ("object_id"=8178) AND ("object_type"=20) |
16:31:43.647 | 93.0 ms | UPDATE | UPDATE "a57be577deb434"."tbl_object_change_logs" SET "is_delete"=TRUE WHERE (("object_id"=8178) AND ("object_type"=20)) OR (("target_id"=8178) AND ("target_object_type"=20)) |
16:31:43.741 | 0.8 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8178) AND ("term_id"=15) |
16:31:43.742 | 0.8 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=8178) AND ("object_type"=7) |
16:31:43.743 | 2.2 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=8178) |
16:31:43.745 | 1.8 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=8178) |
16:31:43.747 | 14.4 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_comments" WHERE ("object_id"=8178) AND ("object_type"=20) |
16:31:43.761 | 11.6 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_id"=8178) AND ("object_type"=20) |
16:31:43.773 | 8.6 ms | DELETE | DELETE FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=8178 |
16:31:43.782 | 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', 8178, '', '', 1001, '114.244.128.96') |
16:31:43.784 | 1.1 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/reimbursement/delete', '{"id":"8178","web_access_token":"dut1vXihUglGelt2KMXELnSbFppny3OV"}', '{"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:31:43') RETURNING "id" |