| 21:50:44.496 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 21:50:44.496 | trace | yii\base\Module::getModule | Loading module: debug |
| 21:50:44.497 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 21:50:44.504 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 21:50:44.505 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 21:50:44.509 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.516 | info | time tracing start | 1783173044516674048 |
| 21:50:44.516 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 21:50:44.516 | trace | yii\web\Application::handleRequest | Route requested: 'vue/erp-purchase-inbound/save-new' |
| 21:50:44.517 | trace | yii\base\Module::getModule | Loading module: vue |
| 21:50:44.518 | info | yii\web\Session::open | Session started |
| 21:50:44.520 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1001 |
| 21:50:44.520 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 21:50:44.539 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.546 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.553 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.560 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.567 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 21:50:44.581 | trace | yii\base\Controller::runAction | Route to run: vue/erp-purchase-inbound/save-new |
| 21:50:44.582 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.593 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
| 21:50:44.593 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\vue\controllers\ErpPurchaseInboundController::actionSaveNew() |
| 21:50:44.594 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\ErpPurchaseInbounds'. |
| 21:50:44.594 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.600 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.604 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'supplier_name' in 'app\models\ErpPurchaseInbounds'. |
| 21:50:44.604 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpPurchaseInboundVerifyRels' in 'app\models\ErpPurchaseInbounds'. |
| 21:50:44.604 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erp_store_name' in 'app\models\ErpPurchaseInbounds'. |
| 21:50:44.604 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpPurchaseInboundProducts' in 'app\models\ErpPurchaseInbounds'. |
| 21:50:44.604 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'erpPurchaseInboundProjects' in 'app\models\ErpPurchaseInbounds'. |
| 21:50:44.604 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'files' in 'app\models\ErpPurchaseInbounds'. |
| 21:50:44.604 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.606 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.607 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE ("created_at" >= '2026-07-04 00:00:00') AND ("created_at" <= '2026-07-04 23:59:59') AND ("serial_no" ILIKE '%CGRKD-20260704-%') AND (LENGTH(serial_no) = 20) ORDER BY "serial_no" DESC |
| 21:50:44.610 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE "serial_no"='CGRKD-20260704-00002') |
| 21:50:44.611 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_purchase_orders" WHERE "id"='2216') |
| 21:50:44.612 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001') |
| 21:50:44.613 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='431') |
| 21:50:44.613 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='4470') |
| 21:50:44.614 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"='1') |
| 21:50:44.615 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 21:50:44.615 | trace | yii\db\Transaction::begin | Begin transaction |
| 21:50:44.616 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_purchase_inbounds" ("supplier_id", "handler", "purchase_contract_id", "wrote_date", "serial_no", "abstract", "description", "erp_store_id", "erp_purchase_order_id", "status", "verify_type", "created_by", "created_at", "is_resubmitted", "is_used") VALUES (431, 1001, 4470, '2026-07-04', NULL, NULL, NULL, 1, 2216, 0, 2, 1001, 'now()', FALSE, FALSE) RETURNING "id" |
| 21:50:44.619 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.619 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.619 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ErpPurchaseInbounds', 217, 'a:31:{s:2:"id";i:217;s:9:"serial_no";N;s:9:"from_date";N;s:10:"wrote_date";s:10:"2026-07-04";s:7:"handler";s:4:"1001";s:21:"erp_purchase_order_id";s:4:"2216";s:11:"supplier_id";s:3:"431";s:20:"purchase_contract_id";s:4:"4470";s:12:"erp_store_id";s:1:"1";s:6:"status";s:1:"0";s:8:"abstract";N;s:11:"description";N;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:9:"cancel_at";N;s:18:"refuse_description";N;s:14:"is_resubmitted";b:0;s:6:"number";N;s:6:"amount";N;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:10:"created_by";i:1001;s:16:"stop_description";N;s:7:"is_used";b:0;s:9:"is_settle";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"print_times";N;}', '', 1001, '111.194.208.14') |
| 21:50:44.621 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20004) AND ("object_id"=217) |
| 21:50:44.624 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_purchase_inbound_verify_rels" WHERE "erp_purchase_inbound_id"=217 |
| 21:50:44.625 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.625 | 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_purchase_inbound_verify_rels'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 21:50:44.631 | 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_purchase_inbound_verify_rels'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 21:50:44.640 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.641 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 21:50:44.641 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_purchase_inbound_verify_rels" ("erp_purchase_inbound_id", "user_id", "status") VALUES (217, 1001, 0) |
| 21:50:44.643 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_erp_purchase_inbound_projects" WHERE "erp_purchase_inbound_id"=217 |
| 21:50:44.643 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.644 | 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_purchase_inbound_products'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 21:50:44.648 | 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_purchase_inbound_products'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 21:50:44.658 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.658 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 21:50:44.699 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_erp_purchase_inbound_products" ("erp_purchase_inbound_id", "erp_purchase_order_id", "erp_purchase_order_product_id", "erp_store_id", "product_id", "amount", "total_amount", "number", "description") VALUES (217, 2216, 436, 1, 2261, '230', '2530.00', '11', '') RETURNING "id" |
| 21:50:44.703 | 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\ErpPurchaseInboundProducts', 438, 'a:20:{s:2:"id";i:438;s:23:"erp_purchase_inbound_id";i:217;s:21:"erp_purchase_order_id";s:4:"2216";s:29:"erp_purchase_order_product_id";s:3:"436";s:12:"erp_store_id";s:1:"1";s:10:"product_id";s:4:"2261";s:11:"description";s:0:"";s:6:"number";s:2:"11";s:8:"outbound";N;s:9:"inventory";N;s:6:"amount";s:3:"230";s:12:"total_amount";s:7:"2530.00";s:13:"cancel_number";N;s:13:"cancel_amount";N;s:19:"cancel_total_amount";N;s:13:"lost_outbound";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:19:"sales_gift_outbound";N;s:26:"disassemble_spent_outbound";N;}', '', 1001, '111.194.208.14') |
| 21:50:44.704 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.704 | 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_purchase_inbound_product_sns'
and d.nspname = 'a57be577deb434'
ORDER BY
a.attnum; |
| 21:50:44.708 | 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_purchase_inbound_product_sns'
and ns.nspname='a57be577deb434'
order by
fns.nspname, fc.relname, a.attnum |
| 21:50:44.717 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.717 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |
| 21:50:44.717 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_erp_purchase_inbound_product_sns" ("erp_purchase_inbound_product_id", "sn") VALUES (438, '1231'), (438, '12311'), (438, '123111'), (438, '2221'), (438, '3331'), (438, '4441'), (438, '5551'), (438, '55552'), (438, '444234'), (438, '2234'), (438, '234234'), (438, '234改3') |
| 21:50:44.719 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_verify_rels" WHERE ("status"=0) AND ("erp_purchase_inbound_id"=217) ORDER BY "id" |
| 21:50:44.719 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_inbounds" SET "amount"='2530', "number"='11', "next_verify_user"=1001 WHERE "id"=217 |
| 21:50:44.720 | 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\ErpPurchaseInbounds', 217, 'a:2:{s:6:"number";d:11;s:6:"amount";d:2530;}', '', 1001, '111.194.208.14') |
| 21:50:44.721 | 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\ErpPurchaseInbounds', 217, 'a:0:{}', '', 1001, '111.194.208.14') |
| 21:50:44.722 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.722 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.722 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0', "number"='0', "actual_total_amount"='0' WHERE "erp_purchase_inbound_id"=217 |
| 21:50:44.723 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_orders" WHERE "id"='2216' |
| 21:50:44.724 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.724 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.725 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_order_products" WHERE "erp_purchase_order_id"=2216 |
| 21:50:44.725 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.725 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.725 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "erp_purchase_order_product_id"=436 |
| 21:50:44.726 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE "id"=217 |
| 21:50:44.727 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_return_products" WHERE "erp_purchase_inbound_product_id"=438 |
| 21:50:44.728 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_erp_purchase_order_products" SET "into_inventory"='0' WHERE "id"=436 |
| 21:50:44.728 | 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\ErpPurchaseOrderProducts', 436, 'a:0:{}', '', 1001, '111.194.208.14') |
| 21:50:44.729 | 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\ErpPurchaseOrders', 2216, 'a:0:{}', '', 1001, '111.194.208.14') |
| 21:50:44.729 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE "id"=217 |
| 21:50:44.730 | trace | yii\db\Transaction::commit | Commit transaction |
| 21:50:44.731 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.732 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 21:50:44.732 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-purchase-inbound/save-new', '{"ErpPurchaseInbounds":{"id":"","supplier_id":"431","supplier_name":"\u5317\u4eac\u60e0\u8054\u8baf\u901a\u4fe1\u606f\u6280\u672f\u670d\u52a1\u6709\u9650\u516c\u53f8","handler":"1001","purchase_contract_id":"4470","wrote_date":"2026-07-04","serial_no":"CGRKD-20260704-00002","erpPurchaseInboundVerifyRels":["1001"],"abstract":"","description":"","erp_store_id":"1","erp_store_name":"\u62d3\u5b9e\u4ed3\u5e93","erp_purchase_order_id":"2216","erpPurchaseInboundProducts":{"new":[{"product_id":"2261","number":"11","amount":"230","total_amount":"2530.00","erp_store_id":"1","description":"","erp_purchase_order_id":"2216","erp_purchase_order_product_id":"436","sns":{"new":[{"sn":"1231"},{"sn":"12311"},{"sn":"123111"},{"sn":"2221"},{"sn":"3331"},{"sn":"4441"},{"sn":"5551"},{"sn":"55552"},{"sn":"444234"},{"sn":"2234"},{"sn":"234234"},{"sn":"234\u65393"}]}}]},"status":"0","erpPurchaseInboundProjects":"","files":""}}', '{"code":2000,"result":{"id":217},"status":1,"msg":[{"name":"success","success":"\u65b0\u91c7\u8d2d\u5165\u5e93\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"111.194.208.14","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/149.0.0.0 Safari\/537.36"}', FALSE, '2026-07-04 21:50:44', 215704064) RETURNING "id" |
| 21:50:44.735 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 21:50:44.735 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |