| 13:12:51.636 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 13:12:51.636 | trace | yii\base\Module::getModule | Loading module: debug |
| 13:12:51.637 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 13:12:51.637 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 13:12:51.637 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 13:12:51.637 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:12:51.637 | info | time tracing start | 1780290771637687040 |
| 13:12:51.637 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 13:12:51.637 | trace | yii\web\Application::handleRequest | Route requested: 'vue/work-log/list' |
| 13:12:51.637 | trace | yii\base\Module::getModule | Loading module: vue |
| 13:12:51.638 | info | yii\web\Session::open | Session started |
| 13:12:51.638 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 13:12:51.638 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 13:12:51.639 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:12:51.640 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:12:51.640 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:12:51.640 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:12:51.640 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:12:51.641 | trace | yii\base\Controller::runAction | Route to run: vue/work-log/list |
| 13:12:51.641 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:12:51.642 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 13:12:51.642 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\WorkLogController::actionList() |
| 13:12:51.642 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:12:51.642 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:12:51.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:12:51.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:12:51.644 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' ORDER BY "id" |
| 13:12:51.645 | 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_location" "lin" ON s.location_in_id = lin.id LEFT JOIN "a57be577deb434"."tbl_location" "lout" ON s.location_out_id = lout.id 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, 5446, 5449, 5461, 5476)) OR ("ccr"."user_id"=1001)) AND (("s"."created_by"='1001')) AND ("s"."is_draft"='1') GROUP BY "s"."id", "lin"."id", "lout"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, s.updated_at DESC nulls last, "s"."created_at" DESC) "c" |
| 13:12:51.648 | 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_location" "lin" ON s.location_in_id = lin.id LEFT JOIN "a57be577deb434"."tbl_location" "lout" ON s.location_out_id = lout.id 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, 5446, 5449, 5461, 5476)) OR ("ccr"."user_id"=1001)) AND (("s"."created_by"='1001')) AND ("s"."is_draft"='1') GROUP BY "s"."id", "lin"."id", "lout"."id" ORDER BY "is_draft" DESC, "s"."end_at" DESC, s.updated_at DESC nulls last, "s"."created_at" DESC LIMIT 20 |
| 13:12:51.652 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 13:12:51.652 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1001) |
| 13:12:51.652 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=4 |
| 13:12:51.653 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_work_log_scenarios" WHERE "id"=1 |
| 13:12:51.653 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_contacts" WHERE "work_log_id"=39168 |
| 13:12:51.654 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=19) AND ("object_id"=39168) GROUP BY "object_id" |
| 13:12:51.677 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=18) AND ("object_id"=39168) |
| 13:12:51.680 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=101) AND ("object_id"=39168) |
| 13:12:51.682 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_carbon_copy_rels" WHERE "work_log_id"=39168 |
| 13:12:51.682 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_work_log_verify_rels" WHERE "work_log_id"=39168 ORDER BY "id" |
| 13:12:51.683 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5250 |
| 13:12:51.683 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=5250) |
| 13:12:51.684 | info | yii\db\Command::query | SELECT "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"=39168) GROUP BY "object_id" |
| 13:12:51.702 | info | yii\db\Command::query | SELECT "work_log_id", sum(amount) as count FROM "a57be577deb434"."tbl_reimbursements" WHERE ("status" IN (0, 1, 2, 3)) AND ("work_log_id"=39168) GROUP BY "work_log_id" |
| 13:12:51.704 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:12:51.704 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 13:12:51.704 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/work-log/list', '{"WorkLogSearch":{"filterUser":["1001"],"has_client":"","has_project":"","status":"","is_arrive":"","description":"","period":"","filter":"","is_draft":"1"},"Filter":{"name":"end_at","sort":"DESC"},"page":"1","web_access_token":"YNQKwEYJYN8muCSh8ExnNlBf2oepDAlv"}', '{"code":2000,"result":{"list":[{"id":39168,"client_id":"","scenario_id":1,"scenario_option_id":"","end_at":"2026-06-01 12:19:00","created_by":1001,"created_at":"2026-06-01 13:12:33","updated_at":"2026-06-01 13:12:33","start_at":"2026-06-01 12:12:00","description":"","escort":"","is_draft":1,"location_id":"","project_id":"","location_in_id":"","location_out_id":"","status":0,"indistance":"","outdistance":"","hours_spent":"00:07:00","createdBy":{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda","sex":"M","department_id":4,"avatar":{"id":2,"user_id":1001,"name":"\/files\/cdn\/\/avatar\/e868e40f-1256-329e-9b1c-74e095049622.png"},"department":{"id":4,"key":4,"name":"\u603b\u7ecf\u7406"}},"location":{},"scenarioOption":{},"scenarios":{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7"},"client":{},"project":{},"workLogContacts":[],"commentCount":{},"attachmentRelationships":[],"locationIn":{},"locationOut":{},"files":[],"workLogCarbonCopyRels":[],"workLogVerifyRels":[{"id":16064,"work_log_id":39168,"user_id":5250,"status":0,"description":"","verify_at":"","user":{"id":5250,"key":5250,"name":"\u8463\u8363","sex":"M","avatar":{"id":157,"user_id":5250,"name":"\/files\/cdn\/a57be577deb434\/avatar\/10f9a0d9-7ea7-3910-9465-6ece76a0dae4.png"}}}],"unreadComments":{},"reimbursementCount":{},"hours_spent_display":"7\u5206\u949f","read":0,"total":1,"can_update":true,"can_delete":true,"can_create_reimbursement":true,"can_create_project":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":""}],"mod":0,"ip":"221.216.117.119","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-01 13:12:51', 66683904) RETURNING "id" |
| 13:12:51.705 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 13:12:51.705 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |