Total processing time: 292 ms; Peak memory: 5.462 MB. Show Profiling Timeline
| Time | Duration | Category | Info |
|---|---|---|---|
| 13:11:17.911 | 40.6 ms | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id" IN (39163, 39167, 39165, 39162, 39161, 39160, 39159, 39140, 21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220, 18221, 17921)) GROUP BY "object_id" |
| 13:11:17.825 | 32.5 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_location" "lin" ON s.location_in_id = lin.id LEFT JOIN "a57be577deb434"."tbl_location" "lout" ON s.location_out_id = lout.id 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, 5449, 5461, 5476)) OR ("ccr"."user_id"=1001)) AND (("s"."created_by"='1001')) AND ("s"."is_draft"='0') GROUP BY "s"."id", "lin"."id", "lout"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, s.updated_at DESC nulls last, "s"."created_at" DESC) "c" |
| 13:11:17.974 | 27.8 ms | yii\db\Command::query | SELECT "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 (39163, 39167, 39165, 39162, 39161, 39160, 39159, 39140, 21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220, 18221, 17921)) GROUP BY "object_id" |
| 13:11:17.795 | 25.1 ms | yii\db\Command::query | select ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_work_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum |
| 13:11:18.009 | 9.5 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:17.859 | 7.8 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_location" "lin" ON s.location_in_id = lin.id LEFT JOIN "a57be577deb434"."tbl_location" "lout" ON s.location_out_id = lout.id 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, 5449, 5461, 5476)) OR ("ccr"."user_id"=1001)) AND (("s"."created_by"='1001')) AND ("s"."is_draft"='0') GROUP BY "s"."id", "lin"."id", "lout"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, s.updated_at DESC nulls last, "s"."created_at" DESC LIMIT 20 |
| 13:11:17.787 | 7.5 ms | yii\db\Command::query | SELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_work_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum; |
| 13:11:17.894 | 6.8 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "department", "job_position" FROM "a57be577deb434"."tbl_contacts" WHERE "id" IN (3837, 3819, 3164) |
| 13:11:17.887 | 6.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id" IN (39163, 39167, 39165, 39162, 39161, 39160, 39159, 39140, 21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220, 18221, 17921) |
| 13:11:17.902 | 6.0 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (3164, 3819, 3837) |
| 13:11:18.002 | 5.4 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 (39163, 39167, 39165, 39162, 39161, 39160, 39159, 39140, 21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220, 18221, 17921)) GROUP BY "work_log_id" |
| 13:11:18.040 | 4.9 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:18.019 | 4.8 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:18.030 | 4.6 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:18.054 | 4.4 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:18.025 | 4.4 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:18.035 | 4.3 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:18.049 | 4.3 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:17.963 | 4.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id" IN (39163, 39167, 39165, 39162, 39161, 39160, 39159, 39140, 21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220, 18221, 17921)) |
| 13:11:17.883 | 4.1 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id" IN (2504, 1791, 2282, 1111) |
| 13:11:17.878 | 3.8 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id" IN (1, 43) |
| 13:11:17.956 | 3.7 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id" IN (9634, 11152) |
| 13:11:18.045 | 3.5 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:18.059 | 2.9 ms | yii\db\Command::query | SELECT "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, 5409, 5412, 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)) |
| 13:11:17.952 | 2.7 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id" IN (39163, 39167, 39165, 39162, 39161, 39160, 39159, 39140, 21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220, 18221, 17921)) |
| 13:11:17.971 | 2.3 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id" IN (39163, 39167, 39165, 39162, 39161, 39160, 39159, 39140, 21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220, 18221, 17921) ORDER BY "id" |
| 13:11:18.065 | 2.2 ms | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/work-log/list', '{"WorkLogSearch":{"filterUser":["1001"],"has_client":"","has_project":"","status":"","is_arrive":"","description":"","period":"","filter":"","is_draft":"0"},"Filter":{"name":"end_at","sort":"DESC"},"page":"1","web_access_token":"YNQKwEYJYN8muCSh8ExnNlBf2oepDAlv"}', '{"code":2000,"result":{"list":[{"id":39163,"client_id":"","scenario_id":"","scenario_option_id":"","end_at":"","created_by":1001,"created_at":"2026-05-14 01:24:38","updated_at":"2026-05-14 01:24:38","start_at":"","description":"","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":"","location_out_id":"","status":0,"indistance":"","outdistance":"","hours_spent":"","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":{},"scenarioOption":{},"scenarios":{},"client":{},"project":{},"workLogContacts":[],"commentCount":{"object_id":39163,"comment":1},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":39167,"client_id":"","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":"","project_id":"","location_in_id":"","location_out_id":"","status":-1,"indistance":"","outdistance":"","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":{},"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{"object_id":39167,"comment":3},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16062,"work_log_id":39167,"user_id":5250,"status":0,"description":"","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":{},"reimbursementCount":{},"hours_spent_display":"12\u5206\u949f","read":0,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":39165,"client_id":"","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":"","project_id":"","location_in_id":"","location_out_id":"","status":-1,"indistance":"","outdistance":"","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":{},"scenarioOption":{"id":24,"key":24,"name":"\u516c\u53f8\u5916\u90e8\u57f9\u8bad"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{"object_id":39165,"comment":4},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16060,"work_log_id":39165,"user_id":5250,"status":0,"description":"","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":{},"reimbursementCount":{},"hours_spent_display":"1\u5c0f\u65f6","read":0,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"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":"","project_id":"","location_in_id":"","location_out_id":"","status":0,"indistance":0,"outdistance":0,"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":{},"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":"","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":{},"workLogContacts":[],"commentCount":{"object_id":39162,"comment":1},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"2\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"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":"","project_id":"","location_in_id":"","location_out_id":"","status":0,"indistance":0,"outdistance":0,"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":{},"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":"","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":{},"workLogContacts":[],"commentCount":{"object_id":39161,"comment":1},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"3\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"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":"","project_id":2504,"location_in_id":"","location_out_id":"","status":0,"indistance":0,"outdistance":0,"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":{},"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":"","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":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"5\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"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":"","project_id":1791,"location_in_id":"","location_out_id":"","status":0,"indistance":0,"outdistance":0,"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":{},"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":"","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":""}]}],"commentCount":{"object_id":39159,"comment":1},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"4\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":39140,"client_id":"","scenario_id":1,"scenario_option_id":67,"end_at":"2026-04-03 13:51:00","created_by":1001,"created_at":"2026-04-03 13:51:20","updated_at":"2026-04-03 13:51:20","start_at":"2026-04-03 13:50:00","description":"\u6d4b\u8bd5\u6d4b\u8bd5\u6d4b\u8bd5\u3002","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":21253,"location_out_id":"","status":0,"indistance":"","outdistance":"","hours_spent":"00:01: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":{},"scenarioOption":{"id":67,"key":67,"name":"\u5546\u673a\u63a8\u52a8"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{"object_id":39140,"comment":2},"attachmentRelationships":[],"locationIn":{"id":21253,"lng":"118.152899955919","lat":"25.1307626992865","address":"\u798f\u5efa\u7701\u6cc9\u5dde\u5e02\u5b89\u6eaa\u53bf\u9760\u8fd1\u4e1c\u6d0b\u5b66\u6821","time":"2026-04-03 13:50:00"},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"1\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":21704,"client_id":1111,"scenario_id":1,"scenario_option_id":67,"end_at":"2022-10-15 00:02:00","created_by":1001,"created_at":"2022-10-15 12:14:40","updated_at":"2022-10-15 12:14:40","start_at":"2022-10-15 00:00:00","description":"","escort":"","is_draft":0,"location_id":"","project_id":2282,"location_in_id":"","location_out_id":"","status":0,"indistance":0,"outdistance":0,"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":{},"scenarioOption":{"id":67,"key":67,"name":"\u5546\u673a\u63a8\u52a8"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":1111,"key":1111,"name":"\u4e2d\u56fd\u79d1\u5b66\u9662\u884c\u653f\u7ba1\u7406\u5c40","client_class":"","logo":"","sales_rep":5295,"salesRep":{"id":5295,"key":5295,"name":"\u9b4f\u6cfd\u6587"},"clientClass":{},"can_visit":true},"project":{"id":2282,"key":2282,"name":"\u5b89\u5168\u4e2d\u5fc3\u5efa\u8bbe"},"workLogContacts":[],"commentCount":{"object_id":21704,"comment":3},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"2\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":21551,"client_id":982,"scenario_id":1,"scenario_option_id":4,"end_at":"2022-10-10 14:01:00","created_by":1001,"created_at":"2022-10-10 14:01:57","updated_at":"2022-10-10 20:43:02","start_at":"2022-10-10 14:01:00","description":"\u62dc\u8bbf","escort":"","is_draft":0,"location_id":"","project_id":1111,"location_in_id":12020,"location_out_id":12021,"status":0,"indistance":12514,"outdistance":12514,"hours_spent":"00: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":{},"scenarioOption":{"id":4,"key":4,"name":"\u5ba2\u6237\u5403\u996d"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":982,"key":982,"name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","client_class":1,"logo":"","sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":1,"key":1,"name":"\u6838\u5fc3\u5ba2\u6237"},"can_visit":true},"project":{"id":1111,"key":1111,"name":"\u4ebf\u8054\u89c6\u9891\u4f1a\u8bae\u7edf\u4e00\u901a\u8baf"},"workLogContacts":[],"commentCount":{"object_id":21551,"comment":3},"attachmentRelationships":[{"id":16252,"object_type":18,"object_id":21551,"attachment_id":11152,"attachment":{"id":11152,"key":11152,"name":"5bfa7357-9af8-3bdf-b427-585a39c6f1db","extension":"png","path":"\/vue\/attachment\/view\/5bfa7357-9af8-3bdf-b427-585a39c6f1db\/20221010140207.png","orig_name":"20221010140207.png"}}],"locationIn":{"id":12020,"lng":"116.408343098958","lat":"40.0052506510417","address":"\u5317\u4eac\u5e02\u671d\u9633\u533a\u5b89\u7acb\u8def\u9760\u8fd1\u9a6c\u54e5\u5b5b\u7f57\u5927\u53a6","time":"2022-10-10 14:01:00"},"locationOut":{"id":12021,"lng":"116.408365342882","lat":"40.0052454969618","address":"\u5317\u4eac\u5e02\u671d\u9633\u533a\u5b89\u7acb\u8def\u9760\u8fd1\u9a6c\u54e5\u5b5b\u7f57\u5927\u53a6","time":"2022-10-10 14:01:00"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":21433,"client_id":"","scenario_id":1,"scenario_option_id":9,"end_at":"2022-09-28 17:49:00","created_by":1001,"created_at":"2022-09-28 17:49:28","updated_at":"2022-09-28 18:56:46","start_at":"2022-09-28 17:49:00","description":"\u62dc\u8bbf\u4e2d\u56fd\u8f6f\u4ef6\u7f51\u66f9\u603b\u3002\u53cd\u9988\u662f\u597d\u4ea7\u54c1\uff0c\u6709\u4ef7\u503c\u3002\u9700\u8981\u63d0\u70bc\u4ea7\u54c1\u4ef7\u503c\u3002","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":11957,"location_out_id":11958,"status":0,"indistance":"","outdistance":"","hours_spent":"00: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":{},"scenarioOption":{"id":9,"key":9,"name":"\u552e\u524d\u6280\u672f\u4ea4\u6d41"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{"object_id":21433,"comment":7},"attachmentRelationships":[],"locationIn":{"id":11957,"lng":"116.295874294705","lat":"40.0512711588542","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u4e1c\u5317\u65fa\u897f\u8def\u9760\u8fd1\u4e2d\u5173\u6751\u8f6f\u4ef6\u56ed\u5b75\u5316\u5668","time":"2022-09-28 17:49:00"},"locationOut":{"id":11958,"lng":"116.295875108507","lat":"40.0512638346354","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u4e1c\u5317\u65fa\u897f\u8def\u9760\u8fd1\u4e2d\u5173\u6751\u8f6f\u4ef6\u56ed\u5b75\u5316\u5668","time":"2022-09-28 17:49:00"},"files":[],"workLogCarbonCopyRels":[{"id":2588,"work_log_id":21433,"user_id":1000,"user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/\/avatar\/618545c1-a2ce-3918-9d51-25924baf6d6f.jpg"}}},{"id":2589,"work_log_id":21433,"user_id":5064,"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"}}}],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":20678,"client_id":"","scenario_id":1,"scenario_option_id":7,"end_at":"2022-08-17 08:18:00","created_by":1001,"created_at":"2022-08-17 08:18:29","updated_at":"2022-08-17 08:18:51","start_at":"2022-08-17 08:18:00","description":"","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":11626,"location_out_id":11627,"status":0,"indistance":"","outdistance":"","hours_spent":"00: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":{},"scenarioOption":{"id":7,"key":7,"name":"\u62dc\u8bbf\u5382\u5546"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{"object_id":20678,"comment":2},"attachmentRelationships":[],"locationIn":{"id":11626,"lng":"116.212967122396","lat":"39.7568324110243","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u5357\u8def\u9760\u8fd1\u7d2b\u4e91\u5bb6\u56ed6\u53f7\u9662","time":"2022-08-17 08:18:00"},"locationOut":{"id":11627,"lng":"116.213132052951","lat":"39.7568438042535","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u5357\u8def\u9760\u8fd1\u7d2b\u4e91\u5bb6\u56ed6\u53f7\u9662","time":"2022-08-17 08:18:00"},"files":[],"workLogCarbonCopyRels":[{"id":1678,"work_log_id":20678,"user_id":1005,"user":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"}}}],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":20677,"client_id":"","scenario_id":1,"scenario_option_id":7,"end_at":"2022-08-17 08:17:00","created_by":1001,"created_at":"2022-08-17 08:17:37","updated_at":"2022-08-17 08:18:05","start_at":"2022-08-17 08:17:00","description":"","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":11624,"location_out_id":11625,"status":0,"indistance":"","outdistance":"","hours_spent":"00: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":{},"scenarioOption":{"id":7,"key":7,"name":"\u62dc\u8bbf\u5382\u5546"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{"object_id":20677,"comment":1},"attachmentRelationships":[],"locationIn":{"id":11624,"lng":"116.213013780382","lat":"39.7567822265625","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u5357\u8def\u9760\u8fd1\u7d2b\u4e91\u5bb6\u56ed6\u53f7\u9662","time":"2022-08-17 08:17:00"},"locationOut":{"id":11625,"lng":"116.21301188151","lat":"39.7567822265625","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u5357\u8def\u9760\u8fd1\u7d2b\u4e91\u5bb6\u56ed6\u53f7\u9662","time":"2022-08-17 08:17:00"},"files":[],"workLogCarbonCopyRels":[{"id":1677,"work_log_id":20677,"user_id":1005,"user":{"id":1005,"key":1005,"name":"\u8d75\u660e\uff08\u9500\u552e\u4eba\u5458\uff09","sex":"F","avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"}}}],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":19578,"client_id":982,"scenario_id":1,"scenario_option_id":8,"end_at":"2022-07-11 09:46:00","created_by":1001,"created_at":"2022-07-11 09:46:24","updated_at":"2022-07-11 09:46:24","start_at":"2022-07-11 09:46:00","description":"","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":11359,"location_out_id":11360,"status":0,"indistance":22558,"outdistance":22558,"hours_spent":"00: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":{},"scenarioOption":{"id":8,"key":8,"name":"\u534f\u540c\u5382\u5546\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":982,"key":982,"name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","client_class":1,"logo":"","sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":1,"key":1,"name":"\u6838\u5fc3\u5ba2\u6237"},"can_visit":true},"project":{},"workLogContacts":[],"commentCount":{"object_id":19578,"comment":1},"attachmentRelationships":[],"locationIn":{"id":11359,"lng":"116.289059787326","lat":"39.9604519314236","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5c45\u7136\u4e4b\u5bb6(\u91d1\u6e90\u5e97)","time":"2022-07-11 09:46:00"},"locationOut":{"id":11360,"lng":"116.289059787326","lat":"39.9604519314236","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5c45\u7136\u4e4b\u5bb6(\u91d1\u6e90\u5e97)","time":"2022-07-11 09:46:00"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":19475,"client_id":982,"scenario_id":1,"scenario_option_id":62,"end_at":"2022-07-05 00:01:00","created_by":1001,"created_at":"2022-07-05 10:27:20","updated_at":"2022-07-05 10:27:20","start_at":"2022-07-05 00:00:00","description":"","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":"","location_out_id":"","status":0,"indistance":0,"outdistance":0,"hours_spent":"00:01: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":{},"scenarioOption":{"id":62,"key":62,"name":"\u5ba2\u6237\u5fae\u4fe1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":982,"key":982,"name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","client_class":1,"logo":"","sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":1,"key":1,"name":"\u6838\u5fc3\u5ba2\u6237"},"can_visit":true},"project":{},"workLogContacts":[],"commentCount":{"object_id":19475,"comment":1},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"1\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":18810,"client_id":"","scenario_id":1,"scenario_option_id":2,"end_at":"2022-05-14 10:30:00","created_by":1001,"created_at":"2022-05-14 11:49:12","updated_at":"2022-05-14 11:49:12","start_at":"2022-05-14 10:00:00","description":"","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":"","location_out_id":"","status":0,"indistance":"","outdistance":"","hours_spent":"00:30: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":{},"scenarioOption":{"id":2,"key":2,"name":"\u5ba2\u6237\u7535\u8bdd\u6c9f\u901a"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{"object_id":18810,"comment":1},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[{"id":22,"work_log_id":18810,"user_id":1001,"user":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"}}}],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"30\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":18718,"client_id":982,"scenario_id":1,"scenario_option_id":6,"end_at":"2022-05-10 20:15:00","created_by":1001,"created_at":"2022-05-10 21:33:43","updated_at":"2022-05-10 21:34:01","start_at":"2022-05-10 20:00:00","description":"\u7535\u8bdd","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":"","location_out_id":"","status":0,"indistance":0,"outdistance":0,"hours_spent":"00:15: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":{},"scenarioOption":{"id":6,"key":6,"name":"\u5ba2\u6237\u89c1\u9762\u8c08\u9690\u79c1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":982,"key":982,"name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","client_class":1,"logo":"","sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":1,"key":1,"name":"\u6838\u5fc3\u5ba2\u6237"},"can_visit":true},"project":{},"workLogContacts":[],"commentCount":{"object_id":18718,"comment":2},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"15\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":18220,"client_id":982,"scenario_id":1,"scenario_option_id":4,"end_at":"2022-02-22 15:39:00","created_by":1001,"created_at":"2022-02-22 15:39:37","updated_at":"2022-02-22 15:39:37","start_at":"2022-02-22 15:39:00","description":"\u559d\u4e86\u8305\u53f0","escort":"","is_draft":0,"location_id":"","project_id":1111,"location_in_id":10491,"location_out_id":10492,"status":0,"indistance":37085,"outdistance":37085,"hours_spent":"00: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":{},"scenarioOption":{"id":4,"key":4,"name":"\u5ba2\u6237\u5403\u996d"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":982,"key":982,"name":"\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240","client_class":1,"logo":"","sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":1,"key":1,"name":"\u6838\u5fc3\u5ba2\u6237"},"can_visit":true},"project":{"id":1111,"key":1111,"name":"\u4ebf\u8054\u89c6\u9891\u4f1a\u8bae\u7edf\u4e00\u901a\u8baf"},"workLogContacts":[{"id":3819,"key":3819,"name":"JJ","department":"","job_position":"","mobiles":[{"id":4648,"contact_id":3819,"mobile":"18610100906","mp_open_id":""}]},{"id":3837,"key":3837,"name":"\u5218\u6d77\u9759","department":"","job_position":"","mobiles":[{"id":4655,"contact_id":3837,"mobile":"13361065172","mp_open_id":"oagch6eY0rbrcq3XzvnP-ZLwCqnk"}]}],"commentCount":{"object_id":18220,"comment":1},"attachmentRelationships":[{"id":12134,"object_type":18,"object_id":18220,"attachment_id":9634,"attachment":{"id":9634,"key":9634,"name":"f737c86b-afc1-34c9-981b-91189ba1191c","extension":"png","path":"\/vue\/attachment\/view\/f737c86b-afc1-34c9-981b-91189ba1191c\/20220222153926.png","orig_name":"20220222153926.png"}}],"locationIn":{"id":10491,"lng":"116.430754665799","lat":"39.7742656792535","address":"\u5317\u4eac\u5e02\u5927\u5174\u533a\u5fb7\u88d5\u8857\u9760\u8fd1\u6d77\u68ee\u56ed","time":"2022-02-22 15:39:00"},"locationOut":{"id":10492,"lng":"116.430766601562","lat":"39.7742339409722","address":"\u5317\u4eac\u5e02\u5927\u5174\u533a\u5fb7\u88d5\u8857\u9760\u8fd1\u6d77\u68ee\u56ed","time":"2022-02-22 15:39:00"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":18221,"client_id":"","scenario_id":1,"scenario_option_id":10,"end_at":"2022-02-22 13:00:00","created_by":1001,"created_at":"2022-02-22 15:41:14","updated_at":"2022-02-22 15:41:14","start_at":"2022-02-21 14:00:00","description":"\u4eca\u5929\u505a\u4e86\u4ec0\u4e48","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":"","location_out_id":"","status":0,"indistance":"","outdistance":"","hours_spent":"23: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":{},"scenarioOption":{"id":10,"key":10,"name":"\u516c\u53f8\u5185\u90e8\u57f9\u8bad"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"23\u5c0f\u65f6","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"},{"id":17921,"client_id":"","scenario_id":1,"scenario_option_id":4,"end_at":"2022-01-06 11:30:00","created_by":1001,"created_at":"2022-01-06 11:42:21","updated_at":"2022-01-06 11:42:21","start_at":"2022-01-06 10:00:00","description":"\u6d4b\u8bd5","escort":"","is_draft":0,"location_id":"","project_id":"","location_in_id":"","location_out_id":"","status":0,"indistance":"","outdistance":"","hours_spent":"01:30: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":{},"scenarioOption":{"id":4,"key":4,"name":"\u5ba2\u6237\u5403\u996d"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"1\u5c0f\u65f630\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"bgcolor":"#89c541"}],"can_create":true,"pagenation":{"totalcount":85,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-01 13:11:18', 285619200) RETURNING "id" |
| 13:11:17.967 | 2.2 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id" IN (39163, 39167, 39165, 39162, 39161, 39160, 39159, 39140, 21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220, 18221, 17921) |
| 13:11:17.960 | 1.8 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 (21253, 12020, 11957, 11626, 11624, 11359, 10491) |
| 13:11:17.871 | 1.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"=1001) |
| 13:11:17.876 | 1.0 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (2616, 2538, 146, 1661, 1111, 982) |
| 13:11:17.781 | 0.8 ms | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:11:17.783 | 0.5 ms | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:11:17.970 | 0.4 ms | yii\db\Command::query | SELECT "id", "id" AS "key", CASE WHEN user_status = '-1' THEN name || '(已离职)' ELSE name END AS name, "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1001, 1005, 1000, 5064) |
| 13:11:17.875 | 0.4 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id" IN (71, 24, 67, 4, 9, 7, 8, 62, 2, 6, 10) |
| 13:11:17.825 | 0.4 ms | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id" |
| 13:11:17.875 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id" IN (1, 2) |
| 13:11:17.870 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:11:17.962 | 0.3 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 (12021, 11958, 11627, 11625, 11360, 10492) |
| 13:11:17.878 | 0.3 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5295, 1001) |
| 13:11:17.970 | 0.3 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" IN (1001, 5064, 1000, 1005)) |
| 13:11:17.874 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4 |
| 13:11:17.973 | 0.2 ms | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5250 |
| 13:11:17.974 | 0.2 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"=5250) |
| 13:11:17.780 | 0.2 ms | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |