21:19:54.394 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
21:19:54.394 | trace | yii\base\Module::getModule | Loading module: debug |
21:19:54.394 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
21:19:54.394 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
21:19:54.395 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
21:19:54.395 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.395 | trace | yii\base\Module::getModule | Loading module: gii |
21:19:54.395 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
21:19:54.395 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
21:19:54.395 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-other-collect-ticket/save-new' |
21:19:54.395 | trace | yii\base\Module::getModule | Loading module: vue |
21:19:54.395 | info | yii\web\Session::open | Session started |
21:19:54.396 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
21:19:54.396 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
21:19:54.400 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.400 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.401 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.401 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.401 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
21:19:54.403 | trace | yii\base\Controller::runAction | Route to run: vue/erp-other-collect-ticket/save-new |
21:19:54.403 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.404 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
21:19:54.404 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpOtherCollectTicketController::actionSaveNew() |
21:19:54.404 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.404 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_id' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.404 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_name' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.404 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_type' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.404 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_search_id' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.404 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'auto_search_name' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.404 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.405 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketVerifyRels' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'client_name' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'sales_contract_name' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'supplier_name' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'purchase_contract_name' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'user_name' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'contact_name' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'files' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketAmounts' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketBankOuts' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketApproveBorrowSettles' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpOtherCollectTicketPayments' in 'app\models\ErpOtherCollectTickets'. |
21:19:54.405 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.405 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.406 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE ("created_at" >= '2025-08-17 00:00:00') AND ("created_at" <= '2025-08-17 23:59:59') AND ("serial_no" ILIKE '%QTYSD-20250817-%') AND (LENGTH(serial_no) = 20) ORDER BY "serial_no" DESC |
21:19:54.408 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE "serial_no"='QTYSD-20250817-00003') |
21:19:54.408 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001') |
21:19:54.409 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
21:19:54.409 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_contacts" WHERE "id"='3649') |
21:19:54.410 | 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, 3, 'now()', 'QTYSD-20250817-00003', '', '', NULL, NULL, NULL, NULL, NULL, 3649, 1, 1001, 'now()', 1, FALSE, FALSE, '0', '0', '0', '0') RETURNING "id" |
21:19:54.413 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.413 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.413 | 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', 3, 'a:35:{s:2:"id";i:3;s:9:"serial_no";s:20:"QTYSD-20250817-00003";s:10:"wrote_date";s:5:"now()";s:9:"from_date";N;s:11:"ticket_type";s:1:"3";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:0:"";s:20:"purchase_contract_id";s:0:"";s:6:"status";i:1;s:8:"abstract";s:0:"";s:11:"description";s:0:"";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";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:4:"3649";s:8:"is_start";b:0;}', '', 1001, '114.254.228.198') |
21:19:54.415 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20037) AND ("object_id"=3) |
21:19:54.417 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE "erp_other_collect_ticket_id"=3 |
21:19:54.417 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.417 | 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_verify_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
21:19:54.421 | 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_verify_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
21:19:54.428 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.428 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
21:19:54.428 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" ("erp_other_collect_ticket_id", "user_id", "status") VALUES (3, 1001, 0) |
21:19:54.430 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_amounts" WHERE "erp_other_collect_ticket_id"=3 |
21:19:54.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.431 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.431 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_other_collect_ticket_amounts" ("erp_other_collect_ticket_id", "amount") VALUES (3, '22') |
21:19:54.433 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" WHERE "erp_other_collect_ticket_id"=3 |
21:19:54.433 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.433 | 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_bank_outs'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
21:19:54.436 | 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_bank_outs'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
21:19:54.442 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.442 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
21:19:54.442 | 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 (3, 1, '22', '') |
21:19:54.444 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_approve_borrow_settles" WHERE "erp_other_collect_ticket_id"=3 |
21:19:54.444 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_other_collect_ticket_payments" WHERE "erp_other_collect_ticket_id"=3 |
21:19:54.445 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE ("status"=0) AND ("erp_other_collect_ticket_id"=3) ORDER BY "id" |
21:19:54.445 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_other_collect_tickets" SET "amount"='22', "next_verify_user"=1001 WHERE "id"=3 |
21:19:54.446 | 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', 3, 'a:1:{s:6:"amount";i:22;}', '', 1001, '114.254.228.198') |
21:19:54.447 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_tickets" WHERE "id"=3 |
21:19:54.448 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_approve_borrow_settles" WHERE "erp_other_collect_ticket_id"=3 ORDER BY "id" |
21:19:54.448 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_bank_outs" WHERE "erp_other_collect_ticket_id"=3 ORDER BY "id" |
21:19:54.448 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1 |
21:19:54.449 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.449 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.449 | 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)) |
21:19:54.450 | 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)) |
21:19:54.451 | 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)) |
21:19:54.451 | 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) |
21:19:54.452 | 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) |
21:19:54.453 | 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)) |
21:19:54.454 | 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)) |
21:19:54.454 | 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) |
21:19:54.455 | 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)) |
21:19:54.456 | 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) |
21:19:54.457 | 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) |
21:19:54.458 | 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) |
21:19:54.458 | 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) |
21:19:54.459 | 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)) |
21:19:54.460 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_banks" SET "balance_amount"='2435183' WHERE "id"=1 |
21:19:54.461 | 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.254.228.198') |
21:19:54.462 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_banks" WHERE "id"=1 |
21:19:54.462 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_account_captions" WHERE "id"=71 |
21:19:54.462 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.463 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.463 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_account_captions" SET "created_at"='2025-08-11 19:05:28', "updated_at"='2025-08-11 19:42:11' WHERE "id"=71 |
21:19:54.464 | 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.254.228.198') |
21:19:54.465 | 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.254.228.198') |
21:19:54.465 | 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"=3) AND ("t"."status" IN (2, 5)) |
21:19:54.466 | 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"=3) AND ("t"."status" IN (2, 5)) |
21:19:54.467 | 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"=3) AND ("t"."status" IN (2, 5)) |
21:19:54.467 | 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', 3, 'a:0:{}', '', 1001, '114.254.228.198') |
21:19:54.468 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_payments" WHERE "erp_other_collect_ticket_id"=3 ORDER BY "id" |
21:19:54.469 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
21:19:54.469 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_other_collect_ticket_verify_rels" WHERE ("status"=0) AND ("erp_other_collect_ticket_id"=3) ORDER BY "id" |
21:19:54.469 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
21:19:54.470 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.470 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.470 | 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', 3, 20021, 1001, '2025-08-17 21:19:54', '{"id":3,"serial_no":"QTYSD-20250817-00003","wrote_date":"2025-08-17","from_date":null,"ticket_type":3,"handler":1001,"user_id":null,"client_id":null,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"status":1,"abstract":"","description":"","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":"22","settle_amount":"0","created_by":1001,"stop_description":null,"is_wages":false,"is_settle":false,"created_at":"2025-08-17 21:19:54","updated_at":"2025-08-17 21:19:54","paid_amount":"0","un_paid_amount":"0","erp_wage_ticket_id":null,"erp_wage_ticket_amount_id":null,"contact_id":3649,"is_start":false}', '{"id":3,"serial_no":"QTYSD-20250817-00003","wrote_date":"2025-08-17","from_date":null,"ticket_type":3,"handler":1001,"user_id":null,"client_id":null,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"status":1,"abstract":"","description":"","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":"22","settle_amount":"0","created_by":1001,"stop_description":null,"is_wages":false,"is_settle":false,"created_at":"2025-08-17 21:19:54","updated_at":"2025-08-17 21:19:54","paid_amount":"0","un_paid_amount":"0","erp_wage_ticket_id":null,"erp_wage_ticket_amount_id":null,"contact_id":3649,"is_start":false}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u5176\u4ed6\u5e94\u6536\u5355\u7533\u8bf7","d4":[]}') RETURNING "id" |
21:19:54.471 | 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', 553843, 'a:13:{s:2:"id";i:553843;s:9:"object_id";i:3;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:727:"{"id":3,"serial_no":"QTYSD-20250817-00003","wrote_date":"2025-08-17","from_date":null,"ticket_type":3,"handler":1001,"user_id":null,"client_id":null,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"status":1,"abstract":"","description":"","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":"22","settle_amount":"0","created_by":1001,"stop_description":null,"is_wages":false,"is_settle":false,"created_at":"2025-08-17 21:19:54","updated_at":"2025-08-17 21:19:54","paid_amount":"0","un_paid_amount":"0","erp_wage_ticket_id":null,"erp_wage_ticket_amount_id":null,"contact_id":3649,"is_start":false}";s:9:"new_value";s:727:"{"id":3,"serial_no":"QTYSD-20250817-00003","wrote_date":"2025-08-17","from_date":null,"ticket_type":3,"handler":1001,"user_id":null,"client_id":null,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"status":1,"abstract":"","description":"","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":"22","settle_amount":"0","created_by":1001,"stop_description":null,"is_wages":false,"is_settle":false,"created_at":"2025-08-17 21:19:54","updated_at":"2025-08-17 21:19:54","paid_amount":"0","un_paid_amount":"0","erp_wage_ticket_id":null,"erp_wage_ticket_amount_id":null,"contact_id":3649,"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-08-17 21:19:54";s:9:"is_delete";N;}', '', 1001, '114.254.228.198') |
21:19:54.472 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.472 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
21:19:54.473 | 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":"3649","auto_name":"\u59da\u96ea\u7eaf(\u5ba2\u6237\uff1a\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240)","auto_type":"contact","auto_search_id":"","auto_search_name":"","handler":"1001","ticket_type":"3","wrote_date":"2025-08-17","serial_no":"QTYSD-20250817-00003","erpOtherCollectTicketVerifyRels":["1001"],"abstract":"","description":"","client_id":"","client_name":"","sales_contract_id":"","sales_contract_name":"","supplier_id":"","supplier_name":"","purchase_contract_id":"","purchase_contract_name":"","user_id":"","user_name":"","contact_id":"3649","contact_name":"\u59da\u96ea\u7eaf(\u5ba2\u6237\uff1a\u4e2d\u56fd\u4fe1\u606f\u5b89\u5168\u7814\u7a76\u6240)","files":"","erpOtherCollectTicketAmounts":[{"id":"","amount":"22","description":""}],"erpOtherCollectTicketBankOuts":[{"amount":"22","id":"1","description":""}],"erpOtherCollectTicketApproveBorrowSettles":"","erpOtherCollectTicketPayments":""},"web_access_token":"BMGt48y3qPFgSCE_7v0QuJKVG4C78oer"}', '{"code":2000,"result":{"id":3},"status":1,"msg":[{"name":"success","success":"\u65b0\u5176\u4ed6\u5e94\u6536\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-08-17 21:19:54') RETURNING "id" |
21:19:54.474 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
21:19:54.474 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |