21:03:42.548 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
21:03:42.548 | trace | yii\base\Module::getModule | Loading module: debug |
21:03:42.548 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
21:03:42.548 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
21:03:42.549 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
21:03:42.549 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:03:42.549 | trace | yii\base\Module::getModule | Loading module: gii |
21:03:42.549 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
21:03:42.549 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
21:03:42.549 | trace | yii\web\Application::handleRequest | Route requested: 'v2/work-log/list' |
21:03:42.549 | trace | yii\base\Module::getModule | Loading module: v2 |
21:03:42.549 | info | yii\web\Session::open | Session started |
21:03:42.550 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
21:03:42.552 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd' |
21:03:42.555 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:03:42.555 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:03:42.555 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:03:42.555 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:03:42.555 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
21:03:42.557 | trace | yii\base\Controller::runAction | Route to run: v2/work-log/list |
21:03:42.557 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:03:42.558 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
21:03:42.558 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\WorkLogController::actionList() |
21:03:42.558 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:03:42.558 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:03:42.559 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:03:42.559 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:03:42.560 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id" |
21:03:42.561 | info | yii\db\Command::query | SELECT 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"='72')) 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:42.564 | info | yii\db\Command::query | 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"='72')) 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:42.566 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:03:42.566 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:03:42.566 | info | yii\db\Command::query | INSERT 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":"72","status":"0"},"access_token":"Ll7CI5iYtgVyQJHl2tkvnIHNJc9_fUfd","device_type":"2","posttime":"1751893376","token":"151eb2c4e69dec6c8f821b10c53d9630","version_code":"1141"}', '{"code":200,"data":{"list":[],"pagenation":{"totalcount":0,"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:42') RETURNING "id" |