14:40:17.065 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:40:17.065 | trace | yii\base\Module::getModule | Loading module: debug |
14:40:17.065 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:40:17.066 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:40:17.066 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:40:17.066 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.066 | trace | yii\base\Module::getModule | Loading module: gii |
14:40:17.066 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:40:17.066 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:40:17.066 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-cash-cost-ticket/verify' |
14:40:17.066 | trace | yii\base\Module::getModule | Loading module: vue |
14:40:17.067 | info | yii\web\Session::open | Session started |
14:40:17.067 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
14:40:17.067 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:40:17.072 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.072 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.072 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.072 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.072 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
14:40:17.074 | trace | yii\base\Controller::runAction | Route to run: vue/erp-cash-cost-ticket/verify |
14:40:17.074 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.075 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: viewErp |
14:40:17.075 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
14:40:17.075 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
14:40:17.075 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
14:40:17.075 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpCashCostTicketController::actionVerify() |
14:40:17.076 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"='7397' |
14:40:17.076 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.076 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.076 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.077 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.078 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status"=0) AND ("erp_cash_cost_ticket_id"=7397) ORDER BY "id" |
14:40:17.080 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.080 | 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_erp_cash_cost_ticket_verify_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
14:40:17.085 | 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_erp_cash_cost_ticket_verify_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
14:40:17.090 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.090 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
14:40:17.090 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" SET "status"=1, "description"='审核通过删除', "verify_at"='now()' WHERE "id"=19202 |
14:40:17.092 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.092 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.092 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpCashCostTicketVerifyRels', 19202, 'a:3:{s:6:"status";i:1;s:11:"description";s:18:"审核通过删除";s:9:"verify_at";s:5:"now()";}', '', 1001, '114.244.128.96') |
14:40:17.093 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status"=0) AND ("erp_cash_cost_ticket_id"=7397) ORDER BY "id") "c" |
14:40:17.095 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=7397 |
14:40:17.096 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpCashCostTickets', 7397, 'a:1:{s:9:"verify_at";s:5:"now()";}', '', 1001, '114.244.128.96') |
14:40:17.097 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7397 |
14:40:17.097 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5085 |
14:40:17.098 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status"=0) AND ("erp_cash_cost_ticket_id"=7397) ORDER BY "id" |
14:40:17.099 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_carbon_copy_rels" WHERE "erp_cash_cost_ticket_id"=7397 |
14:40:17.099 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE "erp_cash_cost_ticket_id"=7397 ORDER BY "id" |
14:40:17.101 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.101 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.101 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7397 |
14:40:17.102 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
14:40:17.102 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20018', 7397, '刘人诚通过了这个审批', TRUE, 'XJFYD-20250827-00044') RETURNING "id" |
14:40:17.103 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\Comments', 191392, 'a:11:{s:2:"id";i:191392;s:9:"object_id";i:7397;s:11:"object_type";s:5:"20018";s:6:"parent";N;s:11:"description";s:30:"刘人诚通过了这个审批";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:20:"XJFYD-20250827-00044";}', '', 1001, '114.244.128.96') |
14:40:17.104 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.104 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.104 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (7397, '20018', 191392, 5252), (7397, '20018', 191392, 5085) |
14:40:17.106 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id" IN (5252, 5085)) AND ("id" != 1001) AND (channel_id IS NOT NULL) |
14:40:17.106 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
14:40:17.107 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
14:40:17.107 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
14:40:17.107 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
14:40:17.107 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2191 |
14:40:17.109 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.109 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.109 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
14:40:17.109 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
14:40:17.109 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
14:40:17.109 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "next_verify_user"=NULL WHERE "id"=7397 |
14:40:17.110 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpCashCostTickets', 7397, 'a:1:{s:16:"next_verify_user";i:1001;}', '', 1001, '114.244.128.96') |
14:40:17.111 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7397 |
14:40:17.111 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "settle_amount"='0' WHERE "id"=7397 |
14:40:17.112 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpCashCostTickets', 7397, 'a:0:{}', '', 1001, '114.244.128.96') |
14:40:17.113 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" WHERE "erp_cash_cost_ticket_id"=7397 ORDER BY "id" |
14:40:17.114 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" WHERE "erp_cash_cost_ticket_id"=7397 ORDER BY "id" |
14:40:17.114 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" WHERE "erp_cash_cost_ticket_id"=7397 ORDER BY "id" |
14:40:17.115 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_approve_payment_settles" WHERE "erp_cash_cost_ticket_id"=7397 ORDER BY "id" |
14:40:17.115 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7397 |
14:40:17.116 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_handlers" WHERE "erp_cash_cost_ticket_id"=7397 |
14:40:17.117 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.117 | 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_erp_cash_cost_ticket_handlers'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
14:40:17.119 | 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_erp_cash_cost_ticket_handlers'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
14:40:17.123 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.123 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
14:40:17.124 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.124 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.124 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_logs" ("status", "ticket_type", "serial_no", "wrote_date", "description", "abstract", "amount", "client_id", "supplier_id", "contact_id", "user_id", "created_by", "created_at", "updated_at", "object_id", "verify_at") VALUES (2, 20018, 'XJFYD-20250827-00044', NULL, NULL, '6月份通讯费', '100', 2191, NULL, NULL, NULL, 5085, '2025-08-27 15:15:42', '2025-09-16 14:40:17', 7397, '2025-09-16 14:40:17.095448+08') RETURNING "id" |
14:40:17.127 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpTicketChangeLogs', 563, 'a:17:{s:2:"id";i:563;s:9:"serial_no";s:20:"XJFYD-20250827-00044";s:11:"ticket_type";i:20018;s:10:"wrote_date";N;s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";i:2191;s:8:"abstract";s:16:"6月份通讯费";s:11:"description";N;s:9:"verify_at";s:29:"2025-09-16 14:40:17.095448+08";s:10:"created_by";i:5085;s:10:"created_at";s:19:"2025-08-27 15:15:42";s:10:"updated_at";s:19:"2025-09-16 14:40:17";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:3:"100";s:9:"object_id";i:7397;}', '', 1001, '114.244.128.96') |
14:40:17.128 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.128 | 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_erp_ticket_change_log_handlers'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
14:40:17.130 | 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_erp_ticket_change_log_handlers'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
14:40:17.134 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.134 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
14:40:17.134 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (563, 5085) |
14:40:17.138 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
14:40:17.139 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
14:40:17.139 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.139 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.139 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (6, 'status', 7397, 20018, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u73b0\u91d1\u8d39\u7528\u5355\u7533\u8bf7","d4":""}') |
14:40:17.141 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.141 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.141 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=1001) AND ("object_type"=20000) AND ("visit_date"='2025-09-16') |
14:40:17.145 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.145 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:40:17.145 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=132, "last_visit_at"='now()' WHERE "id"=56579 |
14:40:17.146 | 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/erp-cash-cost-ticket/verify', '{"id":"7397","description":"\u5ba1\u6838\u901a\u8fc7\u5220\u9664","web_access_token":"Y88xetVtOugxFkYQoFcH-2TFC5ckFtc8"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u73b0\u91d1\u8d39\u7528\u5355\u5ba1\u6279\u901a\u8fc7","error":""}],"mod":0}', FALSE, '2025-09-16 14:40:17') RETURNING "id" |
14:40:17.147 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:40:17.147 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |