| 11:41:48.587 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 11:41:48.587 | trace | yii\base\Module::getModule | Loading module: debug |
| 11:41:48.588 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 11:41:48.588 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 11:41:48.588 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 11:41:48.589 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.589 | info | time tracing start | 1780285308589839872 |
| 11:41:48.589 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 11:41:48.589 | trace | yii\web\Application::handleRequest | Route requested: 'vue/work-log/get-filter-of-client' |
| 11:41:48.589 | trace | yii\base\Module::getModule | Loading module: vue |
| 11:41:48.599 | info | yii\web\Session::open | Session started |
| 11:41:48.600 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=5495 |
| 11:41:48.600 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 11:41:48.601 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.601 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:41:48.602 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.602 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:41:48.602 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_users" WHERE "id"=5495 |
| 11:41:48.603 | trace | yii\base\Controller::runAction | Route to run: vue/work-log/get-filter-of-client |
| 11:41:48.603 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.604 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 11:41:48.604 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: viewWorkLog |
| 11:41:48.604 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 11:41:48.604 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
| 11:41:48.604 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 11:41:48.604 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\WorkLogController::actionGetFilterOfClient() |
| 11:41:48.605 | info | yii\db\Command::query | SELECT distinct s.created_by FROM "o6a13e2c574d5a"."tbl_work_logs" "s" LEFT JOIN "o6a13e2c574d5a"."tbl_work_log_carbon_copy_rels" "ccr" ON ccr.work_log_id = s.id WHERE "ccr"."user_id"=5495 |
| 11:41:48.607 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.607 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.608 | info | yii\db\Command::query | SELECT "s"."accessible_user" FROM "o6a13e2c574d5a"."tbl_visible_work_logs" "s" LEFT JOIN "o6a13e2c574d5a"."tbl_users" "u" ON u.id = s.accessible_user WHERE ("s"."user_id"=5495) AND (s.accessible_user IS NOT NULL) AND ("u"."user_status"='1') GROUP BY "s"."id", "u"."id" ORDER BY "u"."id" |
| 11:41:48.610 | info | yii\db\Command::query | SELECT "d"."id" FROM "o6a13e2c574d5a"."tbl_users" "u" LEFT JOIN "o6a13e2c574d5a"."tbl_departments" "d" ON u.department_id = d.id WHERE ("user_status"='1') AND (("u"."id" IN (5493, 5495)) OR (0=1)) GROUP BY "u"."id", "d"."id", "d"."order" ORDER BY "d"."order" |
| 11:41:48.611 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "o6a13e2c574d5a"."tbl_departments" WHERE "id" IN (1, 4) ORDER BY "order" |
| 11:41:48.611 | info | yii\db\Command::query | SELECT "s"."accessible_user" FROM "o6a13e2c574d5a"."tbl_visible_work_logs" "s" LEFT JOIN "o6a13e2c574d5a"."tbl_users" "u" ON u.id = s.accessible_user WHERE ("s"."user_id"=5495) AND (s.accessible_user IS NOT NULL) AND ("u"."user_status"='1') GROUP BY "s"."id", "u"."id" ORDER BY "u"."id" |
| 11:41:48.612 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "department_id", "pinyin_shortcut" FROM "o6a13e2c574d5a"."tbl_users" WHERE ("user_status"='1') AND (("id" IN (5493, 5495)) OR (0=1)) AND ("department_id" IN (1, 4)) ORDER BY
pinyin1 nulls first, namecut1 nulls first,
pinyin2 nulls first, namecut2 nulls first,
pinyin3 nulls first, namecut3 nulls first,
pinyin4 nulls first, namecut4 nulls first |
| 11:41:48.613 | info | yii\db\Command::query | SELECT "id", "user_id", "meta_value" AS "name" FROM "o6a13e2c574d5a"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id" IN (5493, 5495)) |
| 11:41:48.613 | info | yii\db\Command::query | SELECT * FROM "o6a13e2c574d5a"."tbl_clients" WHERE ("id"='1') AND ("deleted"=FALSE) |
| 11:41:48.614 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.614 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:41:48.615 | info | yii\db\Command::query | SELECT "wls"."id", "wls"."id" AS "key", "wls"."name" FROM "o6a13e2c574d5a"."tbl_work_log_scenarios" "wls" LEFT JOIN "o6a13e2c574d5a"."tbl_work_log_scenario_options" "wlso" ON wls.id = wlso.work_log_scenario_id WHERE wlso.id IS NOT NULL GROUP BY "wls"."id" ORDER BY "wls"."sort" |
| 11:41:48.620 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.620 | info | yii\db\Command::query | SELECT
d.nspname AS table_schema,
c.relname AS table_name,
a.attname AS column_name,
t.typname AS data_type,
a.attlen AS character_maximum_length,
pg_catalog.col_description(c.oid, a.attnum) AS column_comment,
a.atttypmod AS modifier,
a.attnotnull = false AS is_nullable,
CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default,
coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc,
array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values,
CASE atttypid
WHEN 21 /*int2*/ THEN 16
WHEN 23 /*int4*/ THEN 32
WHEN 20 /*int8*/ THEN 64
WHEN 1700 /*numeric*/ THEN
CASE WHEN atttypmod = -1
THEN null
ELSE ((atttypmod - 4) >> 16) & 65535
END
WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/
WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/
ELSE null
END AS numeric_precision,
CASE
WHEN atttypid IN (21, 23, 20) THEN 0
WHEN atttypid IN (1700) THEN
CASE
WHEN atttypmod = -1 THEN null
ELSE (atttypmod - 4) & 65535
END
ELSE null
END AS numeric_scale,
CAST(
information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t))
AS numeric
) AS size,
a.attnum = any (ct.conkey) as is_pkey
FROM
pg_class c
LEFT JOIN pg_attribute a ON a.attrelid = c.oid
LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum
LEFT JOIN pg_type t ON a.atttypid = t.oid
LEFT JOIN pg_namespace d ON d.oid = c.relnamespace
LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p'
WHERE
a.attnum > 0 and t.typname != ''
and c.relname = 'tbl_work_log_scenarios'
and d.nspname = 'o6a13e2c574d5a'
ORDER BY
a.attnum; |
| 11:41:48.623 | info | yii\db\Command::query | select
ct.conname as constraint_name,
a.attname as column_name,
fc.relname as foreign_table_name,
fns.nspname as foreign_table_schema,
fa.attname as foreign_column_name
from
(SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s
FROM pg_constraint ct
) AS ct
inner join pg_class c on c.oid=ct.conrelid
inner join pg_namespace ns on c.relnamespace=ns.oid
inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s]
left join pg_class fc on fc.oid=ct.confrelid
left join pg_namespace fns on fc.relnamespace=fns.oid
left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s]
where
ct.contype='f'
and c.relname='tbl_work_log_scenarios'
and ns.nspname='o6a13e2c574d5a'
order by
fns.nspname, fc.relname, a.attnum |
| 11:41:48.638 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:41:48.638 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 11:41:48.639 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "work_log_scenario_id" FROM "o6a13e2c574d5a"."tbl_work_log_scenario_options" WHERE "work_log_scenario_id" IN (1, 2, 3) ORDER BY "sort" |
| 11:41:48.639 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "project_title" AS "name" FROM "o6a13e2c574d5a"."tbl_projects" WHERE "client_id"=1 ORDER BY "updated_at" DESC |
| 11:41:48.640 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.641 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 11:41:48.641 | 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, 'o6a13e2c574d5a', 5495, 5, 'vue/work-log/get-filter-of-client', '{"id":"1","web_access_token":"7CCP7jMsjjSDfF61luGGB1mxLPdASSzl"}', '{"code":2000,"result":[{"key":"WorkLogSearch[filterDepartment]","name":"\u90e8\u95e8\/\u521b\u5efa\u4eba","value":[{"id":1,"key":1,"name":"\u603b\u7ecf\u7406","child":[{"id":5493,"key":5493,"name":"97289742","department_id":1,"pinyin_shortcut":"97289742","avatar":{}}]},{"id":4,"key":4,"name":"\u5546\u52a1\u90e8","child":[{"id":5495,"key":5495,"name":"\u903b\u8f91\u6d4b\u8bd5","department_id":4,"pinyin_shortcut":"ljcs","avatar":{}}]}],"default":"","itemKey":"WorkLogSearch[filterUser]","type":"CascadeMultiple"},{"key":"WorkLogSearch[scenario_id]","name":"\u65e5\u5fd7\u7c7b\u578b","value":[{"id":1,"key":1,"name":"\u9500\u552e\u65e5\u5fd7","child":[{"id":1,"key":1,"name":"\u5ba2\u60c5\u589e\u8fdb","work_log_scenario_id":1},{"id":2,"key":2,"name":"\u6316\u6398\u5546\u673a","work_log_scenario_id":1},{"id":3,"key":3,"name":"\u5546\u673a\u63a8\u52a8","work_log_scenario_id":1},{"id":4,"key":4,"name":"\u552e\u540e\u670d\u52a1","work_log_scenario_id":1},{"id":5,"key":5,"name":"\u5382\u5546\u5408\u4f5c","work_log_scenario_id":1},{"id":6,"key":6,"name":"\u4ea7\u54c1\u57f9\u8bad","work_log_scenario_id":1}]},{"id":2,"key":2,"name":"\u5de5\u7a0b\u5e08\u65e5\u5fd7","child":[{"id":7,"key":7,"name":"\u516c\u53f8\u5185\u90e8\u57f9\u8bad","work_log_scenario_id":2},{"id":8,"key":8,"name":"\u5382\u5546\u62dc\u8bbf","work_log_scenario_id":2},{"id":9,"key":9,"name":"\u516c\u53f8\u5916\u90e8\u57f9\u8bad","work_log_scenario_id":2},{"id":10,"key":10,"name":"\u516c\u53f8\u5185\u505a\u5b9e\u9a8c","work_log_scenario_id":2},{"id":11,"key":11,"name":"\u62a5\u544a\/\u65b9\u6848\u7f16\u5199","work_log_scenario_id":2},{"id":12,"key":12,"name":"\u9879\u76ee\u542f\u52a8\u4f1a","work_log_scenario_id":2},{"id":13,"key":13,"name":"\u7ed9\u5ba2\u6237\u505a\u57f9\u8bad","work_log_scenario_id":2},{"id":14,"key":14,"name":"\u516c\u53f8\u5185\u90e8\u4f1a\u8bae","work_log_scenario_id":2},{"id":15,"key":15,"name":"\u516c\u53f8\u5185\u9605\u8bfb\u8d44\u6599","work_log_scenario_id":2},{"id":16,"key":16,"name":"\u516c\u53f8\u8c03\u8bd5\u5ba2\u6237\u8bbe\u5907","work_log_scenario_id":2},{"id":17,"key":17,"name":"\u56e0\u79c1\u8bf7\u5047","work_log_scenario_id":2}]},{"id":3,"key":3,"name":"\u5185\u52e4\u65e5\u5fd7","child":[{"id":18,"key":18,"name":"\u5916\u51fa","work_log_scenario_id":3}]}],"default":"","itemKey":"WorkLogSearch[scenario_option_id]"},{"key":"WorkLogSearch[project_id]","name":"\u5546\u673a","value":[{"id":1,"key":1,"name":"\u9500\u552e\u7ebf\u7d22\u751f\u621020260527001"}],"default":""},{"key":"WorkLogSearch[status]","name":"\u662f\u5426\u5df2\u9605","value":[{"key":"1","name":"\u662f"},{"key":"-1","name":"\u5426"}],"default":""}],"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"43.224.72.82","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-06-01 11:41:48', 51454976) RETURNING "id" |
| 11:41:48.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 11:41:48.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |