Log Messages

总计219条数据
TimeLevelCategoryMessage
 
16:23:00.778traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
16:23:00.778traceyii\base\Module::getModuleLoading module: debug
16:23:00.778traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
16:23:00.778traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
16:23:00.778traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
16:23:00.779traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.779traceyii\base\Module::getModuleLoading module: gii
16:23:00.779traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
16:23:00.779traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
16:23:00.779traceyii\web\Application::handleRequestRoute requested: 'vue/purchase-contract/save-new-return'
16:23:00.779traceyii\base\Module::getModuleLoading module: vue
16:23:00.779infoyii\web\Session::openSession started
16:23:00.780infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
16:23:00.780infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
16:23:00.784traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.784traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.785traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.785traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.785infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:23:00.787traceyii\base\Controller::runActionRoute to run: vue/purchase-contract/save-new-return
16:23:00.787traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.788traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
16:23:00.788traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\PurchaseContractController::actionSaveNewReturn()
16:23:00.788infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"='4128'
16:23:00.789traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.789traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.789traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.790traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'supplier_name' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'from_date' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractScans' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractFileList' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpPurchaseReturnVerifyRels' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'original_amount' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'returns_amount' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'returns_number' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpPurchaseReturnProducts' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseContractPaymentCollectionRemindDates' in 'app\models\PurchaseContracts'.
16:23:00.791traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseContractPaymentCollectionRemindReceivers' in 'app\models\PurchaseContracts'.
16:23:00.791infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "serial_no"='TSKJ20250827-HYF-001' LIMIT 2
16:23:00.792infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='725')
16:23:00.793infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1011')
16:23:00.793infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1011)
16:23:00.793traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.793traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.793infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=104
16:23:00.794infoyii\db\Command::execute
16:23:00.794infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contracts" SET "supplier_id"=725, "contract_type"=1, "handler"=1011, "updated_at"='now()', "payment_collection_remind_ahead"='0 day' WHERE "id"=4128
16:23:00.796traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.796traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.796infoyii\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\PurchaseContracts', 4128, 'a:1:{s:31:"payment_collection_remind_ahead";s:5:"0 day";}', '', 1001, '114.246.237.213')
16:23:00.797infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='725'
16:23:00.798traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.798traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.798infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=108) AND ("object_id"=4128)
16:23:00.800traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.800traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.800infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=108) AND ("object_id"=4128)
16:23:00.803infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_attachement_relationships" ("object_type", "object_id", "attachment_id") VALUES (108, 4128, 27859)
16:23:00.804infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_receivers" WHERE "contract_id"=4128
16:23:00.805traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.805infoyii\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_purchase_contract_payment_collection_remind_receivers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:23:00.810infoyii\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_purchase_contract_payment_collection_remind_receivers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:23:00.814traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.814traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:23:00.814infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_receivers" ("contract_id", "user_id") VALUES (4128, 1011) RETURNING "id"
16:23:00.819infoyii\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\PurchaseContractPaymentCollectionRemindReceivers', 1479, 'a:3:{s:2:"id";i:1479;s:11:"contract_id";i:4128;s:7:"user_id";i:1011;}', '', 1001, '114.246.237.213')
16:23:00.820infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" WHERE "contract_id"=4128
16:23:00.821traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.821traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.821infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" WHERE "contract_id"=4128
16:23:00.823infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4128)
16:23:00.823infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_purchase_contract_payment_collection_remind_dates" ("contract_id", "remind_date", "amount", "pct", "reminded") VALUES (4128, '2025-08-27', '6700', 40.12, FALSE) RETURNING "id"
16:23:00.825infoyii\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\PurchaseContractPaymentCollectionRemindDates', 868, 'a:9:{s:2:"id";i:868;s:11:"contract_id";i:4128;s:11:"remind_date";s:10:"2025-08-27";s:8:"reminded";b:0;s:6:"amount";i:6700;s:11:"paid_amount";N;s:12:"overdue_days";N;s:6:"status";N;s:3:"pct";d:40.119999999999997;}', '', 1001, '114.246.237.213')
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'id' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.827traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'supplier_name' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contract_type' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'signed_at' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractScans' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'contractFileList' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpPurchaseReturnVerifyRels' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'original_amount' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'returns_amount' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'returns_number' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'erpPurchaseReturnProducts' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseContractPaymentCollectionRemindDates' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'purchaseContractPaymentCollectionRemindReceivers' in 'app\models\ErpPurchaseReturns'.
16:23:00.827traceyii\base\Model::onUnsafeAttributeFailed to set unsafe attribute 'payment_collection_remind_ahead' in 'app\models\ErpPurchaseReturns'.
16:23:00.827infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_returns" WHERE ("created_at" >= '2025-09-15 00:00:00') AND ("created_at" <= '2025-09-15 23:59:59') AND ("serial_no" LIKE '%CGTH-20250915-%') AND (LENGTH(serial_no) = 19) ORDER BY "serial_no" DESC
16:23:00.828infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_purchase_contracts" SET "is_verify"=TRUE WHERE "id"=4128
16:23:00.829infoyii\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\PurchaseContracts', 4128, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.830infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"='725'
16:23:00.830infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_returns" ("supplier_id", "handler", "serial_no", "from_date", "description", "purchase_contract_id", "verify_type", "created_by", "wrote_date", "created_at", "status") VALUES (725, 1011, 'CGTH-20250915-00001', NULL, '', 4128, 2, 1001, '2025-09-15', 'now()', 1) RETURNING "id"
16:23:00.834infoyii\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\ErpPurchaseReturns', 1, 'a:25:{s:2:"id";i:1;s:9:"serial_no";s:19:"CGTH-20250915-00001";s:9:"from_date";s:0:"";s:10:"wrote_date";s:10:"2025-09-15";s:7:"handler";s:4:"1011";s:11:"supplier_id";s:3:"725";s:20:"purchase_contract_id";i:4128;s:12:"erp_store_id";N;s:6:"status";i:1;s:8:"abstract";N;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";N;s:6:"number";N;s:6:"amount";N;s:10:"created_by";i:1001;s:16:"stop_description";N;s:9:"is_settle";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;}', '', 1001, '114.246.237.213')
16:23:00.835infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_purchase_return_verify_rels" WHERE "erp_purchase_return_id"=1
16:23:00.835traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.835infoyii\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_purchase_return_verify_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:23:00.838infoyii\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_purchase_return_verify_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:23:00.842traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.842traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:23:00.842infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_purchase_return_verify_rels" ("erp_purchase_return_id", "user_id", "status") VALUES (1, 1011, 0), (1, 1001, 0), (1, 1013, 0)
16:23:00.845traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.845infoyii\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_purchase_return_products' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
16:23:00.847infoyii\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_purchase_return_products' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
16:23:00.852traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.852traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
16:23:00.852infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_return_products" ("erp_purchase_return_id", "erp_purchase_inbound_product_id", "erp_inventory_start_product_id", "product_id", "amount", "total_amount", "number", "description") VALUES (1, 57, NULL, 2095, '100', '100', '1', '') RETURNING "id"
16:23:00.855infoyii\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\ErpPurchaseReturnProducts', 1, 'a:10:{s:2:"id";i:1;s:24:"erp_inventory_product_id";N;s:22:"erp_purchase_return_id";i:1;s:31:"erp_purchase_inbound_product_id";s:2:"57";s:10:"product_id";s:4:"2095";s:11:"description";s:0:"";s:6:"number";s:1:"1";s:6:"amount";s:3:"100";s:12:"total_amount";s:3:"100";s:30:"erp_inventory_start_product_id";s:0:"";}', '', 1001, '114.246.237.213')
16:23:00.856infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_return_verify_rels" WHERE ("status"=0) AND ("erp_purchase_return_id"=1) ORDER BY "id"
16:23:00.856infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_returns" SET "amount"='100', "number"='1', "next_verify_user"=1011 WHERE "id"=1
16:23:00.857infoyii\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\ErpPurchaseReturns', 1, 'a:1:{s:6:"amount";i:100;}', '', 1001, '114.246.237.213')
16:23:00.858infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_returns" WHERE "id"=1
16:23:00.858infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_return_products" WHERE "erp_purchase_return_id"=1
16:23:00.859infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "id"=57
16:23:00.859traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.859traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.859infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE "id"=34
16:23:00.860traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.860traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.860infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "erp_purchase_inbound_id"=34
16:23:00.860infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_return_products" WHERE "erp_purchase_inbound_product_id"=57
16:23:00.861infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_returns" WHERE "id"=1
16:23:00.861infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_product_sns" WHERE "erp_purchase_inbound_product_id"=57
16:23:00.862infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "cancel_number"='1', "cancel_amount"='100', "cancel_total_amount"='100' WHERE "id"=57
16:23:00.862infoyii\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\ErpPurchaseInboundProducts', 57, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.863infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_return_products" WHERE "erp_purchase_inbound_product_id"=58
16:23:00.863infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "cancel_number"='0', "cancel_amount"='0', "cancel_total_amount"='0' WHERE "id"=58
16:23:00.864infoyii\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\ErpPurchaseInboundProducts', 58, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.865infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "erp_purchase_inbound_id"=34
16:23:00.865infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "erp_purchase_inbound_product_id"=57
16:23:00.866infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "number"='99', "inventory"='99', "total_amount"='9900' WHERE "id"=104
16:23:00.867infoyii\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\ErpInventoryProducts', 104, 'a:1:{s:12:"total_amount";i:9900;}', '', 1001, '114.246.237.213')
16:23:00.868infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_product_sns" WHERE "erp_purchase_inbound_product_id"=57
16:23:00.868infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE ("erp_inventory_product_id"=104)
16:23:00.869infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "erp_inventory_product_id"=104
16:23:00.869infoyii\db\Command::querySELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=104
16:23:00.870infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='98' WHERE "id"=104
16:23:00.871infoyii\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\ErpInventoryProducts', 104, 'a:1:{s:9:"inventory";i:98;}', '', 1001, '114.246.237.213')
16:23:00.872infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type'
16:23:00.872traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.872traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.872infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point'
16:23:00.872infoyii\db\Command::querySELECT SUM(inventory) FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "product_id"=2095
16:23:00.873infoyii\db\Command::querySELECT SUM(inventory * amount) FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "product_id"=2095
16:23:00.873infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "actual_amount"='856.57' WHERE "product_id"=2095
16:23:00.874infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "actual_total_amount"=actual_amount * inventory WHERE "product_id"=2095
16:23:00.875infoyii\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\ErpInventoryProducts', 104, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.876infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "outbound"='1', "inventory"='98' WHERE "id"=57
16:23:00.876infoyii\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\ErpPurchaseInboundProducts', 57, 'a:2:{s:8:"outbound";s:1:"0";s:9:"inventory";i:98;}', '', 1001, '114.246.237.213')
16:23:00.877infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "erp_purchase_inbound_product_id"=58
16:23:00.878infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "number"='1', "inventory"='1', "total_amount"='6700' WHERE "id"=105
16:23:00.878infoyii\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\ErpInventoryProducts', 105, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.879infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_product_sns" WHERE "erp_purchase_inbound_product_id"=58
16:23:00.879infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE ("erp_inventory_product_id"=105)
16:23:00.880infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "erp_inventory_product_id"=105
16:23:00.880infoyii\db\Command::querySELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=105
16:23:00.880infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0' WHERE "id"=105
16:23:00.881infoyii\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\ErpInventoryProducts', 105, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.882infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type'
16:23:00.882infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point'
16:23:00.882infoyii\db\Command::querySELECT SUM(inventory) FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "product_id"=2100
16:23:00.883infoyii\db\Command::querySELECT SUM(inventory * amount) FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "product_id"=2100
16:23:00.883infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "actual_total_amount"=actual_amount * inventory WHERE "product_id"=2100
16:23:00.884infoyii\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\ErpInventoryProducts', 105, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.884infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "outbound"='1', "inventory"='0' WHERE "id"=58
16:23:00.885infoyii\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\ErpPurchaseInboundProducts', 58, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.886traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.886traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.886infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_products" SET "updated_at"='now()' WHERE "id" IN (2095, 2100)
16:23:00.887infoyii\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\ErpPurchaseInbounds', 34, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.888infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE ("erp_purchase_inbound_id"=34) AND ("erp_purchase_inbound_product_id" NOT IN (57, 58))
16:23:00.889infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_orders" WHERE "id"=2043
16:23:00.889traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.889traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.890infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_order_products" WHERE "erp_purchase_order_id"=2043
16:23:00.890traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.890traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.890infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "erp_purchase_order_product_id" IN (66, 65)
16:23:00.891infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE "id" IN (33, 34)
16:23:00.891infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_order_products" SET "into_inventory"='99' WHERE "id"=66
16:23:00.892infoyii\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\ErpPurchaseOrderProducts', 66, 'a:1:{s:14:"into_inventory";i:99;}', '', 1001, '114.246.237.213')
16:23:00.893infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_order_products" SET "into_inventory"='1' WHERE "id"=65
16:23:00.893infoyii\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\ErpPurchaseOrderProducts', 65, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.894infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_orders" SET "inventory_status"=FALSE WHERE "id"=2043
16:23:00.895infoyii\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\ErpPurchaseOrders', 2043, 'a:0:{}', '', 1001, '114.246.237.213')
16:23:00.896infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:23:00.896infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_return_verify_rels" WHERE ("status"=0) AND ("erp_purchase_return_id"=1) ORDER BY "id"
16:23:00.897infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_return_verify_rels" WHERE ("status"=0) AND ("erp_purchase_return_id"=1) ORDER BY "id"
16:23:00.897traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.897traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.897infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_returns" WHERE "id"=1
16:23:00.898infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
16:23:00.898infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20003', 1, '刘人诚 有一个采购退货单需要审批', TRUE, 'CGTH-20250915-00001') RETURNING "id"
16:23:00.899infoyii\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\Comments', 191373, 'a:11:{s:2:"id";i:191373;s:9:"object_id";i:1;s:11:"object_type";s:5:"20003";s:6:"parent";N;s:11:"description";s:46:"刘人诚 有一个采购退货单需要审批";s:10:"created_by";i:1001;s:10:"created_at";N;s:8:"reply_to";N;s:9:"is_system";b:1;s:8:"for_user";N;s:12:"description2";s:19:"CGTH-20250915-00001";}', '', 1001, '114.246.237.213')
16:23:00.900traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.900traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.900infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_unread_comments" ("object_id", "object_type", "comment_id", "remind_user_id") VALUES (1, '20003', 191373, 1011)
16:23:00.902infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE ("id"=1011) AND ("id" != 1001) AND (channel_id IS NOT NULL)
16:23:00.902infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:23:00.903traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
16:23:00.903traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
16:23:00.903traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
16:23:00.903infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=725
16:23:00.904traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
16:23:00.904traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
16:23:00.904traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
16:23:00.904infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
16:23:00.904traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.904traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.904infoyii\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', 1, 20003, 1001, '2025-09-15 16:23:00', '{"id":1,"serial_no":"CGTH-20250915-00001","from_date":null,"wrote_date":"2025-09-15","handler":1011,"supplier_id":725,"purchase_contract_id":4128,"erp_store_id":null,"status":1,"abstract":null,"description":"","verify_type":2,"next_verify_user":1011,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"100","created_by":1001,"stop_description":null,"is_settle":false,"created_at":"2025-09-15 16:23:00","updated_at":"2025-09-15 16:23:00"}', '{"id":1,"serial_no":"CGTH-20250915-00001","from_date":null,"wrote_date":"2025-09-15","handler":1011,"supplier_id":725,"purchase_contract_id":4128,"erp_store_id":null,"status":1,"abstract":null,"description":"","verify_type":2,"next_verify_user":1011,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"100","created_by":1001,"stop_description":null,"is_settle":false,"created_at":"2025-09-15 16:23:00","updated_at":"2025-09-15 16:23:00"}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u91c7\u8d2d\u9000\u8d27\u5355\u7533\u8bf7","d4":[]}') RETURNING "id"
16:23:00.906infoyii\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', 565455, 'a:13:{s:2:"id";i:565455;s:9:"object_id";i:1;s:11:"object_type";i:20003;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:518:"{"id":1,"serial_no":"CGTH-20250915-00001","from_date":null,"wrote_date":"2025-09-15","handler":1011,"supplier_id":725,"purchase_contract_id":4128,"erp_store_id":null,"status":1,"abstract":null,"description":"","verify_type":2,"next_verify_user":1011,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"100","created_by":1001,"stop_description":null,"is_settle":false,"created_at":"2025-09-15 16:23:00","updated_at":"2025-09-15 16:23:00"}";s:9:"new_value";s:518:"{"id":1,"serial_no":"CGTH-20250915-00001","from_date":null,"wrote_date":"2025-09-15","handler":1011,"supplier_id":725,"purchase_contract_id":4128,"erp_store_id":null,"status":1,"abstract":null,"description":"","verify_type":2,"next_verify_user":1011,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1","amount":"100","created_by":1001,"stop_description":null,"is_settle":false,"created_at":"2025-09-15 16:23:00","updated_at":"2025-09-15 16:23:00"}";s:11:"description";s:111:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u91c7\u8d2d\u9000\u8d27\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-09-15 16:23:00";s:9:"is_delete";N;}', '', 1001, '114.246.237.213')
16:23:00.906traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.906traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
16:23:00.907infoyii\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/purchase-contract/save-new-return', '{"ErpPurchaseReturns":{"id":"4128","supplier_id":"725","supplier_name":"\u5317\u4eac\u795e\u7801\u4fe1\u521b\u8f6f\u4ef6\u6709\u9650\u516c\u53f8","handler":"1011","contract_type":"1","serial_no":"TSKJ20250827-HYF-001","signed_at":"2025-08-27","from_date":"","description":"","contractScans":["27859"],"contractFileList":{"27859":"\u795e\u7801\u5408\u540c 8.27.pdf"},"erpPurchaseReturnVerifyRels":["1011","1001","1013"],"original_amount":"16700","returns_amount":"9900","returns_number":"99","erpPurchaseReturnProducts":{"new":[{"product_id":"2095","number":"1","amount":"100","total_amount":"100","description":"","erp_purchase_order_id":"2043","erp_purchase_inbound_product_id":"57","erp_inventory_start_product_id":"","erp_inventory_product_id":"104","sns":""}]},"purchaseContractPaymentCollectionRemindDates":[{"remind_date":"2025-08-27","amount":"6700","pct":"40.12"}],"purchaseContractPaymentCollectionRemindReceivers":["1011","5360"],"payment_collection_remind_ahead":""},"web_access_token":"S7OJrULURAq348jTGnVvRiAMpe10N7Zn"}', '{"code":2000,"result":{"id":1},"status":1,"msg":[{"name":"success","success":"\u65b0\u91c7\u8d2d\u9000\u8d27\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-09-15 16:23:00') RETURNING "id"
16:23:00.908traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
16:23:00.908traceyii\redis\Connection::executeCommandExecuting Redis Command: SET