Log Messages

总计62条数据
TimeLevelCategoryMessage
 
18:02:51.027traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
18:02:51.027traceyii\base\Module::getModuleLoading module: debug
18:02:51.027traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
18:02:51.028traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
18:02:51.028traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
18:02:51.028traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:51.028traceyii\base\Module::getModuleLoading module: gii
18:02:51.028traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
18:02:51.028traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
18:02:51.029traceyii\web\Application::handleRequestRoute requested: 'v2/work-log/list'
18:02:51.029traceyii\base\Module::getModuleLoading module: v2
18:02:51.029infoyii\web\Session::openSession started
18:02:51.030infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
18:02:51.033infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='gnUsEwsg4g39ikUz7p-r_fvDxtXuWVx7'
18:02:51.037traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:51.038traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:51.038traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:51.038traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:51.038infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
18:02:51.041traceyii\base\Controller::runActionRoute to run: v2/work-log/list
18:02:51.041traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:51.042traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
18:02:51.042traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\WorkLogController::actionList()
18:02:51.043traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:51.043traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:51.044traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:51.046traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:51.047infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id"
18:02:51.049infoyii\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:02:51.055infoyii\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 OFFSET 10
18:02:51.060infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
18:02:51.060infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001)
18:02:51.061infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4
18:02:51.062infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id" IN (10, 4, 8, 3, 5, 2, 7, 17, 19)
18:02:51.063infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id" IN (1, 2)
18:02:51.063infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id" IN (982, 1661, 426)
18:02:51.065infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id" IN (5311, 1001)
18:02:51.065infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id" IN (43, 1)
18:02:51.066infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id" IN (1018, 1791, 922)
18:02:51.067infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id" IN (18221, 17921, 17730, 17462, 17351, 17033, 16812, 16788, 16787, 15889)
18:02:51.072infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "department", "job_position" FROM "a57be577deb434"."tbl_contacts" WHERE "id" IN (3780, 978, 3165, 3645, 3787, 3791)
18:02:51.076infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id" IN (978, 3165, 3645, 3780, 3787, 3791)
18:02:51.078infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id" IN (18221, 17921, 17730, 17462, 17351, 17033, 16812, 16788, 16787, 15889)) GROUP BY "object_id"
18:02:51.108infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id" IN (18221, 17921, 17730, 17462, 17351, 17033, 16812, 16788, 16787, 15889))
18:02:51.113infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id" IN (8476, 9270)
18:02:51.116infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (10155, 9625, 9254, 9228, 9226, 8416)
18:02:51.122infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id" IN (10156, 9255, 9229, 9227, 8417)
18:02:51.122infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id" IN (18221, 17921, 17730, 17462, 17351, 17033, 16812, 16788, 16787, 15889))
18:02:51.126infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id" IN (18221, 17921, 17730, 17462, 17351, 17033, 16812, 16788, 16787, 15889)
18:02:51.128infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id" IN (18221, 17921, 17730, 17462, 17351, 17033, 16812, 16788, 16787, 15889) ORDER BY "id"
18:02:51.130infoyii\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 (18221, 17921, 17730, 17462, 17351, 17033, 16812, 16788, 16787, 15889)) GROUP BY "object_id"
18:02:51.149infoyii\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 (18221, 17921, 17730, 17462, 17351, 17033, 16812, 16788, 16787, 15889)) GROUP BY "work_log_id"
18:02:51.152infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "work_log_id" IN (18221, 17921, 17730, 17462, 17351, 17033, 16812, 16788, 16787, 15889)
18:02:51.155infoyii\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, 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"=1001))
18:02:51.160infoyii\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, 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"=1001))
18:02:51.165infoyii\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, 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"=1001))
18:02:51.169infoyii\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, 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"=1001))
18:02:51.172infoyii\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, 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"=1001))
18:02:51.175infoyii\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, 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"=1001))
18:02:51.180traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
18:02:51.180traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
18:02:51.181infoyii\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, 267, 'v2/work-log/list', '{"access_token":"gnUsEwsg4g39ikUz7p-r_fvDxtXuWVx7","device_type":"0","version_code":"267","WorkLogSearch":{"scenario_option_id":"","scenario_id":"","filterUser":"1001","status":"","filterDepartment":"4"},"page":"2","token":"a30c88856eb98c50a6fb355f60ddfd4d","posttime":"1758535371","pagesize":"10"}', '{"code":200,"data":{"list":[{"id":18221,"client_id":null,"scenario_id":1,"scenario_option_id":10,"end_at":"2022-02-22 13:00:00","created_by":1001,"created_at":"2022-02-22 15:41:14","updated_at":"2022-02-22 15:41:14","start_at":"2022-02-21 14:00:00","description":"\u4eca\u5929\u505a\u4e86\u4ec0\u4e48","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"23:00:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/a57be577deb434\/avatar\/9f73cfbd-bae6-3b50-b7ac-61b936c40727.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":null,"scenarioOption":{"id":10,"key":10,"name":"\u516c\u53f8\u5185\u90e8\u57f9\u8bad"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"23\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":17921,"client_id":null,"scenario_id":1,"scenario_option_id":4,"end_at":"2022-01-06 11:30:00","created_by":1001,"created_at":"2022-01-06 11:42:21","updated_at":"2022-01-06 11:42:21","start_at":"2022-01-06 10:00:00","description":"\u6d4b\u8bd5","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"01:30:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/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":null,"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f630\u5206\u949f","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":17730,"client_id":982,"scenario_id":1,"scenario_option_id":8,"end_at":"2021-12-23 12:26:00","created_by":1001,"created_at":"2021-12-23 12:26:04","updated_at":"2021-12-23 12:26:52","start_at":"2021-12-23 12:26:00","description":"\u5b8c\u6210\u5403\u996d\u4e86","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":10155,"location_out_id":10156,"status":0,"indistance":37077,"outdistance":37077,"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":[{"id":3780,"key":3780,"name":"\u674e\u8861\u6d4b\u8bd52","department":"","job_position":"","mobiles":[{"id":4593,"contact_id":3780,"mobile":"18235476682","mp_open_id":"oagch6Va-LROWka8-zzJv45xuCXQ"}]}],"commentCount":null,"attachmentRelationships":[{"id":5385,"object_type":18,"object_id":17730,"attachment_id":9270,"attachment":{"id":9270,"key":9270,"name":"d5fe38ad-16cb-3492-9002-2765e608a130","extension":"png","path":"\/v2\/attachment\/view\/gnUsEwsg4g39ikUz7p-r_fvDxtXuWVx7\/d5fe38ad-16cb-3492-9002-2765e608a130\/20211223122651.png","orig_name":"20211223122651.png"}}],"locationIn":{"id":10155,"lng":"116.430681152344","lat":"39.7743443467882","address":"\u5317\u4eac\u5e02\u5927\u5174\u533a\u5fb7\u88d5\u8857\u9760\u8fd1\u6d77\u68ee\u56ed","time":"2021-12-23 12:26:00"},"locationOut":{"id":10156,"lng":"116.430754123264","lat":"39.7744780815972","address":"\u5317\u4eac\u5e02\u5927\u5174\u533a\u5fb7\u88d5\u8857\u9760\u8fd1\u6d77\u68ee\u56ed","time":"2021-12-23 12:26: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":17462,"client_id":982,"scenario_id":1,"scenario_option_id":3,"end_at":"2021-11-18 09:00:00","created_by":1001,"created_at":"2021-11-18 10:21:49","updated_at":"2021-11-18 10:21:49","start_at":"2021-11-18 08:00:00","description":"\u8ddf\u5218\u603b\u6c9f\u901a\u65b9\u6848\u3002\u5218\u603b\u8ba4\u53ef\u3002","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":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":3,"key":3,"name":"\u5ba2\u6237\u89c1\u9762\u6c9f\u901a"},"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":[{"id":3787,"key":3787,"name":"\u5218\u603b","department":"","job_position":"","mobiles":[{"id":4600,"contact_id":3787,"mobile":"15210259560","mp_open_id":"oagch6V1XbWSxtLIbp8e3lRnbDyw"}]},{"id":3791,"key":3791,"name":"\u82cf\u6e05\u4e91","department":"","job_position":"","mobiles":[{"id":4605,"contact_id":3791,"mobile":"13889570890","mp_open_id":"oagch6RG8ipmBuUFqj3K78oJAhyk"}]}],"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":true,"can_create_project":true,"can_location_in":false,"can_location_out":false},{"id":17351,"client_id":null,"scenario_id":1,"scenario_option_id":5,"end_at":"2021-11-04 15:00:00","created_by":1001,"created_at":"2021-11-04 07:49:57","updated_at":"2021-12-05 20:40:05","start_at":"2021-11-04 07:49:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":9625,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"07:11: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":5,"key":5,"name":"\u5ba2\u6237\u9001\u793c"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":null,"project":null,"workLogContacts":[],"commentCount":null,"attachmentRelationships":[],"locationIn":{"id":9625,"lng":"116.210549587674","lat":"39.7578686523438","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u8def\u9760\u8fd1\u957f\u9633\u534a\u5c9b","time":"2021-11-04 07:49:00"},"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"7\u5c0f\u65f611\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":17033,"client_id":982,"scenario_id":1,"scenario_option_id":2,"end_at":"2021-09-28 00:45:00","created_by":1001,"created_at":"2021-09-28 10:20:52","updated_at":"2021-09-28 10:20:52","start_at":"2021-09-28 00:00:00","description":"\u65b9\u6848\u6c9f\u901a\u5b8c\u6210","escort":"","is_draft":0,"location_id":null,"project_id":1018,"location_in_id":null,"location_out_id":null,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:45: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":{"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":1018,"key":1018,"name":"\u89c6\u9891\u534f\u4f5c\u53ca\u5373\u65f6\u901a\u8baf\u878d\u5408\u65b9\u6848"},"workLogContacts":[{"id":3645,"key":3645,"name":"\u5218\u5fd7\u521a(\u6d4b\u8bd5)","department":"","job_position":"","mobiles":[{"id":4431,"contact_id":3645,"mobile":"15764340998","mp_open_id":"oagch6XdH-5gyziy6jk7m_Cz_Fu8"}]}],"commentCount":null,"attachmentRelationships":[],"locationIn":null,"locationOut":null,"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"45\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":16812,"client_id":null,"scenario_id":1,"scenario_option_id":7,"end_at":"2021-09-14 18:10:32","created_by":1001,"created_at":"2021-09-14 18:10:42","updated_at":"2021-09-14 18:10:42","start_at":"2021-09-14 18:10:29","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":9254,"location_out_id":9255,"status":0,"indistance":999999999,"outdistance":999999999,"hours_spent":"00:00:03","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":null,"attachmentRelationships":[{"id":4698,"object_type":18,"object_id":16812,"attachment_id":8476,"attachment":{"id":8476,"key":8476,"name":"b32dad2c-3e9f-3443-adc8-47d01db1e40e","extension":"jpg","path":"\/v2\/attachment\/view\/gnUsEwsg4g39ikUz7p-r_fvDxtXuWVx7\/b32dad2c-3e9f-3443-adc8-47d01db1e40e\/tmp.jpg","orig_name":"tmp.jpg"}}],"locationIn":{"id":9254,"lng":"116.289908","lat":"39.960563","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def\u9760\u8fd1\u4e2d\u56fd\u5de5\u5546\u94f6\u884c(\u4e16\u7eaa\u91d1\u6e90\u652f\u884c)","time":"2021-09-14 18:10:29"},"locationOut":{"id":9255,"lng":"116.289908","lat":"39.960563","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def\u9760\u8fd1\u4e2d\u56fd\u5de5\u5546\u94f6\u884c(\u4e16\u7eaa\u91d1\u6e90\u652f\u884c)","time":"2021-09-14 18:10:32"},"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":16788,"client_id":1661,"scenario_id":2,"scenario_option_id":17,"end_at":"2021-09-11 11:29:00","created_by":1001,"created_at":"2021-09-11 11:30:02","updated_at":"2021-09-11 11:30:02","start_at":"2021-09-11 11:29:00","description":"\u62dc\u8bbf","escort":"","is_draft":0,"location_id":null,"project_id":1791,"location_in_id":9228,"location_out_id":9229,"status":0,"indistance":26088,"outdistance":26088,"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":17,"key":17,"name":"\u9879\u76ee\u542f\u52a8\u4f1a"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7"},"client":{"id":1661,"key":1661,"name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","client_class":43,"logo":null,"sales_rep":1001,"salesRep":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":{"id":1791,"key":1791,"name":"\u706b\u773c5500VX\u91c7\u8d2d\u9879\u76ee"},"workLogContacts":[{"id":3165,"key":3165,"name":"\u674e\u4e1c","department":"","job_position":"","mobiles":[{"id":3441,"contact_id":3165,"mobile":"13910153114","mp_open_id":"oagch6X0Lxczsc4IcPa75yqsxq64"}]}],"commentCount":null,"attachmentRelationships":[],"locationIn":{"id":9228,"lng":"116.210752224392","lat":"39.7574614800347","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u8def\u9760\u8fd1\u957f\u9633\u534a\u5c9b","time":"2021-09-11 11:29:00"},"locationOut":{"id":9229,"lng":"116.210757921007","lat":"39.7574565972222","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u8def\u9760\u8fd1\u957f\u9633\u534a\u5c9b","time":"2021-09-11 11:29: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":16787,"client_id":982,"scenario_id":2,"scenario_option_id":19,"end_at":"2021-09-11 11:25:00","created_by":1001,"created_at":"2021-09-11 11:25:26","updated_at":"2021-09-11 11:25:26","start_at":"2021-09-11 11:25:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":9226,"location_out_id":9227,"status":0,"indistance":44778,"outdistance":44778,"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":19,"key":19,"name":"\u516c\u53f8\u5185\u90e8\u4f1a\u8bae"},"scenarios":{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\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":null,"attachmentRelationships":[],"locationIn":{"id":9226,"lng":"116.210761176215","lat":"39.7574457465278","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u8def\u9760\u8fd1\u957f\u9633\u534a\u5c9b","time":"2021-09-11 11:25:00"},"locationOut":{"id":9227,"lng":"116.210761176215","lat":"39.7574457465278","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u8def\u9760\u8fd1\u957f\u9633\u534a\u5c9b","time":"2021-09-11 11:25: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":15889,"client_id":426,"scenario_id":1,"scenario_option_id":5,"end_at":"2021-07-14 09:23:00","created_by":1001,"created_at":"2021-07-14 09:22:42","updated_at":"2021-07-14 09:23:42","start_at":"2021-07-14 09:22:00","description":"","escort":"","is_draft":0,"location_id":null,"project_id":922,"location_in_id":8416,"location_out_id":8417,"status":0,"indistance":32497,"outdistance":32497,"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":5,"key":5,"name":"\u5ba2\u6237\u9001\u793c"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":426,"key":426,"name":"\u5317\u4eac\u5600\u5600\u65e0\u9650\u79d1\u6280\u53d1\u5c55\u6709\u9650\u516c\u53f8","client_class":43,"logo":"\/files\/cdn\/a57be577deb434\/logo\/4c905e50-0195-38cf-82c0-0025fcf3c1b6.png","sales_rep":5311,"salesRep":{"id":5311,"key":5311,"name":"\u62d3\u5b9e\u79d1\u6280"},"clientClass":{"id":43,"key":43,"name":"\u6f5c\u529b\u5ba2\u6237"},"can_visit":true},"project":{"id":922,"key":922,"name":"2\u53f0PA 3050\u9632\u706b\u5899\u8bbe\u5907\u65b0\u8d2d"},"workLogContacts":[{"id":978,"key":978,"name":"\u5218\u535a\u5b87","department":"\u5546\u52a1\u90e8","job_position":"\u91c7\u8d2d","mobiles":[{"id":4639,"contact_id":978,"mobile":"13811559618","mp_open_id":null}]}],"commentCount":null,"attachmentRelationships":[],"locationIn":{"id":8416,"lng":"116.210701497396","lat":"39.757502983941","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u8def\u9760\u8fd1\u957f\u9633\u534a\u5c9b","time":"2021-07-14 09:22:00"},"locationOut":{"id":8417,"lng":"116.21068359375","lat":"39.7574918619792","address":"\u5317\u4eac\u5e02\u623f\u5c71\u533a\u6021\u548c\u8def\u9760\u8fd1\u957f\u9633\u534a\u5c9b","time":"2021-07-14 09:23:00"},"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}],"pagenation":{"totalcount":77,"thispage":2,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-09-22 18:02:51') RETURNING "id"