Log Messages

总计131条数据
TimeLevelCategoryMessage
 
14:21:07.637traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
14:21:07.637traceyii\base\Module::getModuleLoading module: debug
14:21:07.637traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
14:21:07.638traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
14:21:07.638traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
14:21:07.638traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.638traceyii\base\Module::getModuleLoading module: gii
14:21:07.638traceyii\base\Application::bootstrapBootstrap with yii\gii\Module::bootstrap()
14:21:07.638traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
14:21:07.638traceyii\web\Application::handleRequestRoute requested: 'vue/erp-sales-outbound/make-sales-order'
14:21:07.638traceyii\base\Module::getModuleLoading module: vue
14:21:07.639infoyii\web\Session::openSession started
14:21:07.639infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
14:21:07.639infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
14:21:07.644traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.644traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.644traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.644traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.645infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
14:21:07.646traceyii\base\Controller::runActionRoute to run: vue/erp-sales-outbound/make-sales-order
14:21:07.647traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.647traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
14:21:07.648traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpSalesOutboundController::actionMakeSalesOrder()
14:21:07.648infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbounds" WHERE "id"='73'
14:21:07.648traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.649traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.649infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "id"=163
14:21:07.649traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.650infoyii\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_sales_outbound_products' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:21:07.655infoyii\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_sales_outbound_products' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:21:07.664traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.664traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:21:07.665infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_products" WHERE "erp_sales_outbound_product_id"=163
14:21:07.665traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.665traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.665infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_spent_product_sns" WHERE "erp_sales_outbound_spent_product_id"=216
14:21:07.666traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.666traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.666infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=226
14:21:07.667traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.667traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.667infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "id"=171
14:21:07.668traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.668traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.668infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbounds" WHERE "id"=87
14:21:07.668traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.669traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.669infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1
14:21:07.672infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1
14:21:07.673infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=1624
14:21:07.674traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.674traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.676traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.676traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.676traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.676infoyii\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_clients' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:21:07.681infoyii\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_clients' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:21:07.691traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.691traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:21:07.691infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
14:21:07.694infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_order_items" ("erp_sales_outbound_id", "client_id", "project_id", "product_id", "amount", "is_system", "sales_date", "supplier_id", "hardware_from", "software_from", "maintenance_from", "hardware_to", "software_to", "maintenance_to", "new_hardware_deadline", "new_software_deadline", "new_maintenance_deadline", "is_renew", "number", "is_merge", "need_sn", "sn", "created_by", "sales_rep", "updated_at") VALUES (73, 3286, 4014, 1624, '1289.9999295774', TRUE, '2025-12-18', 90, '2025-12-18', NULL, NULL, '2025-12-31', NULL, NULL, '2025-12-31', NULL, NULL, FALSE, 1, FALSE, TRUE, '556565656', 1001, 1001, 'now()') RETURNING "id"
14:21:07.702traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.702traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.702infoyii\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\SalesOrderItems', 13483, 'a:46:{s:2:"id";i:13483;s:14:"sales_order_id";N;s:10:"product_id";i:1624;s:6:"parent";N;s:2:"sn";s:9:"556565656";s:11:"supplier_id";i:90;s:5:"order";N;s:10:"created_by";i:1001;s:10:"created_at";N;s:10:"updated_at";s:19:"1970-01-01 08:00:00";s:2:"pn";N;s:12:"product_type";N;s:17:"product_component";N;s:13:"product_brand";N;s:13:"product_serie";N;s:12:"product_misc";N;s:13:"hardware_from";s:10:"2025-12-18";s:13:"software_from";s:0:"";s:16:"maintenance_from";s:0:"";s:11:"hardware_to";s:10:"2025-12-31";s:11:"software_to";s:0:"";s:14:"maintenance_to";s:0:"";s:21:"new_hardware_deadline";s:10:"2025-12-31";s:21:"new_software_deadline";s:0:"";s:24:"new_maintenance_deadline";s:0:"";s:9:"client_id";i:3286;s:10:"project_id";i:4014;s:9:"sales_rep";i:1001;s:10:"sales_date";s:10:"2025-12-18";s:11:"description";N;s:17:"software_reminded";N;s:17:"hardware_reminded";N;s:20:"maintenance_reminded";N;s:25:"software_advance_reminded";N;s:25:"hardware_advance_reminded";N;s:28:"maintenance_advance_reminded";N;s:9:"is_system";b:1;s:6:"amount";s:15:"1289.9999295774";s:4:"cost";N;s:8:"is_renew";b:0;s:28:"renew_to_sales_order_item_id";N;s:6:"number";i:1;s:8:"is_merge";b:0;s:7:"need_sn";b:1;s:21:"erp_sales_outbound_id";i:73;s:17:"erp_sales_gift_id";N;}', '', 1001, '223.72.15.22')
14:21:07.704traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.704infoyii\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_sales_order_item_remind_receivers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:21:07.707infoyii\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_sales_order_item_remind_receivers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:21:07.716traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.716traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:21:07.716infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_sales_order_item_remind_receivers" ("sales_order_item_id", "user_id") VALUES (13483, 1001) RETURNING "id"
14:21:07.723infoyii\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\SalesOrderItemRemindReceivers', 12212, 'a:3:{s:2:"id";i:12212;s:19:"sales_order_item_id";i:13483;s:7:"user_id";i:1001;}', '', 1001, '223.72.15.22')
14:21:07.724infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_order_items" WHERE "id"=13483
14:21:07.724traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.725traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.725infoyii\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', 13483, 34, 1001, '2025-12-18 14:21:07', '{"id":13483,"sales_order_id":null,"product_id":1624,"parent":null,"sn":"556565656","supplier_id":90,"order":0,"created_by":1001,"created_at":"2025-12-18 14:21:07","updated_at":"2025-12-18 14:21:07","pn":null,"product_type":null,"product_component":null,"product_brand":null,"product_serie":null,"product_misc":null,"hardware_from":"2025-12-18","software_from":null,"maintenance_from":null,"hardware_to":"2025-12-31","software_to":null,"maintenance_to":null,"new_hardware_deadline":"2025-12-31","new_software_deadline":null,"new_maintenance_deadline":null,"client_id":3286,"project_id":4014,"sales_rep":1001,"sales_date":"2025-12-18","description":null,"software_reminded":false,"hardware_reminded":false,"maintenance_reminded":false,"software_advance_reminded":false,"hardware_advance_reminded":false,"maintenance_advance_reminded":false,"is_system":true,"amount":"1289.9999295774","cost":null,"is_renew":false,"renew_to_sales_order_item_id":null,"number":1,"is_merge":false,"need_sn":true,"erp_sales_outbound_id":73,"erp_sales_gift_id":null}', '{"id":13483,"sales_order_id":null,"product_id":1624,"parent":null,"sn":"556565656","supplier_id":90,"order":0,"created_by":1001,"created_at":"2025-12-18 14:21:07","updated_at":"2025-12-18 14:21:07","pn":null,"product_type":null,"product_component":null,"product_brand":null,"product_serie":null,"product_misc":null,"hardware_from":"2025-12-18","software_from":null,"maintenance_from":null,"hardware_to":"2025-12-31","software_to":null,"maintenance_to":null,"new_hardware_deadline":"2025-12-31","new_software_deadline":null,"new_maintenance_deadline":null,"client_id":3286,"project_id":4014,"sales_rep":1001,"sales_date":"2025-12-18","description":null,"software_reminded":false,"hardware_reminded":false,"maintenance_reminded":false,"software_advance_reminded":false,"hardware_advance_reminded":false,"maintenance_advance_reminded":false,"is_system":true,"amount":"1289.9999295774","cost":null,"is_renew":false,"renew_to_sales_order_item_id":null,"number":1,"is_merge":false,"need_sn":true,"erp_sales_outbound_id":73,"erp_sales_gift_id":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":[]}') RETURNING "id"
14:21:07.731infoyii\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', 590903, 'a:13:{s:2:"id";i:590903;s:9:"object_id";i:13483;s:11:"object_type";i:34;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:1042:"{"id":13483,"sales_order_id":null,"product_id":1624,"parent":null,"sn":"556565656","supplier_id":90,"order":0,"created_by":1001,"created_at":"2025-12-18 14:21:07","updated_at":"2025-12-18 14:21:07","pn":null,"product_type":null,"product_component":null,"product_brand":null,"product_serie":null,"product_misc":null,"hardware_from":"2025-12-18","software_from":null,"maintenance_from":null,"hardware_to":"2025-12-31","software_to":null,"maintenance_to":null,"new_hardware_deadline":"2025-12-31","new_software_deadline":null,"new_maintenance_deadline":null,"client_id":3286,"project_id":4014,"sales_rep":1001,"sales_date":"2025-12-18","description":null,"software_reminded":false,"hardware_reminded":false,"maintenance_reminded":false,"software_advance_reminded":false,"hardware_advance_reminded":false,"maintenance_advance_reminded":false,"is_system":true,"amount":"1289.9999295774","cost":null,"is_renew":false,"renew_to_sales_order_item_id":null,"number":1,"is_merge":false,"need_sn":true,"erp_sales_outbound_id":73,"erp_sales_gift_id":null}";s:9:"new_value";s:1042:"{"id":13483,"sales_order_id":null,"product_id":1624,"parent":null,"sn":"556565656","supplier_id":90,"order":0,"created_by":1001,"created_at":"2025-12-18 14:21:07","updated_at":"2025-12-18 14:21:07","pn":null,"product_type":null,"product_component":null,"product_brand":null,"product_serie":null,"product_misc":null,"hardware_from":"2025-12-18","software_from":null,"maintenance_from":null,"hardware_to":"2025-12-31","software_to":null,"maintenance_to":null,"new_hardware_deadline":"2025-12-31","new_software_deadline":null,"new_maintenance_deadline":null,"client_id":3286,"project_id":4014,"sales_rep":1001,"sales_date":"2025-12-18","description":null,"software_reminded":false,"hardware_reminded":false,"maintenance_reminded":false,"software_advance_reminded":false,"hardware_advance_reminded":false,"maintenance_advance_reminded":false,"is_system":true,"amount":"1289.9999295774","cost":null,"is_renew":false,"renew_to_sales_order_item_id":null,"number":1,"is_merge":false,"need_sn":true,"erp_sales_outbound_id":73,"erp_sales_gift_id":null}";s:11:"description";s:93:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2025-12-18 14:21:07";s:9:"is_delete";N;}', '', 1001, '223.72.15.22')
14:21:07.732infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
14:21:07.757infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=3286
14:21:07.761infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=3286) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:21:07.782traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.782traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.782infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (3286, 1001, 'now()', NULL) RETURNING "id"
14:21:07.788infoyii\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\ClientAmChangeLogs', 187297, 'a:5:{s:2:"id";i:187297;s:9:"client_id";i:3286;s:9:"sales_rep";i:1001;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1001, '223.72.15.22')
14:21:07.789infoyii\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\Clients', 3286, 'a:0:{}', '', 1001, '223.72.15.22')
14:21:07.790infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_products" WHERE "id"=1624
14:21:07.790infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 3286, 10, 13483, 34, 1001, '[13483]', '[13483]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":["PAN-SOFTWARE-NGFW-CR"]}') RETURNING "id"
14:21:07.791infoyii\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', 590904, 'a:13:{s:2:"id";i:590904;s:9:"object_id";i:3286;s:11:"object_type";i:10;s:9:"target_id";i:13483;s:18:"target_object_type";i:34;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[13483]";s:9:"new_value";s:7:"[13483]";s:11:"description";s:115:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":["PAN-SOFTWARE-NGFW-CR"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '223.72.15.22')
14:21:07.792traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.792traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.792infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4014
14:21:07.794infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=4014
14:21:07.798infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4014) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:21:07.804traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.804infoyii\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_project_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:21:07.807infoyii\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_project_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:21:07.816traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.816traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:21:07.816infoyii\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\Projects', 4014, 'a:0:{}', '', 1001, '223.72.15.22')
14:21:07.817infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
14:21:07.818infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 4014, 1, 13483, 34, 1001, '[13483]', '[13483]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":["PAN-SOFTWARE-NGFW-CR"]}') RETURNING "id"
14:21:07.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\ObjectChangeLogs', 590905, 'a:13:{s:2:"id";i:590905;s:9:"object_id";i:4014;s:11:"object_type";i:1;s:9:"target_id";i:13483;s:18:"target_object_type";i:34;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[13483]";s:9:"new_value";s:7:"[13483]";s:11:"description";s:115:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":["PAN-SOFTWARE-NGFW-CR"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '223.72.15.22')
14:21:07.820infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (1, 'create', 90, 12, 13483, 34, 1001, '[13483]', '[13483]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":["PAN-SOFTWARE-NGFW-CR"]}') RETURNING "id"
14:21:07.821infoyii\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', 590906, 'a:13:{s:2:"id";i:590906;s:9:"object_id";i:90;s:11:"object_type";i:12;s:9:"target_id";i:13483;s:18:"target_object_type";i:34;s:3:"act";i:1;s:9:"attribute";s:6:"create";s:9:"old_value";s:7:"[13483]";s:9:"new_value";s:7:"[13483]";s:11:"description";s:115:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":["PAN-SOFTWARE-NGFW-CR"]}";s:10:"created_by";i:1001;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1001, '223.72.15.22')
14:21:07.821infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_outbound_products" WHERE "erp_sales_outbound_id"=73
14:21:07.822infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_order_items" WHERE "erp_sales_outbound_id"=73
14:21:07.824infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_outbounds" SET "is_sales_order_ready"=TRUE WHERE "id"=73
14:21:07.825infoyii\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\ErpSalesOutbounds', 73, 'a:0:{}', '', 1001, '223.72.15.22')
14:21:07.826infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4014
14:21:07.826infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"=4014
14:21:07.828infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_product_rels" WHERE "project_id"=4014 ORDER BY "id"
14:21:07.831traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.831infoyii\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_project_product_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
14:21:07.834infoyii\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_project_product_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
14:21:07.843traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.843traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
14:21:07.843traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.844traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.845infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_sales_order_items" WHERE ("project_id"=4014) AND (erp_sales_outbound_id is not null)
14:21:07.849infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=4014) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1
14:21:07.850infoyii\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\Projects', 4014, 'a:0:{}', '', 1001, '223.72.15.22')
14:21:07.851infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=3286
14:21:07.852infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (1, 'sales_outbound', 73, 20008, 1001, 'now()', '[]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u751f\u6210\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":[]}'), (1, 'sales_outbound', 4014, 1, 1001, 'now()', '[]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u751f\u6210\u4e86","d3":"\u9500\u552e\u8bb0\u5f55","d4":[]}')
14:21:07.853traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.853traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.853infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_visit_module_histories" WHERE ("user_id"=1001) AND ("object_type"=20000) AND ("visit_date"='2025-12-18')
14:21:07.857traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.857traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
14:21:07.857infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_visit_module_histories" SET "num"=791, "last_visit_at"='now()' WHERE "id"=59588
14:21:07.858infoyii\db\Command::queryINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1001, 5, 'vue/erp-sales-outbound/make-sales-order', '{"id":"73","items":{"163":{"is_merge":"0","hardware_from":"2025-12-18","hardware_to":"2025-12-31","software_from":"","software_to":"","maintenance_from":"","maintenance_to":""}}}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}],"mod":0,"ip":"223.72.15.22","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko\/20100101 Firefox\/146.0"}', FALSE, '2025-12-18 14:21:07') RETURNING "id"
14:21:07.860traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
14:21:07.860traceyii\redis\Connection::executeCommandExecuting Redis Command: SET