Log Messages

总计67条数据
TimeLevelCategoryMessage
 
14:33:41.248traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:33:41.248traceyii\base\Module::getModuleLoading module: debug
14:33:41.248traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:33:41.249traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:33:41.249traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:33:41.249traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:33:41.249traceyii\base\Module::getModuleLoading module: gii
14:33:41.249traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:33:41.249traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:33:41.249traceyii\web\Application::handleRequestRoute requested: 'v2/work-log/list'
14:33:41.249traceyii\base\Module::getModuleLoading module: v2
14:33:41.250infoyii\web\Session::openSession started
14:33:41.250infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:33:41.252infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='JaijjTZWzZjgdx9RhHhwFXGU-e0N-Sfm'
14:33:41.255traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:33:41.255traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:33:41.255traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:33:41.256traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:33:41.256infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:33:41.257traceyii\base\Controller::runActionRoute to run: v2/work-log/list
14:33:41.257traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:33:41.258traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:33:41.258traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\WorkLogController::actionList()
14:33:41.260traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:33:41.260infoyii\db\Command::querySELECT 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;
14:33:41.265infoyii\db\Command::queryselect 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
14:33:41.278traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:33:41.278traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:33:41.281traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:33:41.281traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:33:41.282infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id"
14:33:41.283infoyii\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, 1017, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5300, 5311, 5332, 5360, 5388, 5446, 5449)) OR ("ccr"."user_id"=1000)) AND ("s"."created_by"='1000') AND ("u"."department_id"='10') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC) "c"
14:33:41.290infoyii\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, 1017, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5300, 5311, 5332, 5360, 5388, 5446, 5449)) OR ("ccr"."user_id"=1000)) AND ("s"."created_by"='1000') AND ("u"."department_id"='10') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC LIMIT 10
14:33:41.299infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:33:41.299infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)
14:33:41.300infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10
14:33:41.300infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id" IN (66, 71, 27, 73, 7, 9)
14:33:41.301infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id" IN (1, 3)
14:33:41.301infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (149, 982)
14:33:41.302infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1005, 1001)
14:33:41.302infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id" IN (47, 1)
14:33:41.302infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id" IN (1111, 2622)
14:33:41.303infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id" IN (33933, 32301, 28651, 24988, 20700, 20062, 19615, 19054, 18781, 18780)
14:33:41.309infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "department", "job_position" FROM "a57be577deb434"."tbl_contacts" WHERE "id" IN (3322, 4082, 3643, 783)
14:33:41.314infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (783, 3322, 3643, 4082)
14:33:41.316infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id" IN (33933, 32301, 28651, 24988, 20700, 20062, 19615, 19054, 18781, 18780)) GROUP BY "object_id"
14:33:41.339infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id" IN (33933, 32301, 28651, 24988, 20700, 20062, 19615, 19054, 18781, 18780))
14:33:41.341infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id" IN (16409, 20947, 27162)
14:33:41.342infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (16978, 13165, 11143)
14:33:41.347infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (16979, 13166, 11646, 11144)
14:33:41.349infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id" IN (33933, 32301, 28651, 24988, 20700, 20062, 19615, 19054, 18781, 18780))
14:33:41.350infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id" IN (33933, 32301, 28651, 24988, 20700, 20062, 19615, 19054, 18781, 18780)
14:33:41.351infoyii\db\Command::querySELECT "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, 5016, 5064)
14:33:41.352infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (5016, 5064, 1001))
14:33:41.352infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id" IN (33933, 32301, 28651, 24988, 20700, 20062, 19615, 19054, 18781, 18780) ORDER BY "id"
14:33:41.353infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (1000, 5016)
14:33:41.354infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (5016, 1000))
14:33:41.354infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=19) AND (remind_user_id = 1000 AND is_read = false) AND ("object_id" IN (33933, 32301, 28651, 24988, 20700, 20062, 19615, 19054, 18781, 18780)) GROUP BY "object_id"
14:33:41.371infoyii\db\Command::querySELECT "work_log_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (1, 2, 3)) AND ("work_log_id" IN (33933, 32301, 28651, 24988, 20700, 20062, 19615, 19054, 18781, 18780)) GROUP BY "work_log_id"
14:33:41.373infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "work_log_id" IN (33933, 32301, 28651, 24988, 20700, 20062, 19615, 19054, 18781, 18780)
14:33:41.376infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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"=1000))
14:33:41.379infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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"=1000))
14:33:41.382infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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"=1000))
14:33:41.385infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 1001, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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"=1000))
14:33:41.388traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:33:41.388traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:33:41.388infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 6, 168, 'v2/work-log/list', '{"WorkLogSearch":{"filterDepartment":"10","filterUser":"1000"},"page":"1","pagesize":"10","posttime":"1754634820","access_token":"JaijjTZWzZjgdx9RhHhwFXGU-e0N-Sfm","device_type":"6","version_code":"168","token":"227061641d72ff9a070ca7b8bc84bbb1"}', '{"code":200,"data":{"list":[{"id":33933,"client_id":null,"scenario_id":1,"scenario_option_id":66,"end_at":"2024-03-22 09:58:00","created_by":1000,"created_at":"2024-03-22 09:59:09","updated_at":"2025-08-07 22:18:51","start_at":"2024-03-22 09:58:00","description":"test","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":16978,"location_out_id":16979,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"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":33933,"comment":11},"attachmentRelationships":[{"id":37392,"object_type":18,"object_id":33933,"attachment_id":27162,"attachment":{"id":27162,"key":27162,"name":"a3f2607e-10a6-32f4-9dcb-33afa6a87c3f","extension":"jpg","path":"\/v2\/attachment\/view\/JaijjTZWzZjgdx9RhHhwFXGU-e0N-Sfm\/a3f2607e-10a6-32f4-9dcb-33afa6a87c3f\/Screenshot_20250712_132623_com.jinchangxiao.bms.jpg","orig_name":"Screenshot_20250712_132623_com.jinchangxiao.bms.jpg"}}],"locationIn":{"id":16978,"lng":"116.366994357639","lat":"39.9133034939236","address":"\u5317\u4eac\u5e02\u897f\u57ce\u533a\u4e8c\u9f99\u8def\u9760\u8fd1\u5317\u4eac\u5e08\u8303\u5927\u5b66\u9644\u5c5e\u5b9e\u9a8c\u4e2d\u5b66(\u5317\u6821\u533a)","time":"2024-03-22 09:58:00"},"locationOut":{"id":16979,"lng":"116.367059190538","lat":"39.9133572048611","address":"\u5317\u4eac\u5e02\u897f\u57ce\u533a\u4e8c\u9f99\u8def\u9760\u8fd1\u5317\u4eac\u5e08\u8303\u5927\u5b66\u9644\u5c5e\u5b9e\u9a8c\u4e2d\u5b66(\u5317\u6821\u533a)","time":"2024-03-22 09:58:00"},"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":true,"can_location_in":false,"can_location_out":false},{"id":32301,"client_id":149,"scenario_id":1,"scenario_option_id":71,"end_at":"2023-12-07 10:00:00","created_by":1000,"created_at":"2023-12-07 11:04:04","updated_at":"2023-12-07 11:04:25","start_at":"2023-12-07 08:00:00","description":"test","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":"02:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":71,"key":71,"name":"\u62dc\u8bbf\u5ba2\u6237"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":149,"key":149,"name":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240(\u6cd5\u8bc1\u90e8)\uff08\u71d5\u4eac\uff09","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u6657\u7131"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":{"object_id":32301,"comment":2},"attachmentRelationships":[{"id":22186,"object_type":18,"object_id":32301,"attachment_id":16409,"attachment":{"id":16409,"key":16409,"name":"10780566-0d8d-36d1-ae46-76245ed6fb23","extension":"png","path":"\/v2\/attachment\/view\/JaijjTZWzZjgdx9RhHhwFXGU-e0N-Sfm\/10780566-0d8d-36d1-ae46-76245ed6fb23\/20231207110421.png","orig_name":"20231207110421.png"}}],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":7763,"work_log_id":32301,"user_id":1000,"status":1,"description":null,"verify_at":"","user":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"2\u5c0f\u65f6","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":28651,"client_id":null,"scenario_id":3,"scenario_option_id":27,"end_at":"2023-08-17 09:50:00","created_by":1000,"created_at":"2023-08-17 09:51:38","updated_at":"2024-08-15 21:47:26","start_at":"2023-08-17 08:50:00","description":"\u6d4b\u8bd5\u63a8\u90013","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":"01:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":27,"key":27,"name":"\u5916\u51fa\u529e\u516c"},"scenarios":{"id":3,"key":3,"name":"\u5185\u52e4\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":28651,"comment":9},"attachmentRelationships":[{"id":27902,"object_type":18,"object_id":28651,"attachment_id":20947,"attachment":{"id":20947,"key":20947,"name":"67b6bc4e-1fc6-3e3e-94cc-d748e1efef89","extension":"png","path":"\/v2\/attachment\/view\/JaijjTZWzZjgdx9RhHhwFXGU-e0N-Sfm\/67b6bc4e-1fc6-3e3e-94cc-d748e1efef89\/20240815214725.png","orig_name":"20240815214725.png"}}],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[{"id":15594,"work_log_id":28651,"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":[{"id":12723,"work_log_id":28651,"user_id":5016,"status":1,"description":null,"verify_at":"","user":{"id":5016,"key":5016,"name":"\u9ad8\u90e1\u9633","sex":"M","avatar":{"id":35,"user_id":5016,"name":"\/files\/cdn\/a57be577deb434\/avatar\/404e0bcf-6382-3f63-b93b-4d936f35a4b2.png"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","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":24988,"client_id":149,"scenario_id":1,"scenario_option_id":73,"end_at":"2023-04-10 11:15:00","created_by":1000,"created_at":"2023-04-10 11:02:08","updated_at":"2023-04-10 11:02:08","start_at":"2023-04-10 10:15:00","description":"\u6c9f\u901a\u4e2d\u95f4\u5e93\u8f6f\u4ef6\u65b0\u9700\u6c42","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":13165,"location_out_id":13166,"status":0,"indistance":34495,"outdistance":34495,"hours_spent":"01:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":73,"key":73,"name":"\u552e\u540e\u670d\u52a1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":149,"key":149,"name":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240(\u6cd5\u8bc1\u90e8)\uff08\u71d5\u4eac\uff09","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u6657\u7131"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[{"id":783,"key":783,"name":"\u9a6c\u6210","department":"","job_position":"","mobiles":[{"id":2042,"contact_id":783,"mobile":"18310095133","mp_open_id":null}]}],"commentCount":{"object_id":24988,"comment":1},"attachmentRelationships":[],"locationIn":{"id":13165,"lng":"116.396383734809","lat":"40.2427053493924","address":"\u5317\u4eac\u5e02\u660c\u5e73\u533a\u79e6\u57ce\u8def\u9760\u8fd1\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240\u79e6\u57ce\u57fa\u57302\u53f7\u9662","time":"2023-04-10 10:15:00"},"locationOut":{"id":13166,"lng":"116.396388617621","lat":"40.242708875868","address":"\u5317\u4eac\u5e02\u660c\u5e73\u533a\u79e6\u57ce\u8def\u9760\u8fd1\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240\u79e6\u57ce\u57fa\u57302\u53f7\u9662","time":"2023-04-10 11:15:00"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","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":20700,"client_id":982,"scenario_id":1,"scenario_option_id":7,"end_at":"2022-08-17 17:12:00","created_by":1000,"created_at":"2022-08-17 17:12:01","updated_at":"2022-08-17 17:13:03","start_at":"2022-08-17 15:00:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":1111,"location_in_id":null,"location_out_id":11646,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"02:12:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":7,"key":7,"name":"\u62dc\u8bbf\u5382\u5546"},"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":null,"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":3643,"key":3643,"name":"\u9ad8\u90e1\u9633(\u6d4b\u8bd5)","department":"","job_position":"","mobiles":[{"id":4287,"contact_id":3643,"mobile":"18202460558","mp_open_id":"oagch6QIZgCDpSY1W6MNG0MC0w5c"}]},{"id":4082,"key":4082,"name":"\u6d4b\u8bd5","department":"","job_position":"","mobiles":[{"id":4902,"contact_id":4082,"mobile":"17610989898","mp_open_id":null}]}],"commentCount":{"object_id":20700,"comment":10},"attachmentRelationships":[],"locationIn":null,"locationOut":{"id":11646,"lng":"116.289040527344","lat":"39.9604722764757","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5c45\u7136\u4e4b\u5bb6(\u91d1\u6e90\u5e97)","time":"2022-08-17 17:12:00"},"files":[],"workLogCarbonCopyRels":[{"id":1726,"work_log_id":20700,"user_id":5016,"user":{"id":5016,"key":5016,"name":"\u9ad8\u90e1\u9633","sex":"M","avatar":{"id":35,"user_id":5016,"name":"\/files\/cdn\/a57be577deb434\/avatar\/404e0bcf-6382-3f63-b93b-4d936f35a4b2.png"}}},{"id":1727,"work_log_id":20700,"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":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"2\u5c0f\u65f612\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":20062,"client_id":null,"scenario_id":1,"scenario_option_id":9,"end_at":"2022-07-27 01:11:00","created_by":1000,"created_at":"2022-07-27 09:55:41","updated_at":"2022-07-27 10:01:53","start_at":"2022-07-27 01:00: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:11:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":9,"key":9,"name":"\u552e\u524d\u6280\u672f\u4ea4\u6d41"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":20062,"comment":5},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[{"id":1081,"work_log_id":20062,"user_id":5016,"user":{"id":5016,"key":5016,"name":"\u9ad8\u90e1\u9633","sex":"M","avatar":{"id":35,"user_id":5016,"name":"\/files\/cdn\/a57be577deb434\/avatar\/404e0bcf-6382-3f63-b93b-4d936f35a4b2.png"}}}],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"11\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":19615,"client_id":null,"scenario_id":1,"scenario_option_id":7,"end_at":"2022-07-13 18:00:00","created_by":1000,"created_at":"2022-07-13 19:25:03","updated_at":"2022-07-13 19:25:03","start_at":"2022-07-13 17:00: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":"01:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":7,"key":7,"name":"\u62dc\u8bbf\u5382\u5546"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":19615,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[{"id":662,"work_log_id":19615,"user_id":1001,"user":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}}}],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","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":19054,"client_id":149,"scenario_id":3,"scenario_option_id":27,"end_at":"2022-06-04 12:26:00","created_by":1000,"created_at":"2022-06-04 12:26:05","updated_at":"2022-07-13 18:08:27","start_at":"2022-06-04 12:25:00","description":"\u6d4b\u8bd5","escort":"\u6d4b\u8bd5test","is_draft":0,"location_id":null,"project_id":2622,"location_in_id":11143,"location_out_id":11144,"status":0,"indistance":11294,"outdistance":11294,"hours_spent":"00:01:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":27,"key":27,"name":"\u5916\u51fa\u529e\u516c"},"scenarios":{"id":3,"key":3,"name":"\u5185\u52e4\u65e5\u5fd7"},"client":{"id":149,"key":149,"name":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240(\u6cd5\u8bc1\u90e8)\uff08\u71d5\u4eac\uff09","client_class":47,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u6657\u7131"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":{"id":2622,"key":2622,"name":"\u8f6f\u4ef6\u627f\u8f7d\u865a\u62df\u5316\u5e73\u53f0"},"workLogContacts":[{"id":3322,"key":3322,"name":"\u6bd5\u6653\u6645","department":"\u751f\u4ea7\u90e8","job_position":"\u4e3b\u4efb","mobiles":[{"id":3696,"contact_id":3322,"mobile":"13910110069","mp_open_id":null}]}],"commentCount":{"object_id":19054,"comment":9},"attachmentRelationships":[],"locationIn":{"id":11143,"lng":"116.191183268229","lat":"39.9383070203993","address":"\u5317\u4eac\u5e02\u77f3\u666f\u5c71\u533a\u5b9e\u5174\u5927\u8857\u9760\u8fd1\u5317\u4eac\u516b\u5927\u5904\u4e2d\u897f\u533b\u7ed3\u5408\u533b\u9662","time":"2022-06-04 12:25:00"},"locationOut":{"id":11144,"lng":"116.191183268229","lat":"39.9383070203993","address":"\u5317\u4eac\u5e02\u77f3\u666f\u5c71\u533a\u5b9e\u5174\u5927\u8857\u9760\u8fd1\u5317\u4eac\u516b\u5927\u5904\u4e2d\u897f\u533b\u7ed3\u5408\u533b\u9662","time":"2022-06-04 12:26:00"},"files":[],"workLogCarbonCopyRels":[{"id":659,"work_log_id":19054,"user_id":1001,"user":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}}}],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\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":18781,"client_id":null,"scenario_id":3,"scenario_option_id":27,"end_at":"2022-05-12 20:00:00","created_by":1000,"created_at":"2022-05-12 21:24:20","updated_at":"2022-07-13 18:09:33","start_at":"2022-05-12 19:00:00","description":"test","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:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":27,"key":27,"name":"\u5916\u51fa\u529e\u516c"},"scenarios":{"id":3,"key":3,"name":"\u5185\u52e4\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":18781,"comment":3},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[{"id":660,"work_log_id":18781,"user_id":1001,"user":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}}}],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","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":18780,"client_id":null,"scenario_id":3,"scenario_option_id":27,"end_at":"2022-05-12 11:00:00","created_by":1000,"created_at":"2022-05-12 21:22:49","updated_at":"2022-05-12 21:22:49","start_at":"2022-05-12 10:00: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":"01:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":{"id":27,"key":27,"name":"\u5916\u51fa\u529e\u516c"},"scenarios":{"id":3,"key":3,"name":"\u5185\u52e4\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":18780,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[{"id":1,"work_log_id":18780,"user_id":1001,"user":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}}}],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","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":31,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-08-08 14:33:41') RETURNING "id"