Log Messages

总计49条数据
TimeLevelCategoryMessage
 
14:14:42.335traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:14:42.335traceyii\base\Module::getModuleLoading module: debug
14:14:42.336traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:14:42.336traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:14:42.336traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:14:42.336traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:14:42.336traceyii\base\Module::getModuleLoading module: gii
14:14:42.336traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:14:42.336traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:14:42.336traceyii\web\Application::handleRequestRoute requested: 'v2/search/work-log-by-self'
14:14:42.336traceyii\base\Module::getModuleLoading module: v2
14:14:42.337infoyii\web\Session::openSession started
14:14:42.338infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:14:42.340infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd'
14:14:42.343traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:14:42.343traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:14:42.343traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:14:42.343traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:14:42.343infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:14:42.345traceyii\base\Controller::runActionRoute to run: v2/search/work-log-by-self
14:14:42.345traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\SearchController::actionWorkLogBySelf()
14:14:42.345traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:14:42.345traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:14:42.345infoyii\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 ("is_draft"=FALSE) AND ("s"."created_by"=1000) AND ("s"."client_id"='2815') AND ("s"."project_id"='3805') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC) "c"
14:14:42.349infoyii\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 ("is_draft"=FALSE) AND ("s"."created_by"=1000) AND ("s"."client_id"='2815') AND ("s"."project_id"='3805') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC LIMIT 20
14:14:42.353infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
14:14:42.354infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)
14:14:42.354infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10
14:14:42.355infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=27
14:14:42.355infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"=3
14:14:42.355infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815
14:14:42.356infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=1004
14:14:42.356infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id"=47
14:14:42.357infoyii\db\Command::querySELECT "id", "id" AS "key", "project_title" AS "name" FROM "a57be577deb434"."tbl_projects" WHERE "id"=3805
14:14:42.357infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=37018
14:14:42.358infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_contacts" WHERE "id"=5245
14:14:42.359infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=37018) GROUP BY "object_id"
14:14:42.376infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=37018)
14:14:42.378infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "extension", "path" FROM "a57be577deb434"."tbl_attachments" WHERE "id"=24749
14:14:42.378infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id"=19202
14:14:42.379infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id"=19203
14:14:42.379infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id"=37018)
14:14:42.380infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=37018
14:14:42.381infoyii\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"=37018) GROUP BY "object_id"
14:14:42.397traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:14:42.398traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:14:42.398traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:14:42.399traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:14:42.399infoyii\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, 0, 261, 'v2/search/work-log-by-self', '{"project_id":"3805","access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","client_id":"2815","device_type":"0","version_code":"261","page":"1","token":"8ca934d4e3a3dcccd0e6abad6510648a","posttime":"1751609683"}', '{"code":200,"data":{"list":[{"id":37018,"client_id":2815,"scenario_id":3,"scenario_option_id":27,"end_at":"2025-05-12 11:22:08","created_by":1000,"created_at":"2025-05-12 11:22:15","updated_at":"2025-06-12 20:23:31","start_at":"2025-05-12 11:21:50","description":"\u98de\u98de\u98de","escort":"","is_draft":false,"location_id":"","project_id":3805,"location_in_id":19202,"location_out_id":19203,"status":1,"indistance":961,"outdistance":960,"hours_spent":"00:00:18","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"F","department_id":10,"avatar":{"id":1,"user_id":1000,"name":"\/files\/cdn\/a57be577deb434\/avatar\/e1ebc7f0-3c0e-38f8-a847-b9169d50c361.jpg"},"department":{"id":10,"key":10,"name":"\u8f6f\u4ef6\u5f00\u53d1"}},"location":{},"scenarioOption":{"id":27,"key":27,"name":"\u5916\u51fa\u529e\u516c"},"scenarios":{"id":3,"key":3,"name":"\u5185\u52e4\u65e5\u5fd7"},"client":{"id":2815,"key":2815,"name":"\u4e2d\u56fd\u9ec4\u91d1","client_class":47,"logo":"","sales_rep":1004,"salesRep":{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},"clientClass":{"id":47,"key":47,"name":"\u76ee\u6807\u5ba2\u6237"}},"project":{"id":3805,"key":3805,"name":"\u54c8\u597d\u54c8\u7535\u8bdd"},"workLogContacts":[{"id":5245,"key":5245,"name":"\u674e\u4fca"}],"commentCount":{"object_id":37018,"comment":5},"attachmentRelationships":[{"id":33124,"object_type":18,"object_id":37018,"attachment_id":24749,"attachment":{"id":24749,"key":24749,"name":"a54687cc-2a98-3827-9f3b-9109d3405640","extension":"png","path":"\/vue\/attachment\/view?name=a54687cc-2a98-3827-9f3b-9109d3405640"}}],"locationIn":{"id":19202,"lng":"116.288942","lat":"39.960447","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-05-12 11:21:50"},"locationOut":{"id":19203,"lng":"116.288945","lat":"39.960462","address":"\u5317\u4eac\u5e02\u6d77\u6dc0\u533a\u897f\u9876\u8def2\u53f7\u9760\u8fd1\u91d1\u6e90\u65f6\u4ee3\u5546\u52a1\u4e2d\u5fc3","time":"2025-05-12 11:22:08"},"files":[],"workLogCarbonCopyRels":[],"unreadComments":{},"hours_spent_display":"0\u5206\u949f","can_update":true,"can_delete":true,"bgcolor":"#89c541"}],"can_create":true,"pagenation":{"totalcount":1,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-04 14:14:42') RETURNING "id"