Performance Profiling

Total processing time: 122 ms; Peak memory: 5.304 MB. Show Profiling Timeline

总计35条数据
TimeDurationCategoryInfo
  
15:08:02.77625.5 msyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id" IN (39170, 39169, 39168, 39163, 39167, 39165, 39162, 39161, 39160, 39159)) GROUP BY "object_id"
15:08:02.80918.3 msyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=19) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id" IN (39170, 39169, 39168, 39163, 39167, 39165, 39162, 39161, 39160, 39159)) GROUP BY "object_id"
15:08:02.8515.5 msyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))
15:08:02.8445.3 msyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))
15:08:02.7705.1 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id" IN (39170, 39169, 39168, 39163, 39167, 39165, 39162, 39161, 39160, 39159)
15:08:02.8574.4 msyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))
15:08:02.8363.3 msyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))
15:08:02.7553.2 msyii\db\Command::querySELECT COUNT(*) FROM (SELECT s.*, s.end_at - s.start_at AS hours_spent FROM "a57be577deb434"."tbl_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" LEFT JOIN "a57be577deb434"."tbl_work_log_verify_rels" "rvr" ON rvr.work_log_id = s.id LEFT JOIN "a57be577deb434"."tbl_work_log_carbon_copy_rels" "ccr" ON ccr.work_log_id = s.id WHERE (("s"."created_by" IN (1000, 1001, 1004, 1005, 1011, 1013, 1015, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5300, 5311, 5332, 5360, 5446, 5461, 5476)) OR ("ccr"."user_id"=1001)) AND ("s"."created_by"='1001') AND ("u"."department_id"='4') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC) "c"
15:08:02.8323.1 msyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))
15:08:02.8413.0 msyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5467, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 5476, 1004, 5072, 5033, 5359, 5412, 5409, 5229, 1005, 5304, 5449, 5358, 1006, 5093)) OR ("sales_rep" IS NULL) OR ("id" IN (SELECT "client_id" FROM "a57be577deb434"."tbl_user_visit_clients" WHERE "user_id"=1001))
15:08:02.7592.7 msyii\db\Command::querySELECT s.*, s.end_at - s.start_at AS hours_spent FROM "a57be577deb434"."tbl_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" LEFT JOIN "a57be577deb434"."tbl_work_log_verify_rels" "rvr" ON rvr.work_log_id = s.id LEFT JOIN "a57be577deb434"."tbl_work_log_carbon_copy_rels" "ccr" ON ccr.work_log_id = s.id WHERE (("s"."created_by" IN (1000, 1001, 1004, 1005, 1011, 1013, 1015, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5300, 5311, 5332, 5360, 5446, 5461, 5476)) OR ("ccr"."user_id"=1001)) AND ("s"."created_by"='1001') AND ("u"."department_id"='4') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC LIMIT 10
15:08:02.8632.4 msyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 0, 273, 'v2/work-log/list', '{"access_token":"lLLCHpZSQkMu0_ceemp9PVo8_3HEKkFC","device_type":"0","version_code":"273","WorkLogSearch":{"scenario_option_id":"","scenario_id":"","filterUser":"1001","status":"","filterDepartment":"4"},"page":"1","token":"91d89d75368f37aa879718790f206c4f","posttime":"1780988881","pagesize":"10"}', '{"code":200,"data":{"list":[{"id":39170,"client_id":3415,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-06-05 16:45:00","created_by":1001,"created_at":"2026-06-05 17:39:25","updated_at":"2026-06-05 17:39:25","start_at":"2026-06-05 16:39:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":4024,"location_in_id":null,"location_out_id":null,"status":-1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:06:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3415,"key":3415,"name":"\u5317\u4eac\u4e2d\u91d1\u4fdd\u9669\u7ecf\u7eaa\u6709\u9650\u516c\u53f8","client_class":43,"logo":null,"sales_rep":null,"salesRep":null,"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":{"id":4024,"key":4024,"name":"\u6df1\u4fe1\u670d\u9632\u706b\u5899"},"workLogContacts":[],"commentCount":{"object_id":39170,"comment":2},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16067,"work_log_id":39170,"user_id":5064,"status":0,"description":null,"verify_at":"","user":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"6\u5206\u949f","read":0,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":39169,"client_id":3354,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-06-04 15:01:00","created_by":1001,"created_at":"2026-06-04 15:57:19","updated_at":"2026-06-04 15:57:19","start_at":"2026-06-04 14:57:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":4177,"location_in_id":null,"location_out_id":null,"status":-1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:04:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":3354,"key":3354,"name":"\u822a\u5929\u79d1\u6280\u4e00\u966215\u6240","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":{"id":4177,"key":4177,"name":"\u9500\u552e\u7ebf\u7d22\u751f\u621020260604001"},"workLogContacts":[],"commentCount":{"object_id":39169,"comment":2},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16066,"work_log_id":39169,"user_id":5064,"status":0,"description":null,"verify_at":"","user":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"4\u5206\u949f","read":0,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":39168,"client_id":null,"scenario_id":1,"scenario_option_id":66,"end_at":"2026-06-01 12:24:00","created_by":1001,"created_at":"2026-06-01 13:12:33","updated_at":"2026-06-01 13:13:18","start_at":"2026-06-01 12:12:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:12:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":66,"key":66,"name":"\u5ba2\u60c5\u589e\u8fdb"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":39168,"comment":3},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16065,"work_log_id":39168,"user_id":5064,"status":1,"description":null,"verify_at":"","user":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"}}}],"unreadComments":{"object_id":39168,"unread":1},"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"12\u5206\u949f","read":1,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":39163,"client_id":null,"scenario_id":2,"scenario_option_id":23,"end_at":"2026-06-01 00:09:00","created_by":1001,"created_at":"2026-05-14 01:24:38","updated_at":"2026-06-01 13:11:53","start_at":"2026-06-01 00:00:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":-1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:09:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":23,"key":23,"name":"\u516c\u53f8\u5185\u90e8\u57f9\u8bad"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":39163,"comment":3},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16063,"work_log_id":39163,"user_id":5064,"status":0,"description":null,"verify_at":"","user":{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf","sex":"F","avatar":{"id":38,"user_id":5064,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5bec09dc-1f7a-3542-89a2-cedfefb3fded.png"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"9\u5206\u949f","read":0,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":39167,"client_id":null,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-05-18 13:28:00","created_by":1001,"created_at":"2026-05-18 14:17:16","updated_at":"2026-05-18 14:17:16","start_at":"2026-05-18 13:16:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":-1,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:12:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":39167,"comment":3},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16062,"work_log_id":39167,"user_id":5250,"status":0,"description":null,"verify_at":"","user":{"id":5250,"key":5250,"name":"\u8463\u8363","sex":"M","avatar":{"id":157,"user_id":5250,"name":"\/files\/cdn\/a57be577deb434\/avatar\/10f9a0d9-7ea7-3910-9465-6ece76a0dae4.png"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"12\u5206\u949f","read":0,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":39165,"client_id":null,"scenario_id":2,"scenario_option_id":24,"end_at":"2026-05-15 10:32:00","created_by":1001,"created_at":"2026-05-15 10:32:56","updated_at":"2026-05-15 10:32:56","start_at":"2026-05-15 09:32:00","description":"fdsafdsa","escort":"fdsafdsa","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":-1,"indistance":999999999,"outdistance":999999999,"hours_spent":"01:00:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":24,"key":24,"name":"\u516c\u53f8\u5916\u90e8\u57f9\u8bad"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":39165,"comment":4},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16060,"work_log_id":39165,"user_id":5250,"status":0,"description":null,"verify_at":"","user":{"id":5250,"key":5250,"name":"\u8463\u8363","sex":"M","avatar":{"id":157,"user_id":5250,"name":"\/files\/cdn\/a57be577deb434\/avatar\/10f9a0d9-7ea7-3910-9465-6ece76a0dae4.png"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","read":0,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":39162,"client_id":2616,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-05-09 17:13:00","created_by":1001,"created_at":"2026-05-09 18:11:24","updated_at":"2026-05-09 18:11:24","start_at":"2026-05-09 17:11:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:02:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":2616,"key":2616,"name":"\u5317\u4eac\u6e90\u70b9\u601d\u535a\u79d1\u6280\u6709\u9650\u516c\u53f8(\u8fc7\u5355)","client_class":43,"logo":null,"sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":39162,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"2\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":39161,"client_id":2538,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-05-09 17:13:00","created_by":1001,"created_at":"2026-05-09 18:10:57","updated_at":"2026-05-09 18:10:57","start_at":"2026-05-09 17:10:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:03:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":2538,"key":2538,"name":"(\u8fc7\u5355)\u5317\u4eac\u6606\u4ed1\u8054\u901a\u79d1\u6280\u53d1\u5c55\u80a1\u4efd\u6709\u9650\u516c\u53f8","client_class":43,"logo":null,"sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":39161,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"3\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":39160,"client_id":146,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-05-09 16:23:00","created_by":1001,"created_at":"2026-05-09 17:18:35","updated_at":"2026-05-09 17:18:35","start_at":"2026-05-09 16:18:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":2504,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:05:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":146,"key":146,"name":"smc(\u5929\u6d25)\u5236\u9020\u6709\u9650\u516c\u53f8-(\u91cd\u590d\u5ba2\u6237)","client_class":43,"logo":null,"sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":{"id":2504,"key":2504,"name":"hp288PC"},"workLogContacts":[],"commentCount":{"object_id":39160,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"5\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":39159,"client_id":1661,"scenario_id":1,"scenario_option_id":71,"end_at":"2026-05-09 16:10:00","created_by":1001,"created_at":"2026-05-09 17:07:04","updated_at":"2026-05-09 17:07:04","start_at":"2026-05-09 16:06:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":1791,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:04:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":1661,"key":1661,"name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","client_class":43,"logo":null,"sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":{"id":1791,"key":1791,"name":"\u706b\u773c5500VX\u91c7\u8d2d\u9879\u76ee"},"workLogContacts":[{"id":3164,"key":3164,"name":"\u90ed\u65fa","department":"\u91c7\u8d2d\u90e8","job_position":"\u91c7\u8d2d","mobiles":[{"id":3440,"contact_id":3164,"mobile":"18201052811","mp_open_id":null}]}],"commentCount":{"object_id":39159,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"4\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false}],"pagenation":{"totalcount":88,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"125.78.87.174","ua":"jinchangxiao\/2.3.173 (XiaomiMi 10; Android 13)"}', FALSE, '2026-06-09 15:08:02', 117314048) RETURNING "id"
15:08:02.8022.1 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id" IN (39170, 39169, 39168, 39163, 39167, 39165, 39162, 39161, 39160, 39159))
15:08:02.8292.1 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (0, 1, 2, 3)) AND ("work_log_id" IN (39170, 39169, 39168, 39163, 39167, 39165, 39162, 39161, 39160, 39159))
15:08:02.8042.0 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id" IN (39170, 39169, 39168, 39163, 39167, 39165, 39162, 39161, 39160, 39159))
15:08:02.7681.6 msyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id" IN (4024, 4177, 2504, 1791)
15:08:02.7651.6 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id" IN (1, 2)
15:08:02.8281.5 msyii\db\Command::querySELECT "work_log_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (0, 1, 2, 3)) AND ("work_log_id" IN (39170, 39169, 39168, 39163, 39167, 39165, 39162, 39161, 39160, 39159)) GROUP BY "work_log_id"
15:08:02.8060.9 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id" IN (39170, 39169, 39168, 39163, 39167, 39165, 39162, 39161, 39160, 39159)
15:08:02.8080.9 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id" IN (39170, 39169, 39168, 39163, 39167, 39165, 39162, 39161, 39160, 39159) ORDER BY "id"
15:08:02.7750.8 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "department", "job_position" FROM "a57be577deb434"."tbl_contacts" WHERE "id"=3164
15:08:02.7480.6 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='lLLCHpZSQkMu0_ceemp9PVo8_3HEKkFC'
15:08:02.7760.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=3164
15:08:02.7490.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:08:02.7550.3 msyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id"
15:08:02.7650.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id" IN (71, 66, 23, 24)
15:08:02.7670.3 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (3415, 3354, 2616, 2538, 146, 1661)
15:08:02.8090.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5250, 5064)
15:08:02.7640.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
15:08:02.7670.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1005, 1001)
15:08:02.7640.2 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)
15:08:02.8090.2 msyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (5064, 5250))
15:08:02.7480.2 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
15:08:02.7680.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id" IN (47, 43)
15:08:02.7640.2 msyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4