18:03:32.670 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
18:03:32.670 | trace | yii\base\Module::getModule | Loading module: debug |
18:03:32.671 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
18:03:32.671 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
18:03:32.671 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
18:03:32.671 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.671 | trace | yii\base\Module::getModule | Loading module: gii |
18:03:32.671 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
18:03:32.671 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
18:03:32.671 | trace | yii\web\Application::handleRequest | Route requested: 'vue/reimbursement/save-new' |
18:03:32.671 | trace | yii\base\Module::getModule | Loading module: vue |
18:03:32.672 | info | yii\web\Session::open | Session started |
18:03:32.672 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
18:03:32.672 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
18:03:32.677 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.677 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.677 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.677 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.677 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
18:03:32.679 | trace | yii\base\Controller::runAction | Route to run: vue/reimbursement/save-new |
18:03:32.679 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.680 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
18:03:32.680 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ReimbursementController::actionSaveNew() |
18:03:32.681 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Reimbursements'. |
18:03:32.681 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.681 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.681 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\Reimbursements'. |
18:03:32.681 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'files' in 'app\models\Reimbursements'. |
18:03:32.681 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\Reimbursements'. |
18:03:32.681 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
18:03:32.682 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
18:03:32.682 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_reimbursements" ("occurrence_at", "amount", "client_id", "description", "project_id", "work_log_id", "pre_sales_id", "implement_record_id", "status", "created_by", "created_at") VALUES ('2025/08/08 00:00', '1.00', NULL, '', NULL, NULL, NULL, NULL, 1, 1001, 'now()') RETURNING "id" |
18:03:32.693 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.694 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.694 | 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\Reimbursements', 7910, 'a:18:{s:2:"id";i:7910;s:6:"status";i:1;s:6:"amount";s:4:"1.00";s:13:"occurrence_at";s:19:"2025-08-08 00:00:00";s:18:"settle_accounts_at";N;s:18:"settle_accounts_by";N;s:11:"description";s:0:"";s:10:"created_by";i:1001;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:18:"refuse_description";N;s:9:"client_id";s:0:"";s:10:"project_id";s:0:"";s:16:"next_verify_user";N;s:13:"is_resubmited";N;s:11:"work_log_id";s:0:"";s:12:"pre_sales_id";s:0:"";s:19:"implement_record_id";s:0:"";}', '', 1001, '124.64.23.198') |
18:03:32.705 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7910) |
18:03:32.706 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=7910) |
18:03:32.708 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7910) AND ("term_id"=15) |
18:03:32.708 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.708 | 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_term_taxonomy_relationships'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
18:03:32.713 | 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_term_taxonomy_relationships'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
18:03:32.721 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.721 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
18:03:32.722 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='185') |
18:03:32.723 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=15) |
18:03:32.725 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (15, 185, 7910) RETURNING "id" |
18:03:32.730 | 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\TermTaxonomyRelationships', 121001, 'a:9:{s:2:"id";i:121001;s:9:"object_id";i:7910;s:11:"taxonomy_id";s:3:"185";s:7:"term_id";i:15;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1001, '124.64.23.198') |
18:03:32.731 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7910) AND ("object_type"=7) |
18:03:32.732 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='369') |
18:03:32.732 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=18) |
18:03:32.732 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "object_id") VALUES (18, 7, 369, 7910) RETURNING "id" |
18:03:32.733 | 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\TermTaxonomyRelationships', 121002, 'a:9:{s:2:"id";i:121002;s:9:"object_id";i:7910;s:11:"taxonomy_id";s:3:"369";s:7:"term_id";i:18;s:5:"value";N;s:11:"object_type";i:7;s:9:"extra_int";N;s:9:"in_amount";N;s:10:"out_amount";N;}', '', 1001, '124.64.23.198') |
18:03:32.734 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7910 |
18:03:32.736 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.736 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.736 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_verify_rels" ("reimbursement_id", "user_id", "status") VALUES (7910, 1001, 0) |
18:03:32.739 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7910 |
18:03:32.739 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.739 | 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_reimbursement_carbon_copy_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
18:03:32.742 | 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_reimbursement_carbon_copy_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
18:03:32.752 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.752 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
18:03:32.752 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" ("reimbursement_id", "user_id") VALUES (7910, 5388) |
18:03:32.755 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7910 |
18:03:32.756 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.756 | 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_reimbursement_settle_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
18:03:32.759 | 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_reimbursement_settle_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
18:03:32.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.769 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
18:03:32.769 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_reimbursement_settle_rels" ("reimbursement_id", "user_id") VALUES (7910, 1001) |
18:03:32.772 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7910) ORDER BY "id" |
18:03:32.774 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
18:03:32.774 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_reimbursements" SET "next_verify_user"=1001 WHERE "id"=7910 |
18:03:32.777 | 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\Reimbursements', 7910, 'a:1:{s:13:"occurrence_at";s:19:"2025-08-08 00:00:00";}', '', 1001, '124.64.23.198') |
18:03:32.777 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
18:03:32.778 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=7910 |
18:03:32.778 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7910) ORDER BY "id" |
18:03:32.780 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
18:03:32.781 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.781 | 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_object_change_logs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
18:03:32.786 | 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_object_change_logs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
18:03:32.795 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.795 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
18:03:32.795 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 7910, 20, 1001, '2025-08-08 18:03:32', '{"id":7910,"status":1,"amount":"1.00","occurrence_at":"2025-08-08 00:00:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1001,"created_at":"2025-08-08 18:03:32","updated_at":"2025-08-08 18:03:32","refuse_description":null,"client_id":null,"project_id":null,"next_verify_user":1001,"is_resubmited":false,"work_log_id":null,"pre_sales_id":null,"implement_record_id":null}', '{"id":7910,"status":1,"amount":"1.00","occurrence_at":"2025-08-08 00:00:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1001,"created_at":"2025-08-08 18:03:32","updated_at":"2025-08-08 18:03:32","refuse_description":null,"client_id":null,"project_id":null,"next_verify_user":1001,"is_resubmited":false,"work_log_id":null,"pre_sales_id":null,"implement_record_id":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":[]}') RETURNING "id" |
18:03:32.806 | 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\ObjectChangeLogs', 551932, 'a:13:{s:2:"id";i:551932;s:9:"object_id";i:7910;s:11:"object_type";i:20;s:9:"target_id";N;s:18:"target_object_type";N;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:406:"{"id":7910,"status":1,"amount":"1.00","occurrence_at":"2025-08-08 00:00:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1001,"created_at":"2025-08-08 18:03:32","updated_at":"2025-08-08 18:03:32","refuse_description":null,"client_id":null,"project_id":null,"next_verify_user":1001,"is_resubmited":false,"work_log_id":null,"pre_sales_id":null,"implement_record_id":null}";s:9:"new_value";s:406:"{"id":7910,"status":1,"amount":"1.00","occurrence_at":"2025-08-08 00:00:00","settle_accounts_at":null,"settle_accounts_by":null,"description":"","created_by":1001,"created_at":"2025-08-08 18:03:32","updated_at":"2025-08-08 18:03:32","refuse_description":null,"client_id":null,"project_id":null,"next_verify_user":1001,"is_resubmited":false,"work_log_id":null,"pre_sales_id":null,"implement_record_id":null}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-08-08 18:03:32";s:9:"is_delete";N;}', '', 1001, '124.64.23.198') |
18:03:32.807 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.807 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
18:03:32.808 | 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/reimbursement/save-new', '{"Reimbursements":{"id":"","form_type":"185","form_costType":"369","occurrence_at":"2025\/08\/08 00:00","amount":"1.00","client_id":"","client_name":"","form_reimbursementVerifyRels":["1001"],"form_reimbursementSettleRels":["1001"],"form_reimbursementCarbonCopyRels":["5388"],"description":"","project_id":"","work_log_id":"","pre_sales_id":"","implement_record_id":"","files":"","attachmentFiles":""},"web_access_token":"0Bjt7zsA4RpFpNhApjLlKpy587hFcKCO"}', '{"code":2000,"result":{"id":7910},"status":1,"msg":[{"name":"success","success":"\u65b0\u62a5\u9500\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-08-08 18:03:32') RETURNING "id" |
18:03:32.809 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
18:03:32.809 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |