Log Messages

总计55条数据
TimeLevelCategoryMessage
 
21:03:30.678traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
21:03:30.678traceyii\base\Module::getModuleLoading module: debug
21:03:30.678traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
21:03:30.678traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
21:03:30.679traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
21:03:30.679traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:03:30.679traceyii\base\Module::getModuleLoading module: gii
21:03:30.679traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
21:03:30.679traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
21:03:30.679traceyii\web\Application::handleRequestRoute requested: 'v2/work-log/list'
21:03:30.679traceyii\base\Module::getModuleLoading module: v2
21:03:30.679infoyii\web\Session::openSession started
21:03:30.680infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
21:03:30.682infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd'
21:03:30.685traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:03:30.685traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:03:30.685traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:03:30.685traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:03:30.685infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
21:03:30.687traceyii\base\Controller::runActionRoute to run: v2/work-log/list
21:03:30.687traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:03:30.688traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
21:03:30.688traceyii\base\InlineAction::runWithParamsRunning action: app\modules\v2\controllers\WorkLogController::actionList()
21:03:30.688traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:03:30.688traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:03:30.689traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:03:30.689traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:03:30.690infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id"
21:03:30.691infoyii\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)) AND (("s"."scenario_id"='1') AND ("s"."scenario_option_id"='73')) AND ("s"."status"='0') AND ("s"."created_by"='1000') AND ("u"."department_id"='10') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC) "c"
21:03:30.695infoyii\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)) AND (("s"."scenario_id"='1') AND ("s"."scenario_option_id"='73')) AND ("s"."status"='0') AND ("s"."created_by"='1000') AND ("u"."department_id"='10') GROUP BY "s"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, "s"."updated_at" DESC LIMIT 10
21:03:30.698infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000
21:03:30.699infoyii\db\Command::querySELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)
21:03:30.699infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10
21:03:30.700infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenario_options" WHERE "id"=73
21:03:30.700infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"=1
21:03:30.700infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "client_class", "logo", "sales_rep" FROM "a57be577deb434"."tbl_clients" WHERE "id"=149
21:03:30.701infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "id"=1005
21:03:30.701infoyii\db\Command::querySELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_client_classes" WHERE "id"=80
21:03:30.702infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=24988
21:03:30.703infoyii\db\Command::querySELECT "id", "id" AS "key", "name", "department", "job_position" FROM "a57be577deb434"."tbl_contacts" WHERE "id"=783
21:03:30.704infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_contact_mobiles" WHERE "contact_id"=783
21:03:30.705infoyii\db\Command::querySELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=24988) GROUP BY "object_id"
21:03:30.723infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=24988)
21:03:30.725infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id"=13165
21:03:30.725infoyii\db\Command::querySELECT id, geolocation[0] AS lng, geolocation[1] AS lat, address, updated_at as time FROM "a57be577deb434"."tbl_location" WHERE "id"=13166
21:03:30.726infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id"=24988)
21:03:30.727infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=24988
21:03:30.728infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=24988 ORDER BY "id"
21:03:30.728infoyii\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"=24988) GROUP BY "object_id"
21:03:30.744infoyii\db\Command::querySELECT "work_log_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" != 4) AND ("status" != 0) AND ("work_log_id"=24988) GROUP BY "work_log_id"
21:03:30.746infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "work_log_id"=24988
21:03:30.747infoyii\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))
21:03:30.750traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:03:30.750traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:03:30.751infoyii\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":"10","filterUser":"1000","scenario_id":"1","scenario_option_id":"73","status":"0"},"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","posttime":"1751893376","token":"2548184337cf6c4ec00d35e70886c9a2","version_code":"1141"}', '{"code":200,"data":{"list":[{"id":24988,"client_id":149,"scenario_id":1,"scenario_option_id":73,"end_at":"2023-04-10 11:15:00","created_by":1000,"created_at":"2023-04-10 11:02:08","updated_at":"2023-04-10 11:02:08","start_at":"2023-04-10 10:15:00","description":"\u6c9f\u901a\u4e2d\u95f4\u5e93\u8f6f\u4ef6\u65b0\u9700\u6c42","escort":"","is_draft":0,"location_id":null,"project_id":null,"location_in_id":13165,"location_out_id":13166,"status":0,"indistance":34495,"outdistance":34495,"hours_spent":"01:00:00","createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"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":null,"scenarioOption":{"id":73,"key":73,"name":"\u552e\u540e\u670d\u52a1"},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{"id":149,"key":149,"name":"\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240(\u6cd5\u8bc1\u90e8)\uff08\u71d5\u4eac\uff09","client_class":80,"logo":null,"sales_rep":1005,"salesRep":{"id":1005,"key":1005,"name":"\u8d75\u6657\u7131"},"clientClass":{"id":80,"key":80,"name":"\u7a33\u5b9a\u5ba2\u6237"},"can_visit":true},"project":null,"workLogContacts":[{"id":783,"key":783,"name":"\u9a6c\u6210","department":"","job_position":"","mobiles":[{"id":2042,"contact_id":783,"mobile":"18310095133","mp_open_id":null}]}],"commentCount":{"object_id":24988,"comment":2},"attachmentRelationships":[],"locationIn":{"id":13165,"lng":"116.396383734809","lat":"40.2427053493924","address":"\u5317\u4eac\u5e02\u660c\u5e73\u533a\u79e6\u57ce\u8def\u9760\u8fd1\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240\u79e6\u57ce\u57fa\u57302\u53f7\u9662","time":"2023-04-10 10:15:00"},"locationOut":{"id":13166,"lng":"116.396388617621","lat":"40.242708875868","address":"\u5317\u4eac\u5e02\u660c\u5e73\u533a\u79e6\u57ce\u8def\u9760\u8fd1\u516c\u5b89\u90e8\u7b2c\u4e00\u7814\u7a76\u6240\u79e6\u57ce\u57fa\u57302\u53f7\u9662","time":"2023-04-10 11:15:00"},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[],"unreadComments":null,"reimbursementCount":null,"reimbursements":[],"hours_spent_display":"1\u5c0f\u65f6","read":0,"total":0,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":true,"can_location_in":false,"can_location_out":false}],"pagenation":{"totalcount":1,"thispage":1,"pagesize":10},"can_create":true},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-07 21:03:30') RETURNING "id"