Log Messages

总计67条数据
TimeLevelCategoryMessage
 
18:18:59.897traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
18:18:59.897traceyii\base\Module::getModuleLoading module: debug
18:18:59.897traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
18:18:59.897traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
18:18:59.898traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
18:18:59.898traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:18:59.898traceyii\base\Module::getModuleLoading module: gii
18:18:59.898traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
18:18:59.898traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
18:18:59.898traceyii\web\Application::handleRequestRoute requested: 'v2/work-log/list'
18:18:59.898traceyii\base\Module::getModuleLoading module: v2
18:18:59.898infoyii\web\Session::openSession started
18:18:59.899infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
18:18:59.901infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='aHkemdL-FzzGDDN3FUg-tUfVIXoO8gyc'
18:18:59.904traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:18:59.904traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:18:59.904traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:18:59.904traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:18:59.904infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
18:18:59.906traceyii\base\Controller::runActionRoute to run: v2/work-log/list
18:18:59.906traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:18:59.907traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
18:18:59.907traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\WorkLogController::actionList()
18:18:59.908traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:18:59.909infoyii\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;
18:18:59.913infoyii\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
18:18:59.919traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:18:59.919traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
18:18:59.921traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:18:59.921traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:18:59.922infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id"
18:18:59.923infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT s.*, s.end_at - s.start_at AS hours_spent FROM "a57be577deb434"."tbl_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" LEFT JOIN "a57be577deb434"."tbl_work_log_verify_rels" "rvr" ON rvr.work_log_id = s.id LEFT JOIN "a57be577deb434"."tbl_work_log_carbon_copy_rels" "ccr" ON ccr.work_log_id = s.id WHERE (("s"."created_by" IN (1000, 1001, 1004, 1005, 1011, 1013, 1015, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5300, 5311, 5332, 5360, 5388, 5446, 5449)) OR ("ccr"."user_id"=1001)) AND ("s"."created_by"='1001') AND ("u"."department_id"='4') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC) "c"
18:18:59.929infoyii\db\Command::querySELECT s.*, s.end_at - s.start_at AS hours_spent FROM "a57be577deb434"."tbl_work_logs" "s" LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE LEFT JOIN "a57be577deb434"."tbl_projects" "p" ON "p"."id" = "s"."project_id" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "s"."created_by" LEFT JOIN "a57be577deb434"."tbl_work_log_verify_rels" "rvr" ON rvr.work_log_id = s.id LEFT JOIN "a57be577deb434"."tbl_work_log_carbon_copy_rels" "ccr" ON ccr.work_log_id = s.id WHERE (("s"."created_by" IN (1000, 1001, 1004, 1005, 1011, 1013, 1015, 1022, 1023, 5016, 5064, 5085, 5087, 5248, 5250, 5252, 5295, 5300, 5311, 5332, 5360, 5388, 5446, 5449)) OR ("ccr"."user_id"=1001)) AND ("s"."created_by"='1001') AND ("u"."department_id"='4') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC LIMIT 10
18:18:59.935infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
18:18:59.935infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)
18:18:59.936infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4
18:18:59.936infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id" IN (67, 4, 9, 7, 8, 62, 2, 6)
18:18:59.937infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"=1
18:18:59.937infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (1111, 982)
18:18:59.938infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
18:18:59.938infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id"=1
18:18:59.939infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id" IN (2282, 1111)
18:18:59.940infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id" IN (21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220)
18:18:59.945infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "department", "job_position" FROM "a57be577deb434"."tbl_contacts" WHERE "id" IN (3837, 3819)
18:18:59.946infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (3819, 3837)
18:18:59.947infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id" IN (21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220)) GROUP BY "object_id"
18:18:59.970infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id" IN (21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220))
18:18:59.976infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id" IN (9634, 11152)
18:18:59.978infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (12020, 11957, 11626, 11624, 11359, 10491)
18:18:59.986infoyii\db\Command::querySELECT 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)
18:18:59.987infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id" IN (21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220))
18:18:59.989infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id" IN (21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220)
18:18:59.990infoyii\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, 1005, 1000, 5064)
18:18:59.990infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1001, 1005, 5064, 1000))
18:18:59.991infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id" IN (21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220) ORDER BY "id"
18:18:59.992infoyii\db\Command::querySELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=19) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id" IN (21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220)) GROUP BY "object_id"
18:19:00.009infoyii\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 (21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220)) GROUP BY "work_log_id"
18:19:00.011infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "work_log_id" IN (21704, 21551, 21433, 20678, 20677, 19578, 19475, 18810, 18718, 18220)
18:19:00.014infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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))
18:19:00.017infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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))
18:19:00.020infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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))
18:19:00.022infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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))
18:19:00.025infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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))
18:19:00.028infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_clients" WHERE ("sales_rep" IN (1001, 5049, 5301, 5022, 5209, 5026, 5293, 5309, 5356, 5329, 5299, 5303, 5302, 5332, 5047, 1026, 5096, 5070, 5448, 5420, 1029, 5037, 5087, 1008, 5048, 5043, 5045, 5230, 5031, 5088, 5208, 1003, 5294, 5357, 5044, 1030, 5076, 5300, 5027, 5089, 5311, 5066, 5069, 5364, 1009, 5295, 1013, 5128, 5203, 1025, 5032, 5075, 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))
18:19:00.031traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:19:00.031traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:19:00.031infoyii\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', 1001, 0, 266, 'v2/work-log/list', '{"access_token":"aHkemdL-FzzGDDN3FUg-tUfVIXoO8gyc","device_type":"0","version_code":"266","WorkLogSearch":{"scenario_option_id":"","scenario_id":"","filterUser":"1001","status":"","filterDepartment":"4"},"page":"1","token":"9c138538dfb484eacedd058ee460fef1","posttime":"1758104340","pagesize":"10"}', '{"code":200,"data":{"list":[{"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":null,"project_id":2282,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:02:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"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":null,"logo":null,"sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":null,"can_visit":true},"project":{"id":2282,"key":2282,"name":"\u5b89\u5168\u4e2d\u5fc3\u5efa\u8bbe"},"workLogContacts":[],"commentCount":{"object_id":21704,"comment":3},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"2\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":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":null,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"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":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":[],"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":"\/v2\/attachment\/view\/aHkemdL-FzzGDDN3FUg-tUfVIXoO8gyc\/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":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":21433,"client_id":null,"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":null,"project_id":null,"location_in_id":11957,"location_out_id":11958,"status":0,"indistance":999999999,"outdistance":999999999,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"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":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\/a57be577deb434\/avatar\/80759bee-0611-3ad4-bb4a-30d802dd0032.png"}}},{"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":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":20678,"client_id":null,"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":null,"project_id":null,"location_in_id":11626,"location_out_id":11627,"status":0,"indistance":999999999,"outdistance":999999999,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"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":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\u6657\u7131","sex":"F","avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"}}}],"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":20677,"client_id":null,"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":null,"project_id":null,"location_in_id":11624,"location_out_id":11625,"status":0,"indistance":999999999,"outdistance":999999999,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"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":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\u6657\u7131","sex":"F","avatar":{"id":16,"user_id":1005,"name":"\/files\/cdn\/a57be577deb434\/avatar\/56876dde-37eb-39fc-853a-47eaef6510e5.png"}}}],"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":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":null,"project_id":null,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"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":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":null,"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":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":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":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"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":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":null,"workLogContacts":[],"commentCount":{"object_id":19475,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"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":18810,"client_id":null,"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":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":2,"key":2,"name":"\u5ba2\u6237\u7535\u8bdd\u6c9f\u901a"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":18810,"comment":1},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"}}}],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"30\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":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":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"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":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":null,"workLogContacts":[],"commentCount":{"object_id":18718,"comment":2},"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"15\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":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":null,"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\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"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":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":3819,"key":3819,"name":"JJ","department":"","job_position":"","mobiles":[{"id":4648,"contact_id":3819,"mobile":"18610100906","mp_open_id":null}]},{"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":"\/v2\/attachment\/view\/aHkemdL-FzzGDDN3FUg-tUfVIXoO8gyc\/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":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}],"pagenation":{"totalcount":77,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-17 18:19:00') RETURNING "id"