Database Queries

总计72条数据
TimeDurationTypeQuery
  
10:48:34.0602.7 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "access_token"='8KNJgvJ4yXfZTKw12_zGtGS7KKkP6G2n'

10:48:34.0631.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:48:34.0660.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='7922'

10:48:34.0671.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=7922) ORDER BY "id"

10:48:34.0710.3 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)

10:48:34.0710.5 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='982')

10:48:34.0720.5 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='1111')

10:48:34.0720.4 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='20700')

10:48:34.0730.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:48:34.0740.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000)

10:48:34.0740.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='982')

10:48:34.0740.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='1111')

10:48:34.0750.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_work_logs" WHERE "id"='20700')

10:48:34.0750.9 msUPDATEUPDATE "a57be577deb434"."tbl_reimbursements" SET "occurrence_at"='2025-08-29 10:45', "client_id"=982, "project_id"=1111, "work_log_id"=20700 WHERE "id"=7922

10:48:34.0761.3 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Reimbursements', 7922, 'a:1:{s:13:"occurrence_at";s:19:"2025-08-29 10:45:00";}', '', 1000, '223.104.44.123')

10:48:34.0782.1 msSELECTSELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7922)

10:48:34.0800.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:48:34.0811.0 msINSERTINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'AttachmentRelationships', 7922, 20, 1000, 'now()', '[[]]', '"27295"', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u56fe\u7247","d4":[""]}')

10:48:34.0822.5 msDELETEDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7922)

10:48:34.0850.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7922

10:48:34.0850.4 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (184, 374))

10:48:34.0860.7 msDELETEDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7922) AND ("term_id"=15)

10:48:34.0870.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='184')

10:48:34.0870.3 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15)

10:48:34.0881.0 msINSERTINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 184, 7922) RETURNING "id"

10:48:34.0890.9 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\TermTaxonomyRelationships', 128417, 'a:9:{s:2:"id";i:128417;s:9:"object_id";i:7922;s:11:"taxonomy_id";s:3:"184";s:7:"term_id";i:15;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1000, '223.104.44.123')

10:48:34.0900.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=7922)

10:48:34.0900.9 msDELETEDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7922) AND ("object_type"=7)

10:48:34.0910.2 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='374')

10:48:34.0920.1 msSELECTSELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=18)

10:48:34.0920.8 msINSERTINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "object_id") VALUES (18, 7, 374, 7922) RETURNING "id"

10:48:34.0930.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\TermTaxonomyRelationships', 128418, 'a:9:{s:2:"id";i:128418;s:9:"object_id";i:7922;s:11:"taxonomy_id";s:3:"374";s:7:"term_id";i:18;s:5:"value";N;s:11:"object_type";i:7;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1000, '223.104.44.123')

10:48:34.0941.0 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7922 ORDER BY "id"

10:48:34.0951.5 msDELETEDELETE FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7922

10:48:34.0960.9 msINSERTINSERT INTO "a57be577deb434"."tbl_reimbursement_verify_rels" ("reimbursement_id", "user_id", "status") VALUES (7922, 1000, 0)

10:48:34.0980.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7922

10:48:34.0980.7 msDELETEDELETE FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7922

10:48:34.0991.1 msINSERTINSERT INTO "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" ("reimbursement_id", "user_id") VALUES (7922, 5252)

10:48:34.1000.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7922

10:48:34.1011.0 msDELETEDELETE FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7922

10:48:34.1020.9 msINSERTINSERT INTO "a57be577deb434"."tbl_reimbursement_settle_rels" ("reimbursement_id", "user_id") VALUES (7922, 1001)

10:48:34.1031.2 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("reimbursement_id"=7922) AND ("status"=0) ORDER BY "id"

10:48:34.1050.7 msUPDATEUPDATE "a57be577deb434"."tbl_reimbursements" SET "updated_at"='now()' WHERE "id"=7922

10:48:34.1050.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Reimbursements', 7922, 'a:1:{s:13:"occurrence_at";s:19:"2025-08-29 10:45:00";}', '', 1000, '223.104.44.123')

10:48:34.1060.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:48:34.1071.1 msSELECTSELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7922) ORDER BY "id"

10:48:34.1080.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='982'

10:48:34.1101.1 msUPDATEUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=982

10:48:34.11115.7 msSELECTSELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=982) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1

10:48:34.1281.2 msINSERTINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (982, 1001, 'now()', NULL) RETURNING "id"

10:48:34.1290.8 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 178043, 'a:5:{s:2:"id";i:178043;s:9:"client_id";i:982;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.44.123')

10:48:34.1300.9 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 982, 'a:0:{}', '', 1000, '223.104.44.123')

10:48:34.1310.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:48:34.1320.8 msINSERTINSERT 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 (2, 'update', 982, 10, 7922, 20, 1000, '[7922]', '[7922]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}') RETURNING "id"

10:48:34.1320.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 554463, 'a:13:{s:2:"id";i:554463;s:9:"object_id";s:3:"982";s:11:"object_type";i:10;s:9:"target_id";i:7922;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[7922]";s:9:"new_value";s:6:"[7922]";s:11:"description";s:113:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.44.123')

10:48:34.1330.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='1111'

10:48:34.1351.0 msUPDATEUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=1111

10:48:34.1361.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=1111) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1

10:48:34.1380.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 1111, 'a:1:{s:6:"end_at";s:19:"2024-09-02 10:10:17";}', '', 1000, '223.104.44.123')

10:48:34.1390.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982

10:48:34.1390.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:48:34.1400.8 msINSERTINSERT 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 (2, 'update', 1111, 1, 7922, 20, 1000, '[7922]', '[7922]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}') RETURNING "id"

10:48:34.1410.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 554464, 'a:13:{s:2:"id";i:554464;s:9:"object_id";s:4:"1111";s:11:"object_type";i:1;s:9:"target_id";i:7922;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[7922]";s:9:"new_value";s:6:"[7922]";s:11:"description";s:113:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.44.123')

10:48:34.1410.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='1111'

10:48:34.1420.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=982

10:48:34.1420.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:48:34.1431.0 msINSERTINSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (2, 'update', 1111, 1, 7922, 20, 1000, '7922', '7922', array[1001], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}') RETURNING "id"

10:48:34.1440.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 149689, 'a:15:{s:2:"id";i:149689;s:9:"object_id";s:4:"1111";s:11:"object_type";i:1;s:9:"target_id";i:7922;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"7922";s:9:"new_value";s:4:"7922";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1001]";s:6:"params";a:0:{}}s:11:"description";s:113:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.44.123')

10:48:34.1450.3 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:48:34.1450.7 msINSERTINSERT 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 (2, 'update', 20700, 19, 7922, 20, 1000, '[7922]', '[7922]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}') RETURNING "id"

10:48:34.1460.7 msINSERTINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 554465, 'a:13:{s:2:"id";i:554465;s:9:"object_id";s:5:"20700";s:11:"object_type";i:19;s:9:"target_id";i:7922;s:18:"target_object_type";i:20;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:6:"[7922]";s:9:"new_value";s:6:"[7922]";s:11:"description";s:113:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":["\u4ea4\u901a\u8d39"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.44.123')

10:48:34.1481.1 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1147, 'v2/reimbursement/save-edit', '{"Reimbursements":{"amount":"123","attachmentFiles":"","client_id":"982","description":"","form_costType":"374","form_reimbursementCarbonCopyRels":["5252"],"form_reimbursementSettleRels":["1001"],"form_reimbursementVerifyRels":["1000"],"form_type":"184","id":"7922","occurrence_at":"2025-08-29 10:45","project_id":"1111","work_log_id":"20700"},"access_token":"8KNJgvJ4yXfZTKw12_zGtGS7KKkP6G2n","device_type":"2","posttime":"1756435712","token":"a1a0b05cc3cf19f3f2a9e71adde028bd","version_code":"1147"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u62a5\u9500\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-08-29 10:48:34') RETURNING "id"