Log Messages

总计67条数据
TimeLevelCategoryMessage
 
14:02:04.323traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:02:04.323traceyii\base\Module::getModuleLoading module: debug
14:02:04.323traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:02:04.323traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:02:04.323traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:02:04.323traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:02:04.324traceyii\base\Module::getModuleLoading module: gii
14:02:04.324traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:02:04.324traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:02:04.324traceyii\web\Application::handleRequestRoute requested: 'v2/work-log/list'
14:02:04.324traceyii\base\Module::getModuleLoading module: v2
14:02:04.324infoyii\web\Session::openSession started
14:02:04.325infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:02:04.327infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH'
14:02:04.330traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:02:04.330traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:02:04.330traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:02:04.330traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:02:04.330infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:02:04.331traceyii\base\Controller::runActionRoute to run: v2/work-log/list
14:02:04.332traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:02:04.332traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:02:04.332traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\WorkLogController::actionList()
14:02:04.333traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:02:04.333traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:02:04.333traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:02:04.334traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:02:04.335infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id"
14:02:04.336infoyii\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, 5296, 5300, 5311, 5329, 5332, 5360, 5388, 5404, 5420, 5440, 5445, 5446)) OR ("ccr"."user_id"=1000) GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC) "c"
14:02:04.384infoyii\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, 5296, 5300, 5311, 5329, 5332, 5360, 5388, 5404, 5420, 5440, 5445, 5446)) OR ("ccr"."user_id"=1000) GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC LIMIT 10
14:02:04.452infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5087, 5016)
14:02:04.453infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (5016, 5087))
14:02:04.453infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id" IN (10, 1)
14:02:04.454infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=2
14:02:04.454infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"=1
14:02:04.455infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (526, 85, 2135, 145, 2136, 2132)
14:02:04.455infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=5087
14:02:04.456infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id" IN (43, 47)
14:02:04.456infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=2741
14:02:04.456infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id" IN (21187, 19134, 18115, 36992, 32391, 27704, 24867, 21474, 20392, 20012)
14:02:04.459infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "department", "job_position" FROM "a57be577deb434"."tbl_contacts" WHERE "id"=3887
14:02:04.459infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=3887
14:02:04.460infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id" IN (21187, 19134, 18115, 36992, 32391, 27704, 24867, 21474, 20392, 20012)) GROUP BY "object_id"
14:02:04.481infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id" IN (21187, 19134, 18115, 36992, 32391, 27704, 24867, 21474, 20392, 20012))
14:02:04.483infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id" IN (24693, 24694)
14:02:04.484infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (16037, 14186, 11985)
14:02:04.484infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (16038, 14187, 11986)
14:02:04.485infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id" IN (21187, 19134, 18115, 36992, 32391, 27704, 24867, 21474, 20392, 20012))
14:02:04.486infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id" IN (21187, 19134, 18115, 36992, 32391, 27704, 24867, 21474, 20392, 20012)
14:02:04.487infoyii\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, 1000)
14:02:04.487infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (1001, 1000))
14:02:04.488infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id" IN (21187, 19134, 18115, 36992, 32391, 27704, 24867, 21474, 20392, 20012) ORDER BY "id"
14:02:04.489infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:02:04.489infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)
14:02:04.489infoyii\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 (21187, 19134, 18115, 36992, 32391, 27704, 24867, 21474, 20392, 20012)) GROUP BY "object_id"
14:02:04.505infoyii\db\Command::querySELECT "work_log_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" != 4) AND ("status" != 0) AND ("work_log_id" IN (21187, 19134, 18115, 36992, 32391, 27704, 24867, 21474, 20392, 20012)) GROUP BY "work_log_id"
14:02:04.507infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "work_log_id" IN (21187, 19134, 18115, 36992, 32391, 27704, 24867, 21474, 20392, 20012)
14:02:04.509infoyii\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:02:04.512infoyii\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:02:04.514infoyii\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:02:04.517infoyii\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:02:04.519infoyii\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:02:04.522infoyii\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:02:04.524infoyii\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:02:04.527traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:02:04.527traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:02:04.528infoyii\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, 2, 1141, 'v2/work-log/list', '{"WorkLogSearch":{"filterDepartment":"","filterUser":"","scenario_id":"","scenario_option_id":"","status":""},"access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"2","posttime":"1752213760","token":"09a42daae68f8a66497c5de4f76fbf42","version_code":"1141"}', '{"code":200,"data":{"list":[{"id":21187,"client_id":526,"scenario_id":1,"scenario_option_id":2,"end_at":"","created_by":5087,"created_at":"2022-09-13 00:19:34","updated_at":"2025-05-09 11:15:42","start_at":"2022-09-09 00:00:00","description":"\u7535\u8bdd\u8054\u7cfb\uff0c\u672a\u63a5\u901a","escort":"","is_draft":1,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":null,"createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"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":{"id":526,"key":526,"name":"\u4e2d\u56fd\u822a\u5929\u79d1\u6280\u96c6\u56e2(\u4e00\u9662702\u6240)","client_class":43,"logo":"","sales_rep":5087,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[{"id":33050,"object_type":18,"object_id":21187,"attachment_id":24693,"attachment":{"id":24693,"key":24693,"name":"a9fbdcc7-cc13-3edf-a1c5-9222275d2e18","extension":"jpg","path":"\/v2\/attachment\/view\/oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH\/a9fbdcc7-cc13-3edf-a1c5-9222275d2e18\/Screenshot_20250508_100213_com.jinchangxiao.bms.jpg","orig_name":"Screenshot_20250508_100213_com.jinchangxiao.bms.jpg"}},{"id":33051,"object_type":18,"object_id":21187,"attachment_id":24694,"attachment":{"id":24694,"key":24694,"name":"156f1b66-d982-3a5e-9e2c-e432021e475f","extension":"jpg","path":"\/v2\/attachment\/view\/oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH\/156f1b66-d982-3a5e-9e2c-e432021e475f\/Screenshot_20250509_104914_com.jinchangxiao.bms.jpg","orig_name":"Screenshot_20250509_104914_com.jinchangxiao.bms.jpg"}}],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":false,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":19134,"client_id":85,"scenario_id":1,"scenario_option_id":null,"end_at":"","created_by":5087,"created_at":"2022-06-13 09:19:00","updated_at":"2022-06-13 09:19:00","start_at":"","description":"","escort":"","is_draft":1,"location_id":null,"project_id":2741,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":null,"createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":85,"key":85,"name":"\u5317\u4eac\u52a8\u529b\u673a\u68b0\u7814\u7a76\u6240 31\u6240","client_class":47,"logo":null,"sales_rep":5087,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":{"id":2741,"key":2741,"name":"SAN\u5b58\u50a8"},"workLogContacts":[{"id":3887,"key":3887,"name":"\u5f20\u5fb7\u90fd","department":"","job_position":"","mobiles":[{"id":4706,"contact_id":3887,"mobile":"17801218538","mp_open_id":"oagch6YSN6zEHe0_HevDp2lNTEEc"}]}],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":false,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":18115,"client_id":2135,"scenario_id":1,"scenario_option_id":null,"end_at":"","created_by":5087,"created_at":"2022-01-16 20:50:02","updated_at":"2022-01-16 20:50:02","start_at":"","description":"\u9001\u8fc7\u5e74\u793c\u54c1","escort":"","is_draft":1,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":null,"createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":2135,"key":2135,"name":"\u5317\u4eac\u673a\u7535\u5de5\u7a0b\u7814\u7a76\u6240 \u4e09\u90e8","client_class":43,"logo":null,"sales_rep":5087,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":false,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":36992,"client_id":145,"scenario_id":1,"scenario_option_id":null,"end_at":"2025-03-16 07:46:00","created_by":5087,"created_at":"2025-03-16 08:41:28","updated_at":"2025-03-16 08:41:28","start_at":"2025-03-16 07:41:00","description":"","escort":"","is_draft":1,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:05:00","createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":145,"key":145,"name":"\u5317\u4eac\u5929\u665f\u767e\u7eb3\u5b89\u5168\u6280\u672f\u6709\u9650\u8d23\u4efb\u516c\u53f8\uff08\u8d3e\u4e91\u98de\uff09","client_class":43,"logo":null,"sales_rep":5087,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"5\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":false,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":32391,"client_id":null,"scenario_id":1,"scenario_option_id":null,"end_at":"2023-12-12 18:32:00","created_by":5087,"created_at":"2023-12-12 18:32:26","updated_at":"2023-12-12 18:32:26","start_at":"2023-12-12 18:32:00","description":"","escort":"","is_draft":1,"location_id":null,"project_id":null,"location_in_id":16037,"location_out_id":16038,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:00:00","createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":{"id":16037,"lng":"116.28907280816","lat":"39.9604595269097","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u8fdc\u5927\u8def1\u53f7\u91d1\u6e90\u65f6\u4ee3\u8d2d\u7269\u4e2d\u5fc3","time":"2023-12-12 18:32:00"},"locationOut":{"id":16038,"lng":"116.28907280816","lat":"39.9604595269097","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u8fdc\u5927\u8def1\u53f7\u91d1\u6e90\u65f6\u4ee3\u8d2d\u7269\u4e2d\u5fc3","time":"2023-12-12 18:32:00"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":7934,"work_log_id":32391,"user_id":1001,"status":0,"description":null,"verify_at":"","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"}}}],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"0\u5206\u949f","read":0,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":false,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":27704,"client_id":null,"scenario_id":1,"scenario_option_id":null,"end_at":"2023-07-21 21:51:00","created_by":5016,"created_at":"2023-07-21 21:51:32","updated_at":"2025-04-11 20:23:56","start_at":"2023-07-21 21:51:00","description":"","escort":"","is_draft":1,"location_id":null,"project_id":null,"location_in_id":14186,"location_out_id":14187,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:00:00","createdBy":{"id":5016,"key":5016,"name":"\u9ad8\u90e1\u9633","sex":"M","department_id":10,"avatar":{"id":35,"user_id":5016,"name":"\/files\/cdn\/a57be577deb434\/avatar\/404e0bcf-6382-3f63-b93b-4d936f35a4b2.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":{"object_id":27704,"comment":7},"attachmentRelationships":[],"locationIn":{"id":14186,"lng":"116.375274522569","lat":"39.8366574435764","address":"\u5317\u4eac\u5e02\u4e30\u53f0\u533a\u89d2\u95e8\u5357\u8def\u9760\u8fd1\u5bcc\u5353\u82d1","time":"2023-07-21 21:51:00"},"locationOut":{"id":14187,"lng":"116.375274522569","lat":"39.8366574435764","address":"\u5317\u4eac\u5e02\u4e30\u53f0\u533a\u89d2\u95e8\u5357\u8def\u9760\u8fd1\u5bcc\u5353\u82d1","time":"2023-07-21 21:51:00"},"files":[],"workLogCarbonCopyRels":[{"id":15595,"work_log_id":27704,"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\/aebf8dd5-5fe2-3ead-a020-c095fe4101e4.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":false,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":24867,"client_id":2136,"scenario_id":1,"scenario_option_id":null,"end_at":"2023-03-31 17:00:00","created_by":5087,"created_at":"2023-04-03 08:50:36","updated_at":"2023-04-03 08:50:36","start_at":"2023-03-31 16:00:00","description":"","escort":"\u5434\u660a","is_draft":1,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"01:00:00","createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":2136,"key":2136,"name":"\u5317\u4eac\u7279\u79cd\u673a\u68b0\u7814\u7a76\u6240 59\u6240","client_class":47,"logo":null,"sales_rep":5087,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":false,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":21474,"client_id":null,"scenario_id":1,"scenario_option_id":null,"end_at":"2022-09-30 14:39:00","created_by":5016,"created_at":"2022-09-30 14:40:02","updated_at":"2022-09-30 14:40:02","start_at":"2022-09-30 14:39:00","description":"","escort":"","is_draft":1,"location_id":null,"project_id":null,"location_in_id":11985,"location_out_id":11986,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:00:00","createdBy":{"id":5016,"key":5016,"name":"\u9ad8\u90e1\u9633","sex":"M","department_id":10,"avatar":{"id":35,"user_id":5016,"name":"\/files\/cdn\/a57be577deb434\/avatar\/404e0bcf-6382-3f63-b93b-4d936f35a4b2.png"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":{"id":11985,"lng":"116.288948296441","lat":"39.9605422634549","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5c45\u7136\u4e4b\u5bb6(\u91d1\u6e90\u5e97)","time":"2022-09-30 14:39:00"},"locationOut":{"id":11986,"lng":"116.288992513021","lat":"39.9605384657118","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u84dd\u975b\u5382\u4e1c\u8def\u9760\u8fd1\u5c45\u7136\u4e4b\u5bb6(\u91d1\u6e90\u5e97)","time":"2022-09-30 14:39:00"},"files":[],"workLogCarbonCopyRels":[{"id":2679,"work_log_id":21474,"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":"0\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":false,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":20392,"client_id":2135,"scenario_id":1,"scenario_option_id":null,"end_at":"2022-08-07 10:40:00","created_by":5087,"created_at":"2022-08-07 23:54:35","updated_at":"2022-08-07 23:54:35","start_at":"2022-08-07 10:30:00","description":"","escort":"","is_draft":1,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:10:00","createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":2135,"key":2135,"name":"\u5317\u4eac\u673a\u7535\u5de5\u7a0b\u7814\u7a76\u6240 \u4e09\u90e8","client_class":43,"logo":null,"sales_rep":5087,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"10\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":false,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":20012,"client_id":2132,"scenario_id":1,"scenario_option_id":null,"end_at":"2022-07-22 16:08:00","created_by":5087,"created_at":"2022-07-25 00:19:53","updated_at":"2022-07-25 00:19:53","start_at":"2022-07-22 16:00:00","description":"","escort":"","is_draft":1,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:08:00","createdBy":{"id":5087,"key":5087,"name":"\u5218\u5fae","sex":"F","department_id":1,"avatar":{"id":62,"user_id":5087,"name":"\/files\/cdn\/a57be577deb434\/avatar\/06f75b3a-7b6c-37a8-81c0-b2934104daa7.png"},"department":{"id":1,"key":1,"name":"\u9500\u552e\u90e8"}},"location":null,"scenarioOption":null,"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":2132,"key":2132,"name":"\u4e2d\u56fd\u822a\u5929\u79d1\u5de5\u96c6\u56e2\u4e8c\u9662706\u6240","client_class":43,"logo":null,"sales_rep":5087,"salesRep":{"id":5087,"key":5087,"name":"\u5218\u5fae"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"8\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":false,"can_create_project":true,"can_location_in":false,"can_location_out":false}],"pagenation":{"totalcount":20183,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-11 14:02:04') RETURNING "id"