Total processing time: 136 ms; Peak memory: 5.355 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 16:23:10.037 | 19.6 ms | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id" IN (39145, 9009, 9003, 8983, 8924, 8871, 8866, 8825, 8823, 8824)) GROUP BY "object_id" |
| 16:23:10.068 | 18.3 ms | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=19) AND (remind_user_id = 1015 AND is_read = false) AND ("object_id" IN (39145, 9009, 9003, 8983, 8924, 8871, 8866, 8825, 8823, 8824)) GROUP BY "object_id" |
| 16:23:10.009 | 8.4 ms | yii\db\Command::query | SELECT 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 (1015, 1015, 1022, 1023, 5248)) OR ("ccr"."user_id"=1015)) AND ("s"."created_by"='1015') AND ("u"."department_id"='2') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC) "c" |
| 16:23:10.018 | 7.5 ms | yii\db\Command::query | 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 (1015, 1015, 1022, 1023, 5248)) OR ("ccr"."user_id"=1015)) AND ("s"."created_by"='1015') AND ("u"."department_id"='2') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC LIMIT 10 |
| 16:23:10.032 | 4.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id" IN (39145, 9009, 9003, 8983, 8924, 8871, 8866, 8825, 8823, 8824) |
| 16:23:10.116 | 3.9 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 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"=1015)) |
| 16:23:10.108 | 3.8 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 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"=1015)) |
| 16:23:10.112 | 3.5 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 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"=1015)) |
| 16:23:10.087 | 3.3 ms | yii\db\Command::query | SELECT "work_log_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (0, 1, 2, 3)) AND ("work_log_id" IN (39145, 9009, 9003, 8983, 8924, 8871, 8866, 8825, 8823, 8824)) GROUP BY "work_log_id" |
| 16:23:10.123 | 3.2 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1015, 0, 276, 'v2/work-log/list', '{"access_token":"Q_7DD5LA0njCol9o5skCibRkap3ZqeYZ","device_type":"0","version_code":"276","WorkLogSearch":{"scenario_option_id":"","scenario_id":"","filterUser":"1015","status":"","filterDepartment":"2"},"page":"1","token":"2faffb77775456c247977d3b95c44594","posttime":"1784103789","pagesize":"10"}', '{"code":200,"data":{"list":[{"id":39145,"client_id":null,"scenario_id":1,"scenario_option_id":null,"end_at":"","created_by":1015,"created_at":"2026-04-13 21:43:14","updated_at":"2026-04-13 21:43:14","start_at":"","description":"\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u3002","escort":"\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u4e8c\u4e09\u56db\u4e94\u4e03\u4e09\u56db\u4e94\u4e03\u4e09\u56db\u4e94\u4e03\u56db\u4e94\u4e03","is_draft":1,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":null,"createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":39145,"comment":10},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":9009,"client_id":73,"scenario_id":2,"scenario_option_id":18,"end_at":"2018-05-17 12:30:00","created_by":1015,"created_at":"2018-05-17 08:35:27","updated_at":"2026-04-09 17:13:23","start_at":"2018-05-17 08:35:00","description":"\u534f\u52a9\u4e00\u5361\u901a\u96c6\u6210\u5546\u6392\u67e5\u865a\u62df\u673a\u6027\u80fd\u95ee\u9898\uff0c\u901a\u8fc7VeeamONE\u68c0\u51fa\u5728\u8fdb\u884c\u538b\u529b\u6d4b\u8bd5\u65f6\u51fa\u73b0\u5b58\u50a8\u5ef6\u8fdf\u9ad8\u7684\u73b0\u8c61\uff0c\u6000\u7591\u9a71\u52a8\u517c\u5bb9\u6027\u6216\u5b58\u50a8\u786c\u4ef6\u95ee\u9898\uff0c\u7531\u96c6\u6210\u5546\u8fdb\u884c\u4e0b\u4e00\u6b65\u6392\u67e5","escort":"\u4e5d\u5343\u591a\u52a0\u4e00\u5343\u4e5d\u767e\u591a\u662f\u5427\uff1f","is_draft":0,"location_id":406,"project_id":null,"location_in_id":406,"location_out_id":null,"status":0,"indistance":93,"outdistance":999999999,"hours_spent":"03:55:00","createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":{"id":406,"geolocation":"(116.329607476129,39.976506890191)","created_by":1015,"address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u4e2d\u5173\u6751\u8857\u9053\u77e5\u6625\u8def\u4e2d\u56fd\u536b\u661f\u901a\u4fe1\u5927\u53a6","created_at":"2018-05-17 08:35:27","updated_at":"2018-05-17 08:35:00"},"scenarioOption":{"id":18,"key":18,"name":"\u7ed9\u5ba2\u6237\u505a\u57f9\u8bad"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":{"id":73,"key":73,"name":"\u5317\u4eac\u5e02\u653f\u4ea4\u901a\u4e00\u5361\u901a\u6709\u9650\u516c\u53f8","client_class":null,"logo":null,"sales_rep":null,"salesRep":null,"clientClass":null,"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":9009,"comment":1},"attachmentRelationships":[],"locationIn":{"id":406,"lng":"116.329607476129","lat":"39.976506890191","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u4e2d\u5173\u6751\u8857\u9053\u77e5\u6625\u8def\u4e2d\u56fd\u536b\u661f\u901a\u4fe1\u5927\u53a6","time":"2018-05-17 08:35:00"},"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"3\u5c0f\u65f655\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":false,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":9003,"client_id":497,"scenario_id":2,"scenario_option_id":17,"end_at":"2018-05-15 11:00:00","created_by":1015,"created_at":"2018-05-15 11:02:58","updated_at":"2018-05-15 11:02:58","start_at":"2018-05-15 10:00:00","description":"","escort":"","is_draft":0,"location_id":382,"project_id":null,"location_in_id":382,"location_out_id":null,"status":0,"indistance":49373,"outdistance":999999999,"hours_spent":"01:00:00","createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":{"id":382,"geolocation":"(116.474247233073,39.9069802517361)","created_by":1015,"address":"\u5efa\u56fd\u8def90\u53f7","created_at":"2018-05-15 11:02:58","updated_at":"2018-05-15 11:02:00"},"scenarioOption":{"id":17,"key":17,"name":"\u9879\u76ee\u542f\u52a8\u4f1a"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":{"id":497,"key":497,"name":"\u5317\u4eac\u7ea2\u661f\u80a1\u4efd\u6709\u9650\u516c\u53f8","client_class":1,"logo":null,"sales_rep":5300,"salesRep":{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91"},"clientClass":{"id":1,"key":1,"name":"\u6838\u5fc3\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":9003,"comment":1},"attachmentRelationships":[],"locationIn":{"id":382,"lng":"116.474247233073","lat":"39.9069802517361","address":"\u5efa\u56fd\u8def90\u53f7","time":"2018-05-15 11:02:00"},"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","read":0,"total":0,"can_update":true,"can_delete":false,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":8983,"client_id":5,"scenario_id":2,"scenario_option_id":17,"end_at":"2018-05-10 10:30:00","created_by":1015,"created_at":"2018-05-10 10:54:52","updated_at":"2018-05-10 10:54:52","start_at":"2018-05-10 09:30:00","description":"","escort":"","is_draft":0,"location_id":359,"project_id":null,"location_in_id":359,"location_out_id":null,"status":0,"indistance":92,"outdistance":999999999,"hours_spent":"01:00:00","createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":{"id":359,"geolocation":"(116.311928168403,39.9830308702257)","created_by":1015,"address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u6d77\u6dc0\u5927\u8857\u9760\u8fd1\u4e2d\u5173\u6751\u5e7f\u573a\u8d2d\u7269\u4e2d\u5fc3D\u533a","created_at":"2018-05-10 10:54:52","updated_at":"2018-05-10 10:54:00"},"scenarioOption":{"id":17,"key":17,"name":"\u9879\u76ee\u542f\u52a8\u4f1a"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":{"id":5,"key":5,"name":"\u4e2d\u7535\u79d1\u592a\u529b\u901a\u4fe1\u79d1\u6280\u6709\u9650\u516c\u53f8","client_class":47,"logo":null,"sales_rep":1004,"salesRep":{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":{"id":359,"lng":"116.311928168403","lat":"39.9830308702257","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u6d77\u6dc0\u5927\u8857\u9760\u8fd1\u4e2d\u5173\u6751\u5e7f\u573a\u8d2d\u7269\u4e2d\u5fc3D\u533a","time":"2018-05-10 10:54:00"},"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","read":0,"total":0,"can_update":true,"can_delete":false,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":8924,"client_id":null,"scenario_id":2,"scenario_option_id":24,"end_at":"2018-04-25 17:00:00","created_by":1015,"created_at":"2018-04-26 14:57:29","updated_at":"","start_at":"2018-04-25 09:00:00","description":"NetApp HCI \u7b2c\u56db\u671f\u5408\u4f5c\u4f19\u4f34\u7cbe\u82f1\u8bad\u7ec3\u8425\r\n","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":"08:00:00","createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"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":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"8\u5c0f\u65f6","read":0,"total":0,"can_update":true,"can_delete":false,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":8871,"client_id":57,"scenario_id":2,"scenario_option_id":16,"end_at":"2018-03-13 10:15:00","created_by":1015,"created_at":"2018-03-13 10:30:38","updated_at":"","start_at":"2018-03-13 09:00:00","description":"\u9a8c\u6536\u6c47\u62a5PPT\u4fee\u6539","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":"01:15:00","createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":null,"scenarioOption":{"id":16,"key":16,"name":"\u62a5\u544a\/\u65b9\u6848\u7f16\u5199"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":{"id":57,"key":57,"name":"\u4fdd\u8bfa\u79d1\u6280(\u5317\u4eac)\u6709\u9650\u516c\u53f8\u3001\u4e0a\u6d77\u6da6\u8bfa\u3001\u4e2d\u56fd\u7535\u5b50\u7cfb\u7edf\u5de5\u7a0b\u7b2c\u4e8c\u5efa\u8bbe\u6709\u9650\u516c\u53f8,\u6851\u8fea\u4e9a\u533b\u836f\u6280\u672f(\u4e0a\u6d77)\u6709\u9650\u8d23\u4efb\u516c\u53f8","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":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f615\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":false,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":8866,"client_id":5,"scenario_id":2,"scenario_option_id":16,"end_at":"2018-03-01 18:30:00","created_by":1015,"created_at":"2018-03-05 16:39:51","updated_at":"","start_at":"2018-03-01 09:15:00","description":"\u666e\u59293\u4efd\u6295\u6807\u6587\u4ef6\u6280\u672f\u90e8\u5206\u7f16\u5199","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":"09:15:00","createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":null,"scenarioOption":{"id":16,"key":16,"name":"\u62a5\u544a\/\u65b9\u6848\u7f16\u5199"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":{"id":5,"key":5,"name":"\u4e2d\u7535\u79d1\u592a\u529b\u901a\u4fe1\u79d1\u6280\u6709\u9650\u516c\u53f8","client_class":47,"logo":null,"sales_rep":1004,"salesRep":{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"9\u5c0f\u65f615\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":false,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":8825,"client_id":5,"scenario_id":2,"scenario_option_id":21,"end_at":"2018-01-23 13:00:00","created_by":1015,"created_at":"2018-01-23 15:29:43","updated_at":"2018-01-31 16:48:35","start_at":"2018-01-23 09:45:00","description":"\u8fdc\u7a0b\u5904\u7406\u666e\u5929\u592a\u529b\u5bb9\u707e\u673a\u623f\u5b58\u50a8\u65e0\u6cd5\u8fdb\u884c\u5377\u8fc1\u79fb\u95ee\u9898\uff0c\u7ecf\u5206\u6790\uff0c\u539f\u56e0\u662f\u63a7\u5236\u5668HA\u72b6\u6001\u4e0d\u6b63\u5e38\u5bfc\u81f4\uff0c\uff08\u6587\u6863\u5df2\u4e0a\u4f20\uff09\u5177\u4f53\u60c5\u51b5\u89c1\u6587\u6863 <Netapp\u5377\u8fc1\u79fb\u5931\u8d25\u6062\u590d\u6b65\u9aa4>","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":"03:15:00","createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":null,"scenarioOption":{"id":21,"key":21,"name":" \u516c\u53f8\u8c03\u8bd5\u5ba2\u6237\u8bbe\u5907"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":{"id":5,"key":5,"name":"\u4e2d\u7535\u79d1\u592a\u529b\u901a\u4fe1\u79d1\u6280\u6709\u9650\u516c\u53f8","client_class":47,"logo":null,"sales_rep":1004,"salesRep":{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"3\u5c0f\u65f615\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":false,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":8823,"client_id":57,"scenario_id":2,"scenario_option_id":25,"end_at":"2018-01-22 20:00:00","created_by":1015,"created_at":"2018-01-23 15:23:27","updated_at":"2018-01-23 15:23:59","start_at":"2018-01-22 14:00:00","description":"\u5907\u4efd\u8bbe\u5907\u5185\u90e8\u64cd\u4f5c\uff0c\u670d\u52a1\u5668\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b58\u50a8\u521d\u59cb\u5316","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":"06:00:00","createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":null,"scenarioOption":{"id":25,"key":25,"name":"\u516c\u53f8\u5185\u505a\u5b9e\u9a8c"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":{"id":57,"key":57,"name":"\u4fdd\u8bfa\u79d1\u6280(\u5317\u4eac)\u6709\u9650\u516c\u53f8\u3001\u4e0a\u6d77\u6da6\u8bfa\u3001\u4e2d\u56fd\u7535\u5b50\u7cfb\u7edf\u5de5\u7a0b\u7b2c\u4e8c\u5efa\u8bbe\u6709\u9650\u516c\u53f8,\u6851\u8fea\u4e9a\u533b\u836f\u6280\u672f(\u4e0a\u6d77)\u6709\u9650\u8d23\u4efb\u516c\u53f8","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":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"6\u5c0f\u65f6","read":0,"total":0,"can_update":true,"can_delete":false,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false},{"id":8824,"client_id":null,"scenario_id":2,"scenario_option_id":19,"end_at":"2018-01-22 11:30:00","created_by":1015,"created_at":"2018-01-23 15:24:51","updated_at":"","start_at":"2018-01-22 09:00:00","description":"\u9500\u552e\u6280\u672f\u8de8\u90e8\u95e8\u4f1a\u8bae\uff0c\u6280\u672f\u90e8\u4f8b\u4f1a","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":"02:30:00","createdBy":{"id":1015,"key":1015,"name":"\u5434\u660a","sex":"M","department_id":2,"avatar":{"id":12,"user_id":1015,"name":"\/files\/cdn\/a57be577deb434\/avatar\/d69b398a-5951-36e9-a92e-992fe938db26.jpg"},"department":{"id":2,"key":2,"name":"\u6280\u672f\u90e8"}},"location":null,"scenarioOption":{"id":19,"key":19,"name":"\u516c\u53f8\u5185\u90e8\u4f1a\u8bae"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"2\u5c0f\u65f630\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":false,"can_create_reimbursement":true,"can_create_project":false,"can_location_in":false,"can_location_out":false}],"pagenation":{"totalcount":185,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"ip":"39.156.194.178","ua":"jinchangxiao\/2.3.176 (HUAWEIVOG-AL00; Android 10)"}', FALSE, '2026-07-15 16:23:10', 128358144) RETURNING "id" |
| 16:23:10.057 | 3.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id" IN (39145, 9009, 9003, 8983, 8924, 8871, 8866, 8825, 8823, 8824)) |
| 16:23:10.094 | 3.0 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 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"=1015)) |
| 16:23:10.061 | 3.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id" IN (39145, 9009, 9003, 8983, 8924, 8871, 8866, 8825, 8823, 8824)) |
| 16:23:10.098 | 2.9 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 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"=1015)) |
| 16:23:10.090 | 2.9 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (0, 1, 2, 3)) AND ("work_log_id" IN (39145, 9009, 9003, 8983, 8924, 8871, 8866, 8825, 8823, 8824)) |
| 16:23:10.101 | 2.8 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 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"=1015)) |
| 16:23:10.105 | 2.7 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5500, 5301, 5499, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5096, 5448, 5420, 1001, 5087, 1008, 5230, 5088, 5208, 1003, 5467, 5294, 5357, 5076, 5300, 5089, 5311, 5364, 5295, 1013, 5128, 5203, 5476, 1004, 5072, 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"=1015)) |
| 16:23:10.064 | 1.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id" IN (39145, 9009, 9003, 8983, 8924, 8871, 8866, 8825, 8823, 8824) |
| 16:23:10.066 | 1.4 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id" IN (39145, 9009, 9003, 8983, 8924, 8871, 8866, 8825, 8823, 8824) ORDER BY "id" |
| 16:23:10.007 | 1.2 ms | yii\db\Command::query | SELECT "s"."accessible_user" FROM "a57be577deb434"."tbl_visible_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.accessible_user WHERE ("s"."user_id"=1015) AND (s.accessible_user IS NOT NULL) AND ("u"."user_status"='1') GROUP BY "s"."id", "u"."id" ORDER BY "u"."id" |
| 16:23:09.997 | 0.8 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Q_7DD5LA0njCol9o5skCibRkap3ZqeYZ' |
| 16:23:10.028 | 0.6 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_location" WHERE "id" IN (406, 382, 359) |
| 16:23:09.999 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1015 |
| 16:23:10.026 | 0.5 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1015 |
| 16:23:10.060 | 0.4 ms | yii\db\Command::query | SELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (406, 382, 359) |
| 16:23:10.031 | 0.4 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id" IN (47, 1) |
| 16:23:10.029 | 0.4 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id" IN (18, 17, 24, 16, 21, 25, 19) |
| 16:23:10.027 | 0.4 ms | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1015) |
| 16:23:10.030 | 0.4 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id" IN (1, 2) |
| 16:23:09.997 | 0.3 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 16:23:10.030 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (73, 497, 5, 57) |
| 16:23:10.031 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1004, 5300, 1005) |
| 16:23:10.028 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=2 |