| 01:17:11.111 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 01:17:11.111 | trace | yii\base\Module::getModule | Loading module: debug |
| 01:17:11.112 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 01:17:11.112 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 01:17:11.112 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 01:17:11.112 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.114 | trace | yii\base\Module::getModule | Loading module: gii |
| 01:17:11.114 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
| 01:17:11.114 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 01:17:11.114 | trace | yii\web\Application::handleRequest | Route requested: 'vue/task/list-gantt' |
| 01:17:11.114 | trace | yii\base\Module::getModule | Loading module: vue |
| 01:17:11.116 | info | yii\web\Session::open | Session started |
| 01:17:11.125 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 01:17:11.125 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 01:17:11.130 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.134 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 01:17:11.135 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.136 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 01:17:11.136 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 01:17:11.140 | trace | yii\base\Controller::runAction | Route to run: vue/task/list-gantt |
| 01:17:11.141 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.144 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 01:17:11.144 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\TaskController::actionListGantt() |
| 01:17:11.144 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_groups" WHERE "id"='201' |
| 01:17:11.153 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.154 | 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_task_groups'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 01:17:11.171 | 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_task_groups'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 01:17:11.193 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 01:17:11.194 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 01:17:11.194 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.194 | 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_tasks'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 01:17:11.200 | 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_tasks'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 01:17:11.221 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 01:17:11.221 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 01:17:11.223 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.224 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.225 | info | yii\db\Command::query | SELECT s.* FROM "a57be577deb434"."tbl_tasks" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.head_of LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE WHERE (true) AND ("s"."status"=0) AND (("tree_path" @> (SELECT array_agg(DISTINCT s.tree_path) FROM "a57be577deb434"."tbl_tasks" "s" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON u.id = s.head_of LEFT JOIN "a57be577deb434"."tbl_clients" "client" ON client.id = s.client_id AND client.deleted = FALSE WHERE (true) AND ("s"."status"=0) AND (s.tree_path is not null)))) AND (s.parent_id is null) AND ("s"."task_group_id"='201') AND (s.parent_id is null) GROUP BY "s"."id" ORDER BY "s"."status", "s"."target_completed_at", "s"."created_at" DESC |
| 01:17:11.231 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
| 01:17:11.232 | 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"=5064) |
| 01:17:11.233 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "title" AS "name", "project_id", "client_id", "head_of", "status", "target_completed_at", "start_at" FROM "a57be577deb434"."tbl_task_groups" WHERE "id"=201 |
| 01:17:11.233 | info | yii\db\Command::query | SELECT "c".* FROM "a57be577deb434"."tbl_task_group_head_of_relationships" "c" LEFT JOIN "a57be577deb434"."tbl_users" "u" ON "u"."id" = "c"."user_id" WHERE "c"."task_group_id"=201 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 |
| 01:17:11.234 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.235 | 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_task_group_head_of_relationships'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 01:17:11.239 | 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_task_group_head_of_relationships'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 01:17:11.252 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 01:17:11.252 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 01:17:11.253 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_task_group_head_of_relationships" WHERE ("user_id"=1001) AND ("task_group_id"=201) |
| 01:17:11.254 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5064 |
| 01:17:11.254 | 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"=5064) |
| 01:17:11.255 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=10 |
| 01:17:11.255 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=101) AND ("object_id" IN (1614, 1611)) GROUP BY "object_id" |
| 01:17:11.295 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=101) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id" IN (1614, 1611)) GROUP BY "object_id" |
| 01:17:11.354 | info | yii\db\Command::query | SELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE "parent_id" IN (1614, 1611) GROUP BY "parent_id" |
| 01:17:11.355 | info | yii\db\Command::query | SELECT "parent_id", count(*) as count FROM "a57be577deb434"."tbl_tasks" WHERE ("status"=1) AND ("parent_id" IN (1614, 1611)) GROUP BY "parent_id" |
| 01:17:11.357 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateTask |
| 01:17:11.357 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
| 01:17:11.357 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
| 01:17:11.357 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
| 01:17:11.357 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
| 01:17:11.357 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
| 01:17:11.357 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: AccountManager |
| 01:17:11.357 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_tasks" WHERE "task_group_id"=201 |
| 01:17:11.358 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=201) AND ("status"=1) |
| 01:17:11.358 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=201) AND ("status"=0) |
| 01:17:11.359 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=201) AND ("status"=0) AND ("end_at" >= 'now()') |
| 01:17:11.360 | info | yii\db\Command::query | SELECT COUNT(*) FROM "a57be577deb434"."tbl_tasks" WHERE ("task_group_id"=201) AND ("status"=0) AND ("start_at" < 'now()') |
| 01:17:11.361 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.362 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 01:17:11.365 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/task/list-gantt', '{"task_group_id":"201"}', '{"code":2000,"result":{"list":[{"id":1614,"name":"3333","start":"2025-12-21","end":"2025-12-17","progress":100,"status":0,"person":"\u59da\u96ea\u7eaf","can_update":true,"is_warning":false,"warningMsg":"","parent_start":"2025-12-18 00:00:00","parent_end":"2025-12-31 23:59:59","hierarchyState":"collapse","children":[]},{"id":1611,"name":"\u65b9\u6cd5","start":"2025-12-17","end":"2025-12-19","progress":0,"status":0,"person":"\u59da\u96ea\u7eaf","can_update":true,"is_warning":true,"warningMsg":"\u6b64\u4efb\u52a1\u7684\u5f00\u59cb\u65e5\u671f(2025\u5e7412\u670817\u65e5)\u65e9\u4e8e\u9879\u76ee\u7684\u5f00\u59cb\u65e5\u671f(2025\u5e7412\u670818\u65e5)\u3002\u8d85\u51fa1\u5929\u3002","parent_start":"2025-12-18 00:00:00","parent_end":"2025-12-31 23:59:59","hierarchyState":"collapse","children":[]}],"minDate":"2025-12-17","maxDate":"2025-12-19","counts":[{"name":"\u5408\u8ba1","value":2,"color":"#86C5FF"},{"name":"\u5df2\u5b8c\u6210","value":0,"color":"#82DF54"},{"name":"\u8fdb\u884c\u4e2d","value":2,"color":"#82DF54"},{"name":"\u5df2\u8d85\u65f6","value":0,"color":"#82DF54"},{"name":"\u672a\u5f00\u59cb","value":1,"color":"#82DF54"}],"id":201,"title":"\u5f00\u59cb\u65f6\u95f4\u6d4b\u8bd5\u9879\u76ee","status":0,"weight":""},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"111.193.7.67","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/143.0.0.0 Safari\/537.36"}', FALSE, '2025-12-21 01:17:11') RETURNING "id" |
| 01:17:11.378 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 01:17:11.379 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |