| 16:59:31.518 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 16:59:31.518 | trace | yii\base\Module::getModule | Loading module: debug |
| 16:59:31.518 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 16:59:31.519 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 16:59:31.519 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 16:59:31.520 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.522 | info | time tracing start | 1781168371522660096 |
| 16:59:31.522 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 16:59:31.522 | trace | yii\web\Application::handleRequest | Route requested: 'vue/supplier/list-document' |
| 16:59:31.522 | trace | yii\base\Module::getModule | Loading module: vue |
| 16:59:31.523 | info | yii\web\Session::open | Session started |
| 16:59:31.524 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 16:59:31.524 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 16:59:31.526 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.527 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:59:31.529 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.530 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:59:31.530 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 16:59:31.531 | trace | yii\base\Controller::runAction | Route to run: vue/supplier/list-document |
| 16:59:31.531 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.533 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 16:59:31.533 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\SupplierController::actionListDocument() |
| 16:59:31.533 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='138' |
| 16:59:31.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.534 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:59:31.537 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.537 | 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_supplier_documents'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 16:59:31.541 | 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_supplier_documents'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 16:59:31.559 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:59:31.559 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 16:59:31.560 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT cd.* FROM "a57be577deb434"."tbl_supplier_documents" "cd" WHERE "supplier_id"=138 GROUP BY "cd"."id" ORDER BY "created_at" DESC) "c" |
| 16:59:31.564 | info | yii\db\Command::query | SELECT cd.* FROM "a57be577deb434"."tbl_supplier_documents" "cd" WHERE "supplier_id"=138 GROUP BY "cd"."id" ORDER BY "created_at" DESC LIMIT 20 |
| 16:59:31.565 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=1011 |
| 16:59:31.565 | 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"=1011) |
| 16:59:31.566 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=3 |
| 16:59:31.567 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "extension", "path", "orig_name" FROM "a57be577deb434"."tbl_attachments" WHERE "id" IN (31987, 26911, 18238) |
| 16:59:31.569 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=111) AND ("object_id" IN (307, 271, 125)) GROUP BY "object_id" |
| 16:59:31.603 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=111) AND (remind_user_id = 1001 AND is_read = false) AND ("object_id" IN (307, 271, 125)) GROUP BY "object_id" |
| 16:59:31.635 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: updateSupplierDocument |
| 16:59:31.635 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
| 16:59:31.635 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 16:59:31.635 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: deleteSupplierDocument |
| 16:59:31.635 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 16:59:31.635 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.636 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.638 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.638 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 16:59:31.639 | 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/supplier/list-document', '{"page":"1","supplier_id":"138","web_access_token":"s1xKbg9e3rlah-dvFsDEWCxiJPk9VpSm"}', '{"code":2000,"result":{"list":[{"id":307,"attachment_id":31987,"supplier_id":138,"title":"2025\u4f9b\u5e94\u5546\u8bc4\u4ef7\u8868","description":"","created_by":1011,"created_at":"2026-02-10 15:05:53","updated_at":"2026-02-10 15:05:53","createdBy":{"id":1011,"key":1011,"name":"\u97e9\u96c5\u82b3","sex":"F","department_id":3,"avatar":{"id":17,"user_id":1011,"name":"\/files\/cdn\/a57be577deb434\/avatar\/b54747f4-248d-380e-93bc-0f62f769e70d.png"},"department":{"id":3,"key":3,"name":"\u5546\u52a1\u90e8"}},"attachment":{"id":31987,"key":31987,"name":"77625226-98e3-3d52-ab5c-eaa4c23b0ad5","extension":"pdf","path":"\/vue\/attachment\/preview\/77625226-98e3-3d52-ab5c-eaa4c23b0ad5\/\u6df1\u4fe1\u670d.pdf","orig_name":"\u6df1\u4fe1\u670d.pdf"},"commentCount":{},"unreadComments":null,"unread":0,"can_update":true,"can_delete":true},{"id":271,"attachment_id":26911,"supplier_id":138,"title":"\u635f\u8017\u5408\u540c\u6a21\u7248","description":"","created_by":1011,"created_at":"2025-07-18 14:39:04","updated_at":"2025-07-18 14:39:04","createdBy":{"id":1011,"key":1011,"name":"\u97e9\u96c5\u82b3","sex":"F","department_id":3,"avatar":{"id":17,"user_id":1011,"name":"\/files\/cdn\/a57be577deb434\/avatar\/b54747f4-248d-380e-93bc-0f62f769e70d.png"},"department":{"id":3,"key":3,"name":"\u5546\u52a1\u90e8"}},"attachment":{"id":26911,"key":26911,"name":"26cdfaba-4e4f-35cd-8dd5-5fde284ad111","extension":"docx","path":"\/vue\/attachment\/preview\/26cdfaba-4e4f-35cd-8dd5-5fde284ad111\/\u9000\u6362\u8d27\u8bbe\u5907\u635f\u8017\u8d54\u507f\u534f\u8baeV2.docx","orig_name":"\u9000\u6362\u8d27\u8bbe\u5907\u635f\u8017\u8d54\u507f\u534f\u8baeV2.docx"},"commentCount":{},"unreadComments":null,"unread":0,"can_update":true,"can_delete":true},{"id":125,"attachment_id":18238,"supplier_id":138,"title":"20240320\u501f\u6d4b\u8bbe\u5907\u7b7e\u6536\u5355","description":"\u9b4f\u6cfd\u6587 \u56fd\u79d1\u73af\u5b87\u501f\u6d4b","created_by":1011,"created_at":"2024-03-20 16:21:51","updated_at":"2024-03-20 16:22:56","createdBy":{"id":1011,"key":1011,"name":"\u97e9\u96c5\u82b3","sex":"F","department_id":3,"avatar":{"id":17,"user_id":1011,"name":"\/files\/cdn\/a57be577deb434\/avatar\/b54747f4-248d-380e-93bc-0f62f769e70d.png"},"department":{"id":3,"key":3,"name":"\u5546\u52a1\u90e8"}},"attachment":{"id":18238,"key":18238,"name":"8c69b62b-d20f-37ec-9c22-2f29c7af40ce","extension":"pdf","path":"\/vue\/attachment\/preview\/8c69b62b-d20f-37ec-9c22-2f29c7af40ce\/\u6d4b\u8bd5\u8bbe\u5907\u7b7e\u6536\u5355.pdf","orig_name":"\u6d4b\u8bd5\u8bbe\u5907\u7b7e\u6536\u5355.pdf"},"commentCount":{},"unreadComments":null,"unread":0,"can_update":true,"can_delete":true}],"can_create":true,"pagenation":{"totalcount":3,"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-11 16:59:31', 116145920) RETURNING "id" |
| 16:59:31.641 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 16:59:31.641 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |