Log Messages

总计131条数据
TimeLevelCategoryMessage
 
14:07:30.422traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:07:30.422traceyii\base\Module::getModuleLoading module: debug
14:07:30.423traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:07:30.423traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:07:30.423traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:07:30.423traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.423traceyii\base\Module::getModuleLoading module: gii
14:07:30.423traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:07:30.423traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:07:30.423traceyii\web\Application::handleRequestRoute requested: 'vue/erp-advance-payment-ticket/save-new'
14:07:30.423traceyii\base\Module::getModuleLoading module: vue
14:07:30.424infoyii\web\Session::openSession started
14:07:30.424infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
14:07:30.424infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:07:30.429traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.429traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.429traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.429traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.429infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:07:30.431traceyii\base\Controller::runActionRoute to run: vue/erp-advance-payment-ticket/save-new
14:07:30.431traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.432traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:07:30.432traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpAdvancePaymentTicketController::actionSaveNew()
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'auto_id' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'auto_name' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'auto_type' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.433traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpAdvancePaymentTicketVerifyRels' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'client_name' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'supplier_name' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'files' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpAdvancePaymentTicketBankOuts' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpAdvancePaymentTicketApprovePaymentSettles' in 'app\models\ErpAdvancePaymentTickets'.
14:07:30.433traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.434traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.435infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_tickets" WHERE ("created_at" >= '2025-09-19 00:00:00') AND ("created_at" <= '2025-09-19 23:59:59') AND ("serial_no" ILIKE '%YFKD-20250919-%') AND (LENGTH(serial_no) = 19) ORDER BY "serial_no" DESC
14:07:30.436infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_tickets" WHERE "serial_no"='YFKD-20250919-00001')
14:07:30.437infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='1661')
14:07:30.439infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001')
14:07:30.439infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
14:07:30.440infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_advance_payment_tickets" ("handler", "from_date", "serial_no", "abstract", "description", "client_id", "supplier_id", "verify_type", "created_by", "created_at", "wrote_date", "status", "is_resubmitted", "amount", "settle_amount", "paid_amount", "un_paid_amount") VALUES (1001, '2025-09-19', 'YFKD-20250919-00001', '放大放大', '范德萨范德萨', 1661, NULL, 2, 1001, 'now()', 'now()', 1, FALSE, '0', '0', '0', '0') RETURNING "id"
14:07:30.451traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.451infoyii\db\Command::querySELECT 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_action_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:07:30.457infoyii\db\Command::queryselect 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_action_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:07:30.461traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.461traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:07:30.461infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpAdvancePaymentTickets', 3, 'a:29:{s:2:"id";i:3;s:9:"serial_no";s:19:"YFKD-20250919-00001";s:10:"wrote_date";s:5:"now()";s:9:"from_date";s:10:"2025-09-19";s:7:"handler";s:4:"1001";s:9:"client_id";s:4:"1661";s:17:"sales_contract_id";N;s:11:"supplier_id";s:0:"";s:20:"purchase_contract_id";N;s:6:"status";i:1;s:8:"abstract";s:12:"放大放大";s:11:"description";s:18:"范德萨范德萨";s:11:"verify_type";s:1:"2";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";b:0;s:6:"amount";i:0;s:13:"settle_amount";i:0;s:10:"created_by";i:1001;s:16:"stop_description";N;s:9:"is_settle";N;s:17:"is_payment_settle";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"paid_amount";i:0;s:14:"un_paid_amount";i:0;}', '', 1001, '114.244.128.96')
14:07:30.469infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20033) AND ("object_id"=3)
14:07:30.471infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_verify_rels" WHERE "erp_advance_payment_ticket_id"=3
14:07:30.472traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.472infoyii\db\Command::querySELECT 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_advance_payment_ticket_verify_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:07:30.474infoyii\db\Command::queryselect 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_advance_payment_ticket_verify_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:07:30.478traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.478traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:07:30.478infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_advance_payment_ticket_verify_rels" ("erp_advance_payment_ticket_id", "user_id", "status") VALUES (3, 1001, 0)
14:07:30.481infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_bank_outs" WHERE "erp_advance_payment_ticket_id"=3
14:07:30.482traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.482infoyii\db\Command::querySELECT 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_advance_payment_ticket_bank_outs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:07:30.484infoyii\db\Command::queryselect 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_advance_payment_ticket_bank_outs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:07:30.488traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.488traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:07:30.488infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_advance_payment_ticket_bank_outs" ("erp_advance_payment_ticket_id", "erp_bank_id", "amount", "description") VALUES (3, 1, '300', '')
14:07:30.490infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_approve_payment_settles" WHERE "erp_advance_payment_ticket_id"=3
14:07:30.490infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_verify_rels" WHERE ("status"=0) AND ("erp_advance_payment_ticket_id"=3) ORDER BY "id"
14:07:30.491infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_advance_payment_tickets" SET "amount"='300', "next_verify_user"=1001 WHERE "id"=3
14:07:30.492infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpAdvancePaymentTickets', 3, 'a:1:{s:6:"amount";i:300;}', '', 1001, '114.244.128.96')
14:07:30.493infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_tickets" WHERE "id"=3
14:07:30.494infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_approve_payment_settles" WHERE "erp_advance_payment_ticket_id"=3 ORDER BY "id"
14:07:30.494infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_bank_outs" WHERE "erp_advance_payment_ticket_id"=3 ORDER BY "id"
14:07:30.494infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1
14:07:30.495traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.495infoyii\db\Command::querySELECT 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_banks' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:07:30.498infoyii\db\Command::queryselect 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_banks' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:07:30.502traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.502traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:07:30.503infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_income_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_income_tickets" "t" ON r.erp_other_income_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
14:07:30.516infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_bank_transfer_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_bank_transfer_tickets" "t" ON r.erp_bank_transfer_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
14:07:30.520infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_bank_transfer_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_bank_transfer_tickets" "t" ON r.erp_bank_transfer_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
14:07:30.523infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_cash_cost_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_cash_cost_tickets" "t" ON r.erp_cash_cost_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
14:07:30.536infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_advance_payment_tickets" "t" ON r.erp_advance_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
14:07:30.537infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_payment_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_payment_tickets" "t" ON r.erp_other_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
14:07:30.544infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_collect_tickets" "t" ON r.erp_other_collect_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
14:07:30.551infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
14:07:30.564infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_bank_ins" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
14:07:30.573infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_social_insurance_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_social_insurances" "t" ON r.erp_social_insurance_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
14:07:30.580infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_provident_fund_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_provident_funds" "t" ON r.erp_provident_fund_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
14:07:30.584infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_personal_tax_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_personal_taxs" "t" ON r.erp_personal_tax_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
14:07:30.588infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_prize_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_prizes" "t" ON r.erp_wage_prize_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5)) AND ("t"."is_payment_settle"=TRUE)
14:07:30.594infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_ticket_bank_outs" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_tickets" "t" ON r.erp_wage_ticket_id = t.id WHERE ("r"."erp_bank_id"=1) AND ("t"."status" IN (2, 5))
14:07:30.597infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_banks" SET "balance_amount"='8936.1999999995' WHERE "id"=1
14:07:30.599infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpBanks', 1, 'a:0:{}', '', 1001, '114.244.128.96')
14:07:30.599infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1
14:07:30.602infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_account_captions" WHERE "id"=71
14:07:30.604traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.605infoyii\db\Command::querySELECT 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_account_captions' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:07:30.608infoyii\db\Command::queryselect 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_account_captions' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:07:30.611traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.612traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:07:30.612infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_account_captions" SET "created_at"='2025-08-01 23:14:45', "updated_at"='2025-08-08 18:50:15' WHERE "id"=71
14:07:30.613infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpAccountCaptions', 71, 'a:0:{}', '', 1001, '114.244.128.96')
14:07:30.614infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpBanks', 1, 'a:0:{}', '', 1001, '114.244.128.96')
14:07:30.615infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_tickets" WHERE "id"=3
14:07:30.615infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_advance_payment_tickets" SET "settle_amount"='0' WHERE "id"=3
14:07:30.616infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpAdvancePaymentTickets', 3, 'a:0:{}', '', 1001, '114.244.128.96')
14:07:30.618infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_tickets" WHERE "id"=3
14:07:30.621infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_collect_ticket_payments" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_collect_tickets" "t" ON r.erp_other_collect_ticket_id = t.id WHERE ("r"."erp_advance_payment_ticket_id"=3) AND ("t"."status" IN (2, 5))
14:07:30.624infoyii\db\Command::querySELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_payment_ticket_payments" "r" LEFT JOIN "a57be577deb434"."tbl_erp_payment_tickets" "t" ON r.erp_payment_ticket_id = t.id WHERE ("r"."erp_advance_payment_ticket_id"=3) AND ("t"."status" IN (2, 5))
14:07:30.626infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_advance_payment_tickets" SET "paid_amount"='0', "un_paid_amount"='300' WHERE "id"=3
14:07:30.627infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\ErpAdvancePaymentTickets', 3, 'a:0:{}', '', 1001, '114.244.128.96')
14:07:30.628infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:07:30.628infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_verify_rels" WHERE ("status"=0) AND ("erp_advance_payment_ticket_id"=3) ORDER BY "id"
14:07:30.629infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_advance_payment_ticket_verify_rels" WHERE ("status"=0) AND ("erp_advance_payment_ticket_id"=3) ORDER BY "id"
14:07:30.629infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:07:30.630traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.636infoyii\db\Command::querySELECT 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;
14:07:30.647infoyii\db\Command::queryselect 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
14:07:30.652traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.652traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:07:30.652infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'create', 3, 20019, 1001, '2025-09-19 14:07:30', '{"id":3,"serial_no":"YFKD-20250919-00001","wrote_date":"2025-09-19","from_date":"2025-09-19","handler":1001,"client_id":1661,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"status":1,"abstract":"\u653e\u5927\u653e\u5927","description":"\u8303\u5fb7\u8428\u8303\u5fb7\u8428","verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"amount":"300","settle_amount":"0","created_by":1001,"stop_description":null,"is_settle":false,"is_payment_settle":false,"created_at":"2025-09-19 14:07:30","updated_at":"2025-09-19 14:07:30","paid_amount":"0","un_paid_amount":"0"}', '{"id":3,"serial_no":"YFKD-20250919-00001","wrote_date":"2025-09-19","from_date":"2025-09-19","handler":1001,"client_id":1661,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"status":1,"abstract":"\u653e\u5927\u653e\u5927","description":"\u8303\u5fb7\u8428\u8303\u5fb7\u8428","verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"amount":"300","settle_amount":"0","created_by":1001,"stop_description":null,"is_settle":false,"is_payment_settle":false,"created_at":"2025-09-19 14:07:30","updated_at":"2025-09-19 14:07:30","paid_amount":"0","un_paid_amount":"0"}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9884\u4ed8\u6b3e\u5355\u7533\u8bf7","d4":[]}') RETURNING "id"
14:07:30.673infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 570813, 'a:13:{s:2:"id";i:570813;s:9:"object_id";i:3;s:11:"object_type";i:20019;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:679:"{"id":3,"serial_no":"YFKD-20250919-00001","wrote_date":"2025-09-19","from_date":"2025-09-19","handler":1001,"client_id":1661,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"status":1,"abstract":"\u653e\u5927\u653e\u5927","description":"\u8303\u5fb7\u8428\u8303\u5fb7\u8428","verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"amount":"300","settle_amount":"0","created_by":1001,"stop_description":null,"is_settle":false,"is_payment_settle":false,"created_at":"2025-09-19 14:07:30","updated_at":"2025-09-19 14:07:30","paid_amount":"0","un_paid_amount":"0"}";s:9:"new_value";s:679:"{"id":3,"serial_no":"YFKD-20250919-00001","wrote_date":"2025-09-19","from_date":"2025-09-19","handler":1001,"client_id":1661,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"status":1,"abstract":"\u653e\u5927\u653e\u5927","description":"\u8303\u5fb7\u8428\u8303\u5fb7\u8428","verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"amount":"300","settle_amount":"0","created_by":1001,"stop_description":null,"is_settle":false,"is_payment_settle":false,"created_at":"2025-09-19 14:07:30","updated_at":"2025-09-19 14:07:30","paid_amount":"0","un_paid_amount":"0"}";s:11:"description";s:105:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9884\u4ed8\u6b3e\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-09-19 14:07:30";s:9:"is_delete";N;}', '', 1001, '114.244.128.96')
14:07:30.674traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.674traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.674infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=1001) AND ("object_type"=20000) AND ("visit_date"='2025-09-19')
14:07:30.678traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.678traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:07:30.679infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=283, "last_visit_at"='now()' WHERE "id"=56635
14:07:30.680infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-advance-payment-ticket/save-new', '{"ErpAdvancePaymentTickets":{"id":"","auto_id":"1661","auto_name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","auto_type":"client","handler":"1001","from_date":"2025-09-19","serial_no":"YFKD-20250919-00001","erpAdvancePaymentTicketVerifyRels":["1001"],"abstract":"\u653e\u5927\u653e\u5927","description":"\u8303\u5fb7\u8428\u8303\u5fb7\u8428","client_id":"1661","client_name":"\u5317\u4eac\u7f51\u4fe1\u5143\u79d1\u6280\u6709\u9650\u516c\u53f8","supplier_id":"","supplier_name":"","files":"","erpAdvancePaymentTicketBankOuts":[{"amount":"300","id":"1","description":""}],"erpAdvancePaymentTicketApprovePaymentSettles":""},"web_access_token":"sgI4qOfA9gwoazANDIjgG6SZXvcGye8K"}', '{"code":2000,"result":{"id":3},"status":1,"msg":[{"name":"success","success":"\u65b0\u9884\u4ed8\u6b3e\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-09-19 14:07:30') RETURNING "id"
14:07:30.681traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:07:30.681traceyii\redis\Connection::executeCommandExecuting Redis Command: SET