09:26:27.035 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
09:26:27.035 | trace | yii\base\Module::getModule | Loading module: debug |
09:26:27.035 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
09:26:27.036 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
09:26:27.036 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
09:26:27.036 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.036 | trace | yii\base\Module::getModule | Loading module: gii |
09:26:27.036 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
09:26:27.036 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
09:26:27.036 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-other-collect-ticket/save-new' |
09:26:27.036 | trace | yii\base\Module::getModule | Loading module: vue |
09:26:27.037 | info | yii\web\Session::open | Session started |
09:26:27.037 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
09:26:27.037 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
09:26:27.041 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.042 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.042 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.042 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.042 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
09:26:27.044 | trace | yii\base\Controller::runAction | Route to run: vue/erp-other-collect-ticket/save-new |
09:26:27.044 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.045 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
09:26:27.045 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpOtherCollectTicketController::actionSaveNew() |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_id' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_name' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_type' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_search_id' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_search_name' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.046 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketVerifyRels' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'sales_contract_name' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'supplier_name' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'purchase_contract_name' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'user_name' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'contact_name' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'files' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketAmounts' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketBankOuts' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketApproveBorrowSettles' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketPayments' in 'app\models\ErpOtherCollectTickets'. |
09:26:27.046 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.047 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.047 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE ("created_at" >= '2025-09-12 00:00:00') AND ("created_at" <= '2025-09-12 23:59:59') AND ("serial_no" ILIKE '%QTYSD-20250912-%') AND (LENGTH(serial_no) = 20) ORDER BY "serial_no" DESC |
09:26:27.049 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE "serial_no"='QTYSD-20250912-00002') |
09:26:27.050 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='511') |
09:26:27.050 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='3617') |
09:26:27.051 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001') |
09:26:27.051 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
09:26:27.052 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_other_collect_tickets" ("handler", "ticket_type", "wrote_date", "serial_no", "abstract", "description", "client_id", "sales_contract_id", "supplier_id", "purchase_contract_id", "user_id", "contact_id", "verify_type", "created_by", "created_at", "status", "is_resubmitted", "is_start", "amount", "settle_amount", "paid_amount", "un_paid_amount") VALUES (1001, 2, 'now()', 'QTYSD-20250912-00002', '测试', '', NULL, NULL, 511, 3617, NULL, NULL, 2, 1001, 'now()', 1, FALSE, FALSE, '0', '0', '0', '0') RETURNING "id" |
09:26:27.054 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.054 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.054 | 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\ErpOtherCollectTickets', 28, 'a:35:{s:2:"id";i:28;s:9:"serial_no";s:20:"QTYSD-20250912-00002";s:10:"wrote_date";s:5:"now()";s:9:"from_date";N;s:11:"ticket_type";s:1:"2";s:7:"handler";s:4:"1001";s:7:"user_id";s:0:"";s:9:"client_id";s:0:"";s:17:"sales_contract_id";s:0:"";s:11:"supplier_id";s:3:"511";s:20:"purchase_contract_id";s:4:"3617";s:6:"status";i:1;s:8:"abstract";s:6:"测试";s:11:"description";s:0:"";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:8:"is_wages";N;s:9:"is_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;s:18:"erp_wage_ticket_id";N;s:25:"erp_wage_ticket_amount_id";N;s:10:"contact_id";s:0:"";s:8:"is_start";b:0;}', '', 1001, '114.246.237.213') |
09:26:27.055 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20037) AND ("object_id"=28) |
09:26:27.057 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE "erp_other_collect_ticket_id"=28 |
09:26:27.058 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.058 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.058 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" ("erp_other_collect_ticket_id", "user_id", "status") VALUES (28, 1001, 0) |
09:26:27.059 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_amounts" WHERE "erp_other_collect_ticket_id"=28 |
09:26:27.059 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.059 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.059 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_other_collect_ticket_amounts" ("erp_other_collect_ticket_id", "amount") VALUES (28, '24000') |
09:26:27.060 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" WHERE "erp_other_collect_ticket_id"=28 |
09:26:27.061 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.061 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.061 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" ("erp_other_collect_ticket_id", "erp_bank_id", "amount", "description") VALUES (28, 1, '24000', '') |
09:26:27.062 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_approve_borrow_settles" WHERE "erp_other_collect_ticket_id"=28 |
09:26:27.062 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.062 | 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_other_collect_ticket_approve_borrow_settles'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
09:26:27.068 | 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_other_collect_ticket_approve_borrow_settles'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
09:26:27.072 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.072 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
09:26:27.072 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_other_collect_ticket_approve_borrow_settles" ("erp_other_collect_ticket_id", "approve_id", "amount") VALUES (28, 2218, '24000') |
09:26:27.074 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_payments" WHERE "erp_other_collect_ticket_id"=28 |
09:26:27.075 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE ("status"=0) AND ("erp_other_collect_ticket_id"=28) ORDER BY "id" |
09:26:27.075 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_other_collect_tickets" SET "amount"='24000', "next_verify_user"=1001 WHERE "id"=28 |
09:26:27.076 | 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\ErpOtherCollectTickets', 28, 'a:1:{s:6:"amount";i:24000;}', '', 1001, '114.246.237.213') |
09:26:27.077 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE "id"=28 |
09:26:27.077 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_approve_borrow_settles" WHERE "erp_other_collect_ticket_id"=28 ORDER BY "id" |
09:26:27.078 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"=2218 |
09:26:27.078 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.078 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.079 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_other_collect_ticket_approve_borrow_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_other_collect_tickets" "t" ON r.erp_other_collect_ticket_id = t.id WHERE ("r"."approve_id"=2218) AND ("t"."status" IN (2, 5)) |
09:26:27.079 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "erp_borrow_settle_amount"='0', "erp_borrow_un_settle_amount"='24000' WHERE "id"=2218 |
09:26:27.080 | 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\Approves', 2218, 'a:0:{}', '', 1001, '114.246.237.213') |
09:26:27.081 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" WHERE "erp_other_collect_ticket_id"=28 ORDER BY "id" |
09:26:27.082 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1 |
09:26:27.082 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.082 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.082 | info | yii\db\Command::query | SELECT 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)) |
09:26:27.083 | info | yii\db\Command::query | SELECT 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)) |
09:26:27.084 | info | yii\db\Command::query | SELECT 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)) |
09:26:27.084 | info | yii\db\Command::query | SELECT 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) |
09:26:27.087 | info | yii\db\Command::query | SELECT 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) |
09:26:27.088 | info | yii\db\Command::query | SELECT 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)) |
09:26:27.089 | info | yii\db\Command::query | SELECT 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)) |
09:26:27.090 | info | yii\db\Command::query | SELECT 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) |
09:26:27.091 | info | yii\db\Command::query | SELECT 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)) |
09:26:27.092 | info | yii\db\Command::query | SELECT 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) |
09:26:27.093 | info | yii\db\Command::query | SELECT 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) |
09:26:27.094 | info | yii\db\Command::query | SELECT 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) |
09:26:27.094 | info | yii\db\Command::query | SELECT 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) |
09:26:27.095 | info | yii\db\Command::query | SELECT 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)) |
09:26:27.096 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_banks" SET "balance_amount"='164845.97' WHERE "id"=1 |
09:26:27.097 | 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\ErpBanks', 1, 'a:0:{}', '', 1001, '114.246.237.213') |
09:26:27.097 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1 |
09:26:27.098 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_account_captions" WHERE "id"=71 |
09:26:27.098 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.098 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.099 | info | yii\db\Command::execute | UPDATE "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 |
09:26:27.099 | 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\ErpAccountCaptions', 71, 'a:0:{}', '', 1001, '114.246.237.213') |
09:26:27.100 | 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\ErpBanks', 1, 'a:0:{}', '', 1001, '114.246.237.213') |
09:26:27.101 | info | yii\db\Command::query | SELECT 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_other_collect_ticket_id"=28) AND ("t"."status" IN (2, 5)) |
09:26:27.102 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_collect_ticket_settles" "r" LEFT JOIN "a57be577deb434"."tbl_erp_collect_tickets" "t" ON r.erp_collect_ticket_id = t.id WHERE ("r"."erp_other_collect_ticket_id"=28) AND ("t"."status" IN (2, 5)) |
09:26:27.103 | info | yii\db\Command::query | SELECT SUM(r.amount) FROM "a57be577deb434"."tbl_erp_wage_ticket_amount_payments" "r" LEFT JOIN "a57be577deb434"."tbl_erp_wage_tickets" "t" ON r.erp_wage_ticket_id = t.id WHERE ("r"."erp_other_collect_ticket_id"=28) AND ("t"."status" IN (2, 5)) |
09:26:27.104 | 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\ErpOtherCollectTickets', 28, 'a:0:{}', '', 1001, '114.246.237.213') |
09:26:27.105 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_payments" WHERE "erp_other_collect_ticket_id"=28 ORDER BY "id" |
09:26:27.105 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
09:26:27.106 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE ("status"=0) AND ("erp_other_collect_ticket_id"=28) ORDER BY "id" |
09:26:27.106 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE ("status"=0) AND ("erp_other_collect_ticket_id"=28) ORDER BY "id" |
09:26:27.107 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
09:26:27.107 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.107 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.107 | 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', 28, 20021, 1001, '2025-09-12 09:26:27', '{"id":28,"serial_no":"QTYSD-20250912-00002","wrote_date":"2025-09-12","from_date":null,"ticket_type":2,"handler":1001,"user_id":null,"client_id":null,"sales_contract_id":null,"supplier_id":511,"purchase_contract_id":3617,"status":1,"abstract":"\u6d4b\u8bd5","description":"","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":"24000","settle_amount":"0","created_by":1001,"stop_description":null,"is_wages":false,"is_settle":false,"created_at":"2025-09-12 09:26:27","updated_at":"2025-09-12 09:26:27","paid_amount":"0","un_paid_amount":"0","erp_wage_ticket_id":null,"erp_wage_ticket_amount_id":null,"contact_id":null,"is_start":false}', '{"id":28,"serial_no":"QTYSD-20250912-00002","wrote_date":"2025-09-12","from_date":null,"ticket_type":2,"handler":1001,"user_id":null,"client_id":null,"sales_contract_id":null,"supplier_id":511,"purchase_contract_id":3617,"status":1,"abstract":"\u6d4b\u8bd5","description":"","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":"24000","settle_amount":"0","created_by":1001,"stop_description":null,"is_wages":false,"is_settle":false,"created_at":"2025-09-12 09:26:27","updated_at":"2025-09-12 09:26:27","paid_amount":"0","un_paid_amount":"0","erp_wage_ticket_id":null,"erp_wage_ticket_amount_id":null,"contact_id":null,"is_start":false}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5176\u4ed6\u5e94\u6536\u5355\u7533\u8bf7","d4":[]}') RETURNING "id" |
09:26:27.109 | 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', 565164, 'a:13:{s:2:"id";i:565164;s:9:"object_id";i:28;s:11:"object_type";i:20021;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:742:"{"id":28,"serial_no":"QTYSD-20250912-00002","wrote_date":"2025-09-12","from_date":null,"ticket_type":2,"handler":1001,"user_id":null,"client_id":null,"sales_contract_id":null,"supplier_id":511,"purchase_contract_id":3617,"status":1,"abstract":"\u6d4b\u8bd5","description":"","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":"24000","settle_amount":"0","created_by":1001,"stop_description":null,"is_wages":false,"is_settle":false,"created_at":"2025-09-12 09:26:27","updated_at":"2025-09-12 09:26:27","paid_amount":"0","un_paid_amount":"0","erp_wage_ticket_id":null,"erp_wage_ticket_amount_id":null,"contact_id":null,"is_start":false}";s:9:"new_value";s:742:"{"id":28,"serial_no":"QTYSD-20250912-00002","wrote_date":"2025-09-12","from_date":null,"ticket_type":2,"handler":1001,"user_id":null,"client_id":null,"sales_contract_id":null,"supplier_id":511,"purchase_contract_id":3617,"status":1,"abstract":"\u6d4b\u8bd5","description":"","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":"24000","settle_amount":"0","created_by":1001,"stop_description":null,"is_wages":false,"is_settle":false,"created_at":"2025-09-12 09:26:27","updated_at":"2025-09-12 09:26:27","paid_amount":"0","un_paid_amount":"0","erp_wage_ticket_id":null,"erp_wage_ticket_amount_id":null,"contact_id":null,"is_start":false}";s:11:"description";s:111:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5176\u4ed6\u5e94\u6536\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-09-12 09:26:27";s:9:"is_delete";N;}', '', 1001, '114.246.237.213') |
09:26:27.109 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.110 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.110 | 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-12') |
09:26:27.113 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.113 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
09:26:27.113 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=68, "last_visit_at"='now()' WHERE "id"=56537 |
09:26:27.114 | 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-other-collect-ticket/save-new', '{"ErpOtherCollectTickets":{"id":"","auto_id":"511","auto_name":"\u5317\u4eac\u610f\u7545\u79d1\u6280\u80a1\u4efd\u6709\u9650\u516c\u53f8","auto_type":"supplier","auto_search_id":"3617","auto_search_name":"TSKJ20241022-HYF-001(2024-10-22)","handler":"1001","ticket_type":"2","wrote_date":"2025-09-12","serial_no":"QTYSD-20250912-00002","erpOtherCollectTicketVerifyRels":["1001"],"abstract":"\u6d4b\u8bd5","description":"","client_id":"","client_name":"","sales_contract_id":"","sales_contract_name":"","supplier_id":"511","supplier_name":"\u5317\u4eac\u610f\u7545\u79d1\u6280\u80a1\u4efd\u6709\u9650\u516c\u53f8","purchase_contract_id":"3617","purchase_contract_name":"TSKJ20241022-HYF-001(2024-10-22)","user_id":"","user_name":"","contact_id":"","contact_name":"","files":"","erpOtherCollectTicketAmounts":[{"id":"","amount":"24000","description":""}],"erpOtherCollectTicketBankOuts":[{"amount":"24000","id":"1","description":""}],"erpOtherCollectTicketApproveBorrowSettles":[{"id":"2218","amount":"24000"}],"erpOtherCollectTicketPayments":""},"web_access_token":"2BZqbE639wqIoHhgH0VfUgn-meZYtkbz"}', '{"code":2000,"result":{"id":28},"status":1,"msg":[{"name":"success","success":"\u65b0\u5176\u4ed6\u5e94\u6536\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-09-12 09:26:27') RETURNING "id" |
09:26:27.116 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
09:26:27.116 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |