Log Messages

总计142条数据
TimeLevelCategoryMessage
 
17:31:59.894traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
17:31:59.894traceyii\base\Module::getModuleLoading module: debug
17:31:59.895traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
17:31:59.895traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
17:31:59.896traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
17:31:59.896traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.897infotime tracing start1783416719897049856
17:31:59.897traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
17:31:59.897traceyii\web\Application::handleRequestRoute requested: 'vue/erp-purchase-gift/verify'
17:31:59.897traceyii\base\Module::getModuleLoading module: vue
17:31:59.898infoyii\web\Session::openSession started
17:31:59.899infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
17:31:59.900infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
17:31:59.901traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.902traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.902infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
17:31:59.904traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.904traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.904infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
17:31:59.905traceyii\base\Controller::runActionRoute to run: vue/erp-purchase-gift/verify
17:31:59.906traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.908traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: viewErp
17:31:59.908traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: StoreKeeper
17:31:59.908traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: FinancialAudit
17:31:59.908traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: CommercialAttache
17:31:59.908traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
17:31:59.908traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpPurchaseGiftController::actionVerify()
17:31:59.908infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"='27'
17:31:59.909traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.909traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.909infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=27) ORDER BY "id"
17:31:59.910traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.910traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.910traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.912traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.913traceyii\db\Transaction::beginBegin transaction
17:31:59.913infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=58
17:31:59.914traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.914traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.914infoyii\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\ErpPurchaseGiftVerifyRels', 58, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '114.244.130.20')
17:31:59.915infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=27) ORDER BY "id") "c"
17:31:59.916infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gifts" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=27
17:31:59.917infoyii\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\ErpPurchaseGifts', 27, 'a:1:{s:9:"verify_at";s:5:"now()";}', '', 1001, '114.244.130.20')
17:31:59.917infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=27
17:31:59.918infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
17:31:59.918infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=27) ORDER BY "id"
17:31:59.919infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_carbon_copy_rels" WHERE "erp_purchase_gift_id"=27
17:31:59.920traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.920traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.920infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=27
17:31:59.922infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
17:31:59.923infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20010', 27, '刘人诚通过了这个审批', TRUE, 'HZD-20260707-00001') RETURNING "id"
17:31:59.924infoyii\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', 221041, 'a:11:{s:2:"id";i:221041;s:9:"object_id";i:27;s:11:"object_type";s:5:"20010";s:6:"parent";N;s:11:"description";s:30:"刘人诚通过了这个审批";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:18:"HZD-20260707-00001";}', '', 1001, '114.244.130.20')
17:31:59.924infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL)
17:31:59.925infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_suppliers" WHERE "id"=431
17:31:59.926traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.926traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.926infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_purchase_contracts" WHERE "id"=4487
17:31:59.927traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.927traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.928traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
17:31:59.929traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
17:31:59.929traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
17:31:59.929infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gifts" SET "next_verify_user"=NULL WHERE "id"=27
17:31:59.930infoyii\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\ErpPurchaseGifts', 27, 'a:0:{}', '', 1001, '114.244.130.20')
17:31:59.930infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE "erp_purchase_gift_id"=27
17:31:59.931traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.931traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.931infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "erp_purchase_gift_product_id"=42
17:31:59.932traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.932traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.933infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_inventory_products" ("erp_purchase_gift_product_id", "erp_purchase_gift_id", "product_id", "erp_store_id", "amount", "inventory", "number", "total_amount", "wrote_date", "created_at") VALUES (42, 27, 2265, 1, '0', '10', '10', '0', '2026-07-07', 'now()') RETURNING "id"
17:31:59.938infoyii\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\ErpInventoryProducts', 537, 'a:35:{s:2:"id";i:537;s:10:"product_id";i:2265;s:23:"erp_purchase_inbound_id";N;s:21:"erp_purchase_order_id";N;s:31:"erp_purchase_inbound_product_id";N;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";i:1;s:10:"wrote_date";s:10:"2026-07-07";s:6:"number";d:10;s:8:"outbound";N;s:9:"inventory";d:10;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"actual_amount";N;s:19:"actual_total_amount";N;s:8:"is_build";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:13:"lost_outbound";N;s:22:"erp_inventory_start_id";N;s:30:"erp_inventory_start_product_id";N;s:22:"erp_inventory_build_id";N;s:30:"erp_inventory_build_product_id";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:20:"erp_purchase_gift_id";i:27;s:28:"erp_purchase_gift_product_id";i:42;s:19:"sales_gift_outbound";N;s:28:"erp_inventory_disassemble_id";N;s:36:"erp_inventory_disassemble_product_id";N;s:26:"disassemble_spent_outbound";N;s:25:"erp_inventory_overflow_id";N;s:33:"erp_inventory_overflow_product_id";N;s:25:"erp_inventory_transfer_id";N;s:33:"erp_inventory_transfer_product_id";N;s:23:"transfer_spent_outbound";N;}', '', 1001, '114.244.130.20')
17:31:59.939infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=537
17:31:59.940infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_product_sns" WHERE "erp_purchase_gift_product_id"=42
17:31:59.940traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.940traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.941infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE ("erp_inventory_product_id"=537) AND ("erp_purchase_gift_product_sn_id" NOT IN (17, 18, 19, 20))
17:31:59.942infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_sns" WHERE "erp_inventory_product_id"=537
17:31:59.942traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.943infoyii\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_inventory_product_sns' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:31:59.948infoyii\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_inventory_product_sns' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:31:59.972traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:31:59.973traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:31:59.973infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_inventory_product_sns" ("erp_inventory_product_id", "erp_purchase_gift_product_sn_id", "sn") VALUES (537, 17, '5345') RETURNING "id"
17:31:59.976infoyii\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\ErpInventoryProductSns', 101, 'a:31:{s:2:"id";i:101;s:24:"erp_inventory_product_id";i:537;s:23:"erp_purchase_inbound_id";N;s:34:"erp_purchase_inbound_product_sn_id";N;s:2:"sn";s:4:"5345";s:7:"is_used";N;s:11:"description";N;s:22:"erp_inventory_start_id";N;s:33:"erp_inventory_start_product_sn_id";N;s:22:"erp_inventory_build_id";N;s:33:"erp_inventory_build_product_sn_id";N;s:26:"used_erp_inventory_lost_id";N;s:27:"used_erp_inventory_build_id";N;s:37:"used_erp_inventory_lost_product_sn_id";N;s:44:"used_erp_inventory_build_spent_product_sn_id";N;s:26:"used_erp_sales_outbound_id";N;s:43:"used_erp_sales_outbound_spent_product_sn_id";N;s:31:"erp_purchase_gift_product_sn_id";i:17;s:20:"erp_purchase_gift_id";N;s:22:"used_erp_sales_gift_id";N;s:39:"used_erp_sales_gift_spent_product_sn_id";N;s:28:"erp_inventory_disassemble_id";N;s:39:"erp_inventory_disassemble_product_sn_id";N;s:33:"used_erp_inventory_disassemble_id";N;s:50:"used_erp_inventory_disassemble_spent_product_sn_id";N;s:36:"erp_inventory_overflow_product_sn_id";N;s:25:"erp_inventory_overflow_id";N;s:25:"erp_inventory_transfer_id";N;s:36:"erp_inventory_transfer_product_sn_id";N;s:30:"used_erp_inventory_transfer_id";N;s:47:"used_erp_inventory_transfer_spent_product_sn_id";N;}', '', 1001, '114.244.130.20')
17:31:59.977infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_inventory_product_sns" ("erp_inventory_product_id", "erp_purchase_gift_product_sn_id", "sn") VALUES (537, 18, '98789') RETURNING "id"
17:31:59.978infoyii\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\ErpInventoryProductSns', 102, 'a:31:{s:2:"id";i:102;s:24:"erp_inventory_product_id";i:537;s:23:"erp_purchase_inbound_id";N;s:34:"erp_purchase_inbound_product_sn_id";N;s:2:"sn";s:5:"98789";s:7:"is_used";N;s:11:"description";N;s:22:"erp_inventory_start_id";N;s:33:"erp_inventory_start_product_sn_id";N;s:22:"erp_inventory_build_id";N;s:33:"erp_inventory_build_product_sn_id";N;s:26:"used_erp_inventory_lost_id";N;s:27:"used_erp_inventory_build_id";N;s:37:"used_erp_inventory_lost_product_sn_id";N;s:44:"used_erp_inventory_build_spent_product_sn_id";N;s:26:"used_erp_sales_outbound_id";N;s:43:"used_erp_sales_outbound_spent_product_sn_id";N;s:31:"erp_purchase_gift_product_sn_id";i:18;s:20:"erp_purchase_gift_id";N;s:22:"used_erp_sales_gift_id";N;s:39:"used_erp_sales_gift_spent_product_sn_id";N;s:28:"erp_inventory_disassemble_id";N;s:39:"erp_inventory_disassemble_product_sn_id";N;s:33:"used_erp_inventory_disassemble_id";N;s:50:"used_erp_inventory_disassemble_spent_product_sn_id";N;s:36:"erp_inventory_overflow_product_sn_id";N;s:25:"erp_inventory_overflow_id";N;s:25:"erp_inventory_transfer_id";N;s:36:"erp_inventory_transfer_product_sn_id";N;s:30:"used_erp_inventory_transfer_id";N;s:47:"used_erp_inventory_transfer_spent_product_sn_id";N;}', '', 1001, '114.244.130.20')
17:31:59.978infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_inventory_product_sns" ("erp_inventory_product_id", "erp_purchase_gift_product_sn_id", "sn") VALUES (537, 19, '35345345') RETURNING "id"
17:31:59.979infoyii\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\ErpInventoryProductSns', 103, 'a:31:{s:2:"id";i:103;s:24:"erp_inventory_product_id";i:537;s:23:"erp_purchase_inbound_id";N;s:34:"erp_purchase_inbound_product_sn_id";N;s:2:"sn";s:8:"35345345";s:7:"is_used";N;s:11:"description";N;s:22:"erp_inventory_start_id";N;s:33:"erp_inventory_start_product_sn_id";N;s:22:"erp_inventory_build_id";N;s:33:"erp_inventory_build_product_sn_id";N;s:26:"used_erp_inventory_lost_id";N;s:27:"used_erp_inventory_build_id";N;s:37:"used_erp_inventory_lost_product_sn_id";N;s:44:"used_erp_inventory_build_spent_product_sn_id";N;s:26:"used_erp_sales_outbound_id";N;s:43:"used_erp_sales_outbound_spent_product_sn_id";N;s:31:"erp_purchase_gift_product_sn_id";i:19;s:20:"erp_purchase_gift_id";N;s:22:"used_erp_sales_gift_id";N;s:39:"used_erp_sales_gift_spent_product_sn_id";N;s:28:"erp_inventory_disassemble_id";N;s:39:"erp_inventory_disassemble_product_sn_id";N;s:33:"used_erp_inventory_disassemble_id";N;s:50:"used_erp_inventory_disassemble_spent_product_sn_id";N;s:36:"erp_inventory_overflow_product_sn_id";N;s:25:"erp_inventory_overflow_id";N;s:25:"erp_inventory_transfer_id";N;s:36:"erp_inventory_transfer_product_sn_id";N;s:30:"used_erp_inventory_transfer_id";N;s:47:"used_erp_inventory_transfer_spent_product_sn_id";N;}', '', 1001, '114.244.130.20')
17:31:59.980infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_inventory_product_sns" ("erp_inventory_product_id", "erp_purchase_gift_product_sn_id", "sn") VALUES (537, 20, '3534534') RETURNING "id"
17:31:59.981infoyii\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\ErpInventoryProductSns', 104, 'a:31:{s:2:"id";i:104;s:24:"erp_inventory_product_id";i:537;s:23:"erp_purchase_inbound_id";N;s:34:"erp_purchase_inbound_product_sn_id";N;s:2:"sn";s:7:"3534534";s:7:"is_used";N;s:11:"description";N;s:22:"erp_inventory_start_id";N;s:33:"erp_inventory_start_product_sn_id";N;s:22:"erp_inventory_build_id";N;s:33:"erp_inventory_build_product_sn_id";N;s:26:"used_erp_inventory_lost_id";N;s:27:"used_erp_inventory_build_id";N;s:37:"used_erp_inventory_lost_product_sn_id";N;s:44:"used_erp_inventory_build_spent_product_sn_id";N;s:26:"used_erp_sales_outbound_id";N;s:43:"used_erp_sales_outbound_spent_product_sn_id";N;s:31:"erp_purchase_gift_product_sn_id";i:20;s:20:"erp_purchase_gift_id";N;s:22:"used_erp_sales_gift_id";N;s:39:"used_erp_sales_gift_spent_product_sn_id";N;s:28:"erp_inventory_disassemble_id";N;s:39:"erp_inventory_disassemble_product_sn_id";N;s:33:"used_erp_inventory_disassemble_id";N;s:50:"used_erp_inventory_disassemble_spent_product_sn_id";N;s:36:"erp_inventory_overflow_product_sn_id";N;s:25:"erp_inventory_overflow_id";N;s:25:"erp_inventory_transfer_id";N;s:36:"erp_inventory_transfer_product_sn_id";N;s:30:"used_erp_inventory_transfer_id";N;s:47:"used_erp_inventory_transfer_spent_product_sn_id";N;}', '', 1001, '114.244.130.20')
17:31:59.981infoyii\db\Command::querySELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=537
17:31:59.983infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "outbound"='0', "inventory"='10' WHERE "id"=537
17:31:59.983infoyii\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', 537, 'a:0:{}', '', 1001, '114.244.130.20')
17:31:59.984infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type'
17:31:59.985traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:31:59.985infoyii\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_settings' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:31:59.989infoyii\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_settings' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:32:00.000traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:32:00.000traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:32:00.000infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point'
17:32:00.001infoyii\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', 537, 'a:0:{}', '', 1001, '114.244.130.20')
17:32:00.002infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gift_products" SET "outbound"='0', "inventory"='10' WHERE "id"=42
17:32:00.002infoyii\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\ErpPurchaseGiftProducts', 42, 'a:0:{}', '', 1001, '114.244.130.20')
17:32:00.003traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:32:00.003traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:32:00.003infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_products" SET "updated_at"='now()', "in_out_at"='now()' WHERE "id"=2265
17:32:00.004infoyii\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\ErpPurchaseGifts', 27, 'a:0:{}', '', 1001, '114.244.130.20')
17:32:00.005infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0', "number"='0', "actual_total_amount"='0' WHERE ("erp_purchase_gift_id"=27) AND ("erp_purchase_gift_product_id"<>42)
17:32:00.006infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=27
17:32:00.006traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:32:00.006infoyii\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_ticket_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:32:00.011infoyii\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_ticket_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:32:00.025traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:32:00.025traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:32:00.026infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_logs" ("status", "ticket_type", "serial_no", "wrote_date", "description", "abstract", "amount", "client_id", "supplier_id", "contact_id", "user_id", "created_by", "created_at", "updated_at", "object_id", "verify_at") VALUES (2, 20010, 'HZD-20260707-00001', '2026-07-07', '额', '测试', '0', NULL, 431, NULL, NULL, 1001, '2026-07-07 17:31:52', '2026-07-07 17:31:59', 27, '2026-07-07 17:31:59.913367+08') RETURNING "id"
17:32:00.033infoyii\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\ErpTicketChangeLogs', 2978, 'a:17:{s:2:"id";i:2978;s:9:"serial_no";s:18:"HZD-20260707-00001";s:11:"ticket_type";i:20010;s:10:"wrote_date";s:10:"2026-07-07";s:6:"status";i:2;s:11:"supplier_id";i:431;s:9:"client_id";N;s:8:"abstract";s:6:"测试";s:11:"description";s:3:"额";s:9:"verify_at";s:29:"2026-07-07 17:31:59.913367+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-07-07 17:31:52";s:10:"updated_at";s:19:"2026-07-07 17:31:59";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:1:"0";s:9:"object_id";i:27;}', '', 1001, '114.244.130.20')
17:32:00.034traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:32:00.034infoyii\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_ticket_change_log_handlers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:32:00.038infoyii\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_ticket_change_log_handlers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:32:00.050traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:32:00.050traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
17:32:00.051infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_ticket_change_log_handlers" ("erp_ticket_change_log_id", "user_id") VALUES (2978, 1001)
17:32:00.056infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
17:32:00.056infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
17:32:00.057traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:32:00.057traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:32:00.057infoyii\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 (6, 'status', 27, 20010, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u83b7\u8d60\u5355\u7533\u8bf7","d4":""}')
17:32:00.058infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20010) AND ("object_id"=27) AND ("remind_user_id"=1001) AND ("is_read"=FALSE)
17:32:00.080traceyii\db\Transaction::commitCommit transaction
17:32:00.082traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:32:00.083traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:32:00.083infoyii\db\Command::queryINSERT 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-gift/verify', '{"id":"27","description":"","web_access_token":"niM9Np1xaU2lIsoGJh5qM6IxT9naEHjn"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u83b7\u8d60\u5355\u5ba1\u6279\u901a\u8fc7","error":""}],"mod":0,"ip":"114.244.130.20","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-07 17:32:00', 186288128) RETURNING "id"
17:32:00.085traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:32:00.085traceyii\db\Transaction::beginBegin transaction
17:32:00.086infoyii\db\Command::querySELECT * FROM "global"."tbl_browser_ua_statistics" "b" WHERE "user_agent"='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko/20100101 Firefox/152.0'
17:32:00.087traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
17:32:00.087traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
17:32:00.087infoyii\db\Command::executeUPDATE "global"."tbl_browser_ua_statistics" SET "counter"=8300 WHERE "id"=298
17:32:00.088traceyii\db\Transaction::commitCommit transaction
17:32:00.089traceyii\redis\Connection::executeCommandExecuting Redis Command: SET