14:47:41.634 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
14:47:41.634 | trace | yii\base\Module::getModule | Loading module: debug |
14:47:41.634 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
14:47:41.635 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
14:47:41.635 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
14:47:41.635 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.635 | trace | yii\base\Module::getModule | Loading module: gii |
14:47:41.635 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
14:47:41.635 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
14:47:41.635 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-cash-cost-ticket/refuse' |
14:47:41.635 | trace | yii\base\Module::getModule | Loading module: vue |
14:47:41.636 | info | yii\web\Session::open | Session started |
14:47:41.636 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
14:47:41.636 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
14:47:41.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.647 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.648 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.648 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
14:47:41.650 | trace | yii\base\Controller::runAction | Route to run: vue/erp-cash-cost-ticket/refuse |
14:47:41.651 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.652 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking permission: viewErp |
14:47:41.652 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: StoreKeeper |
14:47:41.652 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: CommercialAttache |
14:47:41.652 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
14:47:41.652 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpCashCostTicketController::actionRefuse() |
14:47:41.653 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"='7394' |
14:47:41.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.654 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.655 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.656 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE ("status"=0) AND ("erp_cash_cost_ticket_id"=7394) ORDER BY "id" |
14:47:41.659 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.659 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.660 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" SET "status"=2, "description"='', "verify_at"='now()' WHERE "id"=19196 |
14:47:41.661 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.661 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.661 | 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', 19196, 'a:2:{s:6:"status";i:2;s:9:"verify_at";s:5:"now()";}', '', 1001, '114.244.128.96') |
14:47:41.663 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" SET "status"=3 WHERE ("erp_cash_cost_ticket_id"=7394) AND ("status"=0) |
14:47:41.665 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_cash_cost_tickets" SET "status"=4, "next_verify_user"=NULL, "verify_at"='now()', "updated_at"='now()' WHERE "id"=7394 |
14:47:41.666 | 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', 7394, 'a:3:{s:16:"next_verify_user";i:1001;s:6:"status";i:4;s:9:"verify_at";s:5:"now()";}', '', 1001, '114.244.128.96') |
14:47:41.667 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7394 |
14:47:41.668 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_sales_contract_settles" WHERE "erp_cash_cost_ticket_id"=7394 ORDER BY "id" |
14:47:41.668 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_purchase_contract_settles" WHERE "erp_cash_cost_ticket_id"=7394 ORDER BY "id" |
14:47:41.669 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" WHERE "erp_cash_cost_ticket_id"=7394 ORDER BY "id" |
14:47:41.669 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_approve_payment_settles" WHERE "erp_cash_cost_ticket_id"=7394 ORDER BY "id" |
14:47:41.670 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_carbon_copy_rels" WHERE "erp_cash_cost_ticket_id"=7394 |
14:47:41.670 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_verify_rels" WHERE "erp_cash_cost_ticket_id"=7394 ORDER BY "id" |
14:47:41.671 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.671 | 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; |
14:47:41.677 | 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 |
14:47:41.682 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.682 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
14:47:41.682 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_cash_cost_tickets" WHERE "id"=7394 |
14:47:41.683 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
14:47:41.684 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20018', 7394, '刘人诚拒绝了这个现金费用单申请', TRUE, 'XJFYD-20250827-00041') RETURNING "id" |
14:47:41.685 | 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', 191396, 'a:11:{s:2:"id";i:191396;s:9:"object_id";i:7394;s:11:"object_type";s:5:"20018";s:6:"parent";N;s:11:"description";s:45:"刘人诚拒绝了这个现金费用单申请";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-00041";}', '', 1001, '114.244.128.96') |
14:47:41.686 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.686 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.686 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (7394, '20018', 191396, 5252), (7394, '20018', 191396, 5085) |
14:47:41.687 | 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:47:41.688 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
14:47:41.689 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
14:47:41.689 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
14:47:41.689 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
14:47:41.689 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=5085 |
14:47:41.690 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2136 |
14:47:41.691 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.691 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.691 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: INCR |
14:47:41.691 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: HSET |
14:47:41.691 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: LPUSH |
14:47:41.691 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
14:47:41.692 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
14:47:41.692 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.692 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.692 | 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 (7, 'status', 7394, 20018, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u9a73\u56de\u4e86","d3":"\u73b0\u91d1\u8d39\u7528\u5355\u7533\u8bf7","d4":""}') |
14:47:41.693 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.693 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.694 | 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:47:41.697 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.697 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
14:47:41.698 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=192, "last_visit_at"='now()' WHERE "id"=56579 |
14:47:41.698 | 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/refuse', '{"id":"7394","description":"","web_access_token":"Y88xetVtOugxFkYQoFcH-2TFC5ckFtc8"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u73b0\u91d1\u8d39\u7528\u5355\u62d2\u7edd\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-09-16 14:47:41') RETURNING "id" |
14:47:41.700 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
14:47:41.700 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |