20:14:16.517 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
20:14:16.517 | trace | yii\base\Module::getModule | Loading module: debug |
20:14:16.518 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
20:14:16.518 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
20:14:16.518 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
20:14:16.518 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.518 | trace | yii\base\Module::getModule | Loading module: gii |
20:14:16.518 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
20:14:16.518 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
20:14:16.518 | trace | yii\web\Application::handleRequest | Route requested: 'v2/reimbursement/verify' |
20:14:16.518 | trace | yii\base\Module::getModule | Loading module: v2 |
20:14:16.519 | info | yii\web\Session::open | Session started |
20:14:16.519 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
20:14:16.521 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw' |
20:14:16.524 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.524 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.524 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.525 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.525 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.526 | trace | yii\base\Controller::runAction | Route to run: v2/reimbursement/verify |
20:14:16.527 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: viewReimbursement |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: TechDirector |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: ProjectManager |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesDirector |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: SalesManager |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 电话销售 |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Engineer |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Dispatcher |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: GM |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 软件开发 |
20:14:16.528 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: 人力资源 |
20:14:16.528 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ReimbursementController::actionVerify() |
20:14:16.528 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='7925' |
20:14:16.528 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.528 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.529 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7925) ORDER BY "id" |
20:14:16.530 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.531 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.531 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.531 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.532 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_reimbursement_verify_rels" SET "status"=1, "verify_at"='now()' WHERE "id"=28632 |
20:14:16.533 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.533 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.533 | 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\ReimbursementVerifyRels', 28632, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 5446, '120.244.156.113') |
20:14:16.534 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7925) ORDER BY "id") "c" |
20:14:16.536 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_reimbursements" SET "status"=2, "updated_at"='now()' WHERE "id"=7925 |
20:14:16.537 | 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', 7925, 'a:2:{s:6:"status";i:2;s:13:"occurrence_at";s:19:"2025-08-30 20:00:00";}', '', 5446, '120.244.156.113') |
20:14:16.538 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=7925 |
20:14:16.538 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.539 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7925) ORDER BY "id" |
20:14:16.540 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7925 |
20:14:16.540 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7925 ORDER BY "id" |
20:14:16.542 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.542 | 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_comments'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
20:14:16.547 | 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_comments'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
20:14:16.554 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.554 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
20:14:16.554 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=7925 |
20:14:16.555 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446) |
20:14:16.555 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (5446, '20', 7925, '刘娟 通过了这个报销', TRUE, '') RETURNING "id" |
20:14:16.558 | 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', 186710, 'a:11:{s:2:"id";i:186710;s:9:"object_id";i:7925;s:11:"object_type";s:2:"20";s:6:"parent";N;s:11:"description";s:28:"刘娟 通过了这个报销";s:10:"created_by";i:5446;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:0:"";}', '', 5446, '120.244.156.113') |
20:14:16.559 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 5446) AND (channel_id IS NOT NULL) |
20:14:16.559 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7925 |
20:14:16.560 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (307, 352)) |
20:14:16.560 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.561 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
20:14:16.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
20:14:16.574 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
20:14:16.574 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_reimbursements" SET "next_verify_user"=NULL WHERE "id"=7925 |
20:14:16.575 | 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', 7925, 'a:1:{s:13:"occurrence_at";s:19:"2025-08-30 20:00:00";}', '', 5446, '120.244.156.113') |
20:14:16.576 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=7925 |
20:14:16.576 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.576 | 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_tickets'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
20:14:16.581 | 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_tickets'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
20:14:16.589 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.589 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
20:14:16.589 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE ("created_at" >= '2025-08-30 00:00:00') AND ("created_at" <= '2025-08-30 23:59:59') AND ("serial_no" LIKE '%XJFYD-20250830-%') AND (LENGTH(serial_no) = 20) ORDER BY "serial_no" DESC |
20:14:16.594 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7925) |
20:14:16.596 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=7925) |
20:14:16.598 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=7925) |
20:14:16.598 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.599 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.599 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7925 |
20:14:16.599 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (307, 352)) |
20:14:16.601 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.601 | 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_verify_processes'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
20:14:16.604 | 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_verify_processes'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
20:14:16.610 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.610 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
20:14:16.610 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_verify_processes" WHERE "id"=17 |
20:14:16.613 | info | yii\db\Command::query | SELECT "id" FROM "a57be577deb434"."tbl_users" WHERE ("id"='1001') AND ("user_status"='1') ORDER BY array_position(array[1001], id) |
20:14:16.613 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_cash_cost_tickets" ("status", "verify_type", "created_by", "created_at", "serial_no", "client_id", "abstract", "reimbursement_id") VALUES (1, 1, 5446, 'now()', 'XJFYD-20250830-00001', NULL, '', 7925) RETURNING "id" |
20:14:16.619 | 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\ErpCashCostTickets', 7375, 'a:28:{s:2:"id";i:7375;s:9:"serial_no";s:20:"XJFYD-20250830-00001";s:10:"wrote_date";N;s:9:"client_id";N;s:17:"sales_contract_id";N;s:11:"supplier_id";N;s:20:"purchase_contract_id";N;s:16:"reimbursement_id";i:7925;s:6:"status";i:1;s:8:"abstract";s:0:"";s:11:"description";N;s:11:"verify_type";s:1:"1";s:16:"next_verify_user";N;s:21:"next_stop_verify_user";N;s:9:"verify_at";N;s:7:"stop_at";N;s:18:"refuse_description";N;s:14:"is_resubmitted";N;s:6:"amount";N;s:13:"settle_amount";N;s:10:"created_by";i:5446;s:16:"stop_description";N;s:9:"is_settle";N;s:6:"is_old";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"paid_amount";N;s:17:"is_payment_settle";N;}', '', 5446, '120.244.156.113') |
20:14:16.620 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20032) AND ("object_id"=7375) |
20:14:16.624 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE "erp_cash_cost_ticket_id"=7375 |
20:14:16.629 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.629 | 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; |
20:14:16.632 | 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 |
20:14:16.638 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.638 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
20:14:16.638 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" ("erp_cash_cost_ticket_id", "user_id", "status") VALUES (7375, 1001, 0) |
20:14:16.642 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_handlers" WHERE "erp_cash_cost_ticket_id"=7375 |
20:14:16.647 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.647 | 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; |
20:14:16.649 | 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 |
20:14:16.655 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.655 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
20:14:16.655 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_cash_cost_ticket_handlers" ("erp_cash_cost_ticket_id", "user_id", "amount", "pct") VALUES (7375, 5446, '212', '100') |
20:14:16.658 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=7375) AND ("term_id"=18) AND ("object_type"=11) |
20:14:16.659 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "out_amount", "value", "object_id", "extra_int") VALUES (18, 11, 352, '212', '', 7375, 307) |
20:14:16.661 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" WHERE "erp_cash_cost_ticket_id"=7375 |
20:14:16.664 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" WHERE "erp_cash_cost_ticket_id"=7375 |
20:14:16.665 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" WHERE "erp_cash_cost_ticket_id"=7375 |
20:14:16.666 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status"=0) AND ("erp_cash_cost_ticket_id"=7375) ORDER BY "id" |
20:14:16.668 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "amount"='212', "next_verify_user"=1001 WHERE "id"=7375 |
20:14:16.669 | 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', 7375, 'a:2:{s:16:"next_verify_user";i:1001;s:6:"amount";i:212;}', '', 5446, '120.244.156.113') |
20:14:16.671 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7375 |
20:14:16.671 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7375 |
20:14:16.671 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" WHERE "erp_cash_cost_ticket_id"=7375 ORDER BY "id" |
20:14:16.672 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" WHERE "erp_cash_cost_ticket_id"=7375 ORDER BY "id" |
20:14:16.672 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" WHERE "erp_cash_cost_ticket_id"=7375 ORDER BY "id" |
20:14:16.674 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_approve_payment_settles" WHERE "erp_cash_cost_ticket_id"=7375 ORDER BY "id" |
20:14:16.676 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.676 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status"=0) AND ("erp_cash_cost_ticket_id"=7375) ORDER BY "id" |
20:14:16.678 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7375 |
20:14:16.678 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446) |
20:14:16.679 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (5446, '20018', 7375, '刘娟 有一个现金费用单需要审批', TRUE, 'XJFYD-20250830-00001') RETURNING "id" |
20:14:16.680 | 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', 186711, 'a:11:{s:2:"id";i:186711;s:9:"object_id";i:7375;s:11:"object_type";s:5:"20018";s:6:"parent";N;s:11:"description";s:43:"刘娟 有一个现金费用单需要审批";s:10:"created_by";i:5446;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-20250830-00001";}', '', 5446, '120.244.156.113') |
20:14:16.680 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.680 | 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_unread_comments'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
20:14:16.683 | 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_unread_comments'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
20:14:16.689 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.690 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
20:14:16.690 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (7375, '20018', 186711, 1001) |
20:14:16.694 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1001) AND ("id" != 5446) AND (channel_id IS NOT NULL) |
20:14:16.694 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
20:14:16.694 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
20:14:16.694 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
20:14:16.694 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.695 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.695 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.695 | 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', 7375, 20018, 5446, '2025-08-30 20:14:16', '{"id":7375,"serial_no":"XJFYD-20250830-00001","wrote_date":null,"client_id":null,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"reimbursement_id":7925,"status":1,"abstract":"","description":null,"verify_type":1,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"amount":"212","settle_amount":"0","created_by":5446,"stop_description":null,"is_settle":false,"is_old":false,"created_at":"2025-08-30 20:14:16","updated_at":"2025-08-30 20:14:16","paid_amount":null,"is_payment_settle":false}', '{"id":7375,"serial_no":"XJFYD-20250830-00001","wrote_date":null,"client_id":null,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"reimbursement_id":7925,"status":1,"abstract":"","description":null,"verify_type":1,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"amount":"212","settle_amount":"0","created_by":5446,"stop_description":null,"is_settle":false,"is_old":false,"created_at":"2025-08-30 20:14:16","updated_at":"2025-08-30 20:14:16","paid_amount":null,"is_payment_settle":false}', '{"d1":"\u5218\u5a1f","d2":"\u521b\u5efa\u4e86","d3":"\u73b0\u91d1\u8d39\u7528\u5355\u7533\u8bf7","d4":[]}') RETURNING "id" |
20:14:16.697 | 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', 554503, 'a:13:{s:2:"id";i:554503;s:9:"object_id";i:7375;s:11:"object_type";i:20018;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:596:"{"id":7375,"serial_no":"XJFYD-20250830-00001","wrote_date":null,"client_id":null,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"reimbursement_id":7925,"status":1,"abstract":"","description":null,"verify_type":1,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"amount":"212","settle_amount":"0","created_by":5446,"stop_description":null,"is_settle":false,"is_old":false,"created_at":"2025-08-30 20:14:16","updated_at":"2025-08-30 20:14:16","paid_amount":null,"is_payment_settle":false}";s:9:"new_value";s:596:"{"id":7375,"serial_no":"XJFYD-20250830-00001","wrote_date":null,"client_id":null,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"reimbursement_id":7925,"status":1,"abstract":"","description":null,"verify_type":1,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"amount":"212","settle_amount":"0","created_by":5446,"stop_description":null,"is_settle":false,"is_old":false,"created_at":"2025-08-30 20:14:16","updated_at":"2025-08-30 20:14:16","paid_amount":null,"is_payment_settle":false}";s:11:"description";s:105:"{"d1":"\u5218\u5a1f","d2":"\u521b\u5efa\u4e86","d3":"\u73b0\u91d1\u8d39\u7528\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:5446;s:10:"created_at";s:19:"2025-08-30 20:14:16";s:9:"is_delete";N;}', '', 5446, '120.244.156.113') |
20:14:16.697 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7375 |
20:14:16.698 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7925 |
20:14:16.699 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.699 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.699 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.699 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"=7925 |
20:14:16.700 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446) |
20:14:16.700 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (5446, '20', 7925, '刘娟 有一个报销需要结算', TRUE, '') RETURNING "id" |
20:14:16.701 | 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', 186712, 'a:11:{s:2:"id";i:186712;s:9:"object_id";i:7925;s:11:"object_type";s:2:"20";s:6:"parent";N;s:11:"description";s:34:"刘娟 有一个报销需要结算";s:10:"created_by";i:5446;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:0:"";}', '', 5446, '120.244.156.113') |
20:14:16.702 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (7925, '20', 186712, 5388) |
20:14:16.703 | info | yii\db\Command::query | SELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=5388) AND ("id" != 5446) AND (channel_id IS NOT NULL) |
20:14:16.705 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.706 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
20:14:16.706 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
20:14:16.706 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
20:14:16.706 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7925 |
20:14:16.707 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (307, 352)) |
20:14:16.707 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
20:14:16.707 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
20:14:16.707 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
20:14:16.707 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.708 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.708 | 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', 7925, 20, 5446, 'now()', '["\u5218\u5a1f"]', '[]', '{"d1":"\u5218\u5a1f","d2":"\u540c\u610f\u4e86","d3":"\u8d39\u7528\u62a5\u9500","d4":""}') |
20:14:16.709 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursements" WHERE "id"='7925' |
20:14:16.710 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "department_id" FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.710 | 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"=5446) |
20:14:16.711 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_departments" WHERE "id"=8 |
20:14:16.711 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=7925 |
20:14:16.711 | info | yii\db\Command::query | SELECT "id", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("id" IN (307, 352)) |
20:14:16.712 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("term_id"=18) AND ("object_type"=7) AND ("object_id"=7925) |
20:14:16.712 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"=352 |
20:14:16.712 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_carbon_copy_rels" WHERE "reimbursement_id"=7925 |
20:14:16.712 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE ("user_id"=5446) AND ("reimbursement_id"=7925) |
20:14:16.713 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_settle_rels" WHERE "reimbursement_id"=7925 |
20:14:16.714 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=5388 |
20:14:16.714 | 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"=5388) |
20:14:16.714 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE "reimbursement_id"=7925 ORDER BY "id" |
20:14:16.715 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name", "sex", "user_status" FROM "a57be577deb434"."tbl_users" WHERE "id"=5446 |
20:14:16.716 | 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"=5446) |
20:14:16.716 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status"=0) AND ("reimbursement_id"=7925) ORDER BY "id" |
20:14:16.717 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_reimbursement_verify_rels" WHERE ("status" != 0) AND ("reimbursement_id"=7925) ORDER BY "id" |
20:14:16.719 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=19) AND ("object_id"=7925) |
20:14:16.720 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=22) AND ("object_id"=7925) |
20:14:16.722 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "reimbursement_id"=7925 |
20:14:16.723 | info | yii\db\Command::query | SELECT "object_id", count(*) as comment FROM "a57be577deb434"."tbl_comments" WHERE ("object_type"=20) AND ("object_id"=7925) GROUP BY "object_id" |
20:14:16.743 | info | yii\db\Command::query | SELECT "object_id", count(*) AS unread FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20) AND (remind_user_id = 5446 AND is_read = false) AND ("object_id"=7925) GROUP BY "object_id" |
20:14:16.761 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=15) AND ("is_delete"=FALSE) ORDER BY "sort", "id" |
20:14:16.761 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "parent_id", "name" FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("is_delete"=FALSE) AND ("parent_id" IN (185, 184, 183, 307, 198, 385)) ORDER BY "sort", "id" |
20:14:16.762 | info | yii\db\Command::query | SELECT "id", "id" AS "key", "name" FROM "a57be577deb434"."tbl_users" WHERE "user_status"='1' 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 |
20:14:16.762 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
20:14:16.763 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
20:14:16.763 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 5446, NULL, NULL, 'v2/reimbursement/verify', '{"access_token":"c1glbS3oPWuii9fAd_nsZY9pK1ntZvhw","device_type":"2","id":"7925","posttime":"1756556032","token":"daed8868bc18207acfb915f5b8c2628a","version_code":"1147"}', '{"code":200,"data":{"model":{"id":7925,"status":2,"amount":"212","occurrence_at":"2025-08-30 20:00:00","settle_accounts_at":"","settle_accounts_by":null,"description":"","created_by":5446,"created_at":"2025-08-30 20:13:49","updated_at":"2025-08-30 20:14:16","refuse_description":null,"client_id":null,"project_id":null,"next_verify_user":null,"is_resubmited":false,"work_log_id":null,"pre_sales_id":null,"implement_record_id":null,"createdBy":{"id":5446,"key":5446,"name":"\u5218\u5a1f","sex":"F","department_id":8,"avatar":{"id":164,"user_id":5446,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5631bbfb-fa6e-308e-b87c-b159e8042209.jpg"},"department":{"id":8,"key":8,"name":"\u4eba\u529b\u8d44\u6e90"}},"client":null,"project":null,"workLog":null,"preSales":null,"implement":null,"type":{"id":307,"name":"\u65e5\u5e38\u529e\u516c"},"costType":{"id":352,"object_id":7925,"taxonomy_id":352,"term_id":18,"value":null,"object_type":7,"extra_int":null,"in_amount":null,"out_amount":null,"taxonomy":{"id":352,"name":"\u624b\u673a\u8d39","term_id":18,"description":"","sort":14,"created_by":1001,"created_at":"2018-12-10 15:05:29","updated_at":"2025-08-04 09:39:14","is_delete":false,"approve_verify_user":"\u96f6\u98df\/\u996e\u6599\/\u65e5\u5e38\u7528\u54c1","approve_carbon_copy_user":null,"parent_id":307,"is_system":false,"serial_no":""},"name":"\u624b\u673a\u8d39"},"settleAccountsBy":null,"reimbursementCarbonCopyRels":[],"needSettle":[],"reimbursementSettleRels":[{"id":10475,"reimbursement_id":7925,"user_id":5388,"user":{"id":5388,"key":5388,"name":"\u6768\u71d5\u971e","sex":"F","user_status":"1","avatar":{"id":156,"user_id":5388,"name":"\/files\/cdn\/a57be577deb434\/avatar\/b8d4f68f-e736-3c38-9e2f-1ab47885b3d8.png"}}}],"reimbursementVerifyRels":[{"id":28632,"reimbursement_id":7925,"user_id":5446,"status":1,"verify_at":"2025-08-30 20:14:16","user":{"id":5446,"key":5446,"name":"\u5218\u5a1f","sex":"F","user_status":"1","avatar":{"id":164,"user_id":5446,"name":"\/files\/cdn\/a57be577deb434\/avatar\/5631bbfb-fa6e-308e-b87c-b159e8042209.jpg"}}}],"lastReimbursementVerifyRel":null,"haveReimbursementVerifyRel":{"id":28632,"reimbursement_id":7925,"user_id":5446,"status":1,"verify_at":"2025-08-30 20:14:16"},"attachmentRelationships":[],"files":[],"erpCashCostTicket":{"id":7375,"serial_no":"XJFYD-20250830-00001","wrote_date":null,"client_id":null,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"reimbursement_id":7925,"status":1,"abstract":"","description":null,"verify_type":1,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":"","stop_at":null,"refuse_description":null,"is_resubmitted":false,"amount":"212","settle_amount":"0","created_by":5446,"stop_description":null,"is_settle":false,"is_old":false,"created_at":"2025-08-30 20:14:16","updated_at":"2025-08-30 20:14:16","paid_amount":null,"is_payment_settle":false,"un_settle_amount":212},"commentCount":{"object_id":7925,"comment":2},"unreadComments":null,"unread":0,"can_update":false,"can_delete":false,"can_resubmit":false,"can_settle":false,"can_verify":false,"can_refuse":false,"can_erp_settle":false,"bgcolor":"#F39800","status_display":"\u672a\u7ed3\u7b97"},"options":[{"key":"Reimbursements[form_type]","name":"\u62a5\u9500\u7c7b\u578b","value":[{"id":185,"key":185,"name":"\u62db\u5f85\u8d39","child":[{"id":369,"key":369,"parent_id":185,"name":"\u9910\u996e\u8d39"},{"id":348,"key":348,"parent_id":185,"name":"\u793c\u54c1\u8d39"},{"id":365,"key":365,"parent_id":185,"name":"\u6d3b\u52a8\u8d39"}]},{"id":184,"key":184,"name":"\u4ea4\u901a\u8d39","child":[{"id":349,"key":349,"parent_id":184,"name":"\u7684\u58eb\u8d39"},{"id":374,"key":374,"parent_id":184,"name":"\u71c3\u6cb9\u8d39"}]},{"id":183,"key":183,"name":"\u5dee\u65c5\u8d39","child":[{"id":372,"key":372,"parent_id":183,"name":"\u98de\u673a\u7968"},{"id":323,"key":323,"parent_id":183,"name":"\u706b\u8f66\u7968"},{"id":367,"key":367,"parent_id":183,"name":"\u7684\u58eb\u8d39"},{"id":327,"key":327,"parent_id":183,"name":"\u4f4f\u5bbf\u8d39"},{"id":354,"key":354,"parent_id":183,"name":"\u8865\u52a9\u8d39"}]},{"id":307,"key":307,"name":"\u65e5\u5e38\u529e\u516c","child":[{"id":356,"key":356,"parent_id":307,"name":"\u529e\u516c\u7528\u54c1"},{"id":352,"key":352,"parent_id":307,"name":"\u624b\u673a\u8d39"},{"id":366,"key":366,"parent_id":307,"name":"\u8336\u70b9\u8d39"},{"id":379,"key":379,"parent_id":307,"name":"\u5feb\u9012\u8d39"},{"id":380,"key":380,"parent_id":307,"name":"\u7269\u6d41\u8d39"},{"id":384,"key":384,"parent_id":307,"name":"\u57f9\u8bad\u8d39"}]},{"id":198,"key":198,"name":"\u6807\u4e66\u8d39","child":[{"id":332,"key":332,"parent_id":198,"name":"\u6807\u4e66\u8d2d\u4e70\u8d39"},{"id":324,"key":324,"parent_id":198,"name":"\u6807\u4e66\u5236\u4f5c\u8d39"}]},{"id":385,"key":385,"name":"\u8d22\u52a1\u79d1\u76ee","child":[{"id":386,"key":386,"parent_id":385,"name":"\u8d44\u4ea7\u5904\u7f6e\u635f\u76ca"},{"id":387,"key":387,"parent_id":385,"name":"\u5e73\u53f0\u4f63\u91d1"},{"id":388,"key":388,"parent_id":385,"name":"\u5176\u4ed6\u8d39\u7528"},{"id":389,"key":389,"parent_id":385,"name":"\u90e8\u95e8\u7ba1\u7406\u8d39\u7528"},{"id":390,"key":390,"parent_id":385,"name":"\u4f18\u60e0"},{"id":391,"key":391,"parent_id":385,"name":"\u56fa\u5b9a\u8d44\u4ea7\u6298\u65e7"},{"id":392,"key":392,"parent_id":385,"name":"\u624b\u7eed\u8d39"},{"id":393,"key":393,"parent_id":385,"name":"\u7a0e\u91d1"},{"id":394,"key":394,"parent_id":385,"name":"\u8d54\u4ed8"},{"id":395,"key":395,"parent_id":385,"name":"\u8fd0\u8d39"},{"id":396,"key":396,"parent_id":385,"name":"\u8c03\u8d26\u4e8f\u635f"},{"id":397,"key":397,"parent_id":385,"name":"\u5de5\u4f1a\u7ecf\u8d39"},{"id":405,"key":405,"parent_id":385,"name":"\u57ce\u5e02\u7ef4\u62a4\u5efa\u8bbe\u7a0e"},{"id":406,"key":406,"parent_id":385,"name":"\u6559\u80b2\u8d39\u9644\u52a0"},{"id":407,"key":407,"parent_id":385,"name":"\u5730\u65b9\u6559\u80b2\u9644\u52a0"}]}]},{"key":"Reimbursements[form_reimbursementVerifyRels]","name":"\u5ba1\u6838\u4eba","value":[{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f"},{"id":1017,"key":1017,"name":"\u8f66\u660e\u98de"},{"id":5250,"key":5250,"name":"\u8463\u8363"},{"id":5016,"key":5016,"name":"\u9ad8\u90e1\u9633"},{"id":1011,"key":1011,"name":"\u97e9\u96c5\u82b3"},{"id":5085,"key":5085,"name":"\u970d\u4e1c\u9633"},{"id":5332,"key":5332,"name":"\u970d\u536b\u8d85"},{"id":5446,"key":5446,"name":"\u5218\u5a1f"},{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},{"id":5087,"key":5087,"name":"\u5218\u5fae"},{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91"},{"id":5311,"key":5311,"name":"\u62d3\u5c0f\u6587"},{"id":5252,"key":5252,"name":"\u738b\u7b11\u7b11"},{"id":5295,"key":5295,"name":"\u9b4f\u6cfd\u6587"},{"id":5248,"key":5248,"name":"\u6587\u4f73\u9f99"},{"id":1013,"key":1013,"name":"\u7fc1\u5bb6\u6210"},{"id":1015,"key":1015,"name":"\u5434\u660a"},{"id":1022,"key":1022,"name":"\u5f90\u7855"},{"id":5388,"key":5388,"name":"\u6768\u71d5\u971e"},{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf"},{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},{"id":5360,"key":5360,"name":"\u5f20\u7ea2\u82b3"},{"id":1005,"key":1005,"name":"\u8d75\u6657\u7131"},{"id":5449,"key":5449,"name":"\u5468\u4e3d\u98de"},{"id":1023,"key":1023,"name":"\u5468\u5b50\u5065"}]},{"key":"Reimbursements[form_reimbursementSettleRels]","name":"\u7ed3\u7b97\u4eba","value":[{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f"},{"id":1017,"key":1017,"name":"\u8f66\u660e\u98de"},{"id":5250,"key":5250,"name":"\u8463\u8363"},{"id":5016,"key":5016,"name":"\u9ad8\u90e1\u9633"},{"id":1011,"key":1011,"name":"\u97e9\u96c5\u82b3"},{"id":5085,"key":5085,"name":"\u970d\u4e1c\u9633"},{"id":5332,"key":5332,"name":"\u970d\u536b\u8d85"},{"id":5446,"key":5446,"name":"\u5218\u5a1f"},{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},{"id":5087,"key":5087,"name":"\u5218\u5fae"},{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91"},{"id":5311,"key":5311,"name":"\u62d3\u5c0f\u6587"},{"id":5252,"key":5252,"name":"\u738b\u7b11\u7b11"},{"id":5295,"key":5295,"name":"\u9b4f\u6cfd\u6587"},{"id":5248,"key":5248,"name":"\u6587\u4f73\u9f99"},{"id":1013,"key":1013,"name":"\u7fc1\u5bb6\u6210"},{"id":1015,"key":1015,"name":"\u5434\u660a"},{"id":1022,"key":1022,"name":"\u5f90\u7855"},{"id":5388,"key":5388,"name":"\u6768\u71d5\u971e"},{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf"},{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},{"id":5360,"key":5360,"name":"\u5f20\u7ea2\u82b3"},{"id":1005,"key":1005,"name":"\u8d75\u6657\u7131"},{"id":5449,"key":5449,"name":"\u5468\u4e3d\u98de"},{"id":1023,"key":1023,"name":"\u5468\u5b50\u5065"}]},{"key":"Reimbursements[form_reimbursementCarbonCopyRels]","name":"\u6284\u9001","value":[{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f"},{"id":1017,"key":1017,"name":"\u8f66\u660e\u98de"},{"id":5250,"key":5250,"name":"\u8463\u8363"},{"id":5016,"key":5016,"name":"\u9ad8\u90e1\u9633"},{"id":1011,"key":1011,"name":"\u97e9\u96c5\u82b3"},{"id":5085,"key":5085,"name":"\u970d\u4e1c\u9633"},{"id":5332,"key":5332,"name":"\u970d\u536b\u8d85"},{"id":5446,"key":5446,"name":"\u5218\u5a1f"},{"id":1001,"key":1001,"name":"\u5218\u4eba\u8bda"},{"id":5087,"key":5087,"name":"\u5218\u5fae"},{"id":5300,"key":5300,"name":"\u82cf\u6e05\u4e91"},{"id":5311,"key":5311,"name":"\u62d3\u5c0f\u6587"},{"id":5252,"key":5252,"name":"\u738b\u7b11\u7b11"},{"id":5295,"key":5295,"name":"\u9b4f\u6cfd\u6587"},{"id":5248,"key":5248,"name":"\u6587\u4f73\u9f99"},{"id":1013,"key":1013,"name":"\u7fc1\u5bb6\u6210"},{"id":1015,"key":1015,"name":"\u5434\u660a"},{"id":1022,"key":1022,"name":"\u5f90\u7855"},{"id":5388,"key":5388,"name":"\u6768\u71d5\u971e"},{"id":5064,"key":5064,"name":"\u59da\u96ea\u7eaf"},{"id":1004,"key":1004,"name":"\u4f0a\u5cfb\u8fb0"},{"id":5360,"key":5360,"name":"\u5f20\u7ea2\u82b3"},{"id":1005,"key":1005,"name":"\u8d75\u6657\u7131"},{"id":5449,"key":5449,"name":"\u5468\u4e3d\u98de"},{"id":1023,"key":1023,"name":"\u5468\u5b50\u5065"}]},{"key":"ReimbursementSearch[status]","name":"\u62a5\u9500\u72b6\u6001","value":[{"key":1,"name":"\u5ba1\u6279\u4e2d"},{"key":2,"name":"\u672a\u7ed3\u7b97"},{"key":3,"name":"\u7ed3\u7b97\u5b8c\u6210"},{"key":4,"name":"\u5df2\u62d2\u7edd"},{"key":5,"name":"\u7ea2\u5b57\u53cd\u51b2\u5ba1\u6838\u4e2d"},{"key":6,"name":"\u7ea2\u5b57\u53cd\u51b2"}]}]},"status":1,"msg":[{"name":"success","success":"\u62a5\u9500\u5ba1\u6279\u901a\u8fc7","error":""}]}', FALSE, '2025-08-30 20:14:16') RETURNING "id" |