Log Messages

总计175条数据
TimeLevelCategoryMessage
 
21:27:41.604traceyii\base\Application::bootstrapBootstrap with yii\log\Dispatcher
21:27:41.604traceyii\base\Module::getModuleLoading module: debug
21:27:41.605traceyii\base\Application::bootstrapBootstrap with yii\debug\Module::bootstrap()
21:27:41.606traceyii\redis\Connection::openOpening redis DB connection: redis.server.local:6379, database=1
21:27:41.606traceyii\redis\Connection::executeCommandExecuting Redis Command: SELECT
21:27:41.608traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.609infotime tracing start1783171661609050880
21:27:41.609traceyii\web\UrlManager::parseRequestNo matching URL rules. Using default URL parsing logic.
21:27:41.609traceyii\web\Application::handleRequestRoute requested: 'vue/erp-sales-gift/verify'
21:27:41.609traceyii\base\Module::getModuleLoading module: vue
21:27:41.610infoyii\web\Session::openSession started
21:27:41.611infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=5064
21:27:41.611infoyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
21:27:41.613traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.613traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.614infoyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
21:27:41.615traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.616traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.616infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
21:27:41.617traceyii\base\Controller::runActionRoute to run: vue/erp-sales-gift/verify
21:27:41.617traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.619traceuranus\rbac\DbManager::checkAccessFromCacheChecking permission: viewErp
21:27:41.619traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: FinancialAudit
21:27:41.619traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: CommercialAttache
21:27:41.619traceuranus\rbac\DbManager::checkAccessFromCacheChecking role: Admin
21:27:41.619traceyii\base\InlineAction::runWithParamsRunning action: app\modules\vue\controllers\ErpSalesGiftController::actionVerify()
21:27:41.619infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gifts" WHERE "id"='132'
21:27:41.620traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.621traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.621infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gift_verify_rels" WHERE ("status"=0) AND ("erp_sales_gift_id"=132) ORDER BY "id"
21:27:41.622traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.622traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.622traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.624traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.625traceyii\db\Transaction::beginBegin transaction
21:27:41.626infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_gift_verify_rels" SET "status"=1, "description"='', "verify_at"='now()' WHERE "id"=542
21:27:41.626traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.626traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.627infoyii\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\ErpSalesGiftVerifyRels', 542, 'a:2:{s:6:"status";i:1;s:9:"verify_at";s:5:"now()";}', '', 1001, '111.194.208.14')
21:27:41.628infoyii\db\Command::querySELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_erp_sales_gift_verify_rels" WHERE ("status"=0) AND ("erp_sales_gift_id"=132) ORDER BY "id") "c"
21:27:41.629infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_gifts" SET "status"=2, "verify_at"='now()', "updated_at"='now()' WHERE "id"=132
21:27:41.629infoyii\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\ErpSalesGifts', 132, 'a:1:{s:9:"verify_at";s:5:"now()";}', '', 1001, '111.194.208.14')
21:27:41.630infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gifts" WHERE "id"=132
21:27:41.630infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
21:27:41.631infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gift_verify_rels" WHERE ("status"=0) AND ("erp_sales_gift_id"=132) ORDER BY "id"
21:27:41.631infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gift_carbon_copy_rels" WHERE "erp_sales_gift_id"=132
21:27:41.632traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.632infoyii\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_comments' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
21:27:41.639infoyii\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_comments' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
21:27:41.650traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.651traceyii\redis\Connection::executeCommandExecuting Redis Command: SET
21:27:41.651infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gifts" WHERE "id"=132
21:27:41.652infoyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
21:27:41.653infoyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_comments" ("created_by", "object_type", "object_id", "description", "is_system", "description2") VALUES (1001, '20011', 132, '刘人诚通过了这个审批', TRUE, 'ZSD-20260704-00001') RETURNING "id"
21:27:41.654infoyii\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', 221020, 'a:11:{s:2:"id";i:221020;s:9:"object_id";i:132;s:11:"object_type";s:5:"20011";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:"ZSD-20260704-00001";}', '', 1001, '111.194.208.14')
21:27:41.655infoyii\db\Command::querySELECT "channel_id" FROM "global"."tbl_logins" WHERE (0=1) AND ("id" != 1001) AND (channel_id IS NOT NULL)
21:27:41.656infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2133
21:27:41.657traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.657traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.658traceyii\redis\Connection::executeCommandExecuting Redis Command: INCR
21:27:41.659traceyii\redis\Connection::executeCommandExecuting Redis Command: HSET
21:27:41.659traceyii\redis\Connection::executeCommandExecuting Redis Command: LPUSH
21:27:41.659infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_sales_gifts" SET "next_verify_user"=NULL WHERE "id"=132
21:27:41.660infoyii\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\ErpSalesGifts', 132, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.660infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_sales_gift_id"=132
21:27:41.661traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.661traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.662infoyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_sales_gift_id"=132
21:27:41.662infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gift_spent_products" WHERE "erp_sales_gift_id"=132
21:27:41.663traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.663traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.664infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=474
21:27:41.664traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.665traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.665infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=481
21:27:41.666infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=470
21:27:41.666infoyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_inventory_product_spents" ("erp_sales_gift_id", "wrote_date", "erp_sales_gift_spent_product_id", "erp_inventory_product_id", "outbound", "amount", "total_amount", "sales_gift_outbound", "actual_amount", "actual_total_amount") VALUES (132, '2026-07-04', 195, 474, '2', '0', '0', '2', '2323', '4646'), (132, '2026-07-04', 196, 481, '2', '0', '0', '2', '0', '0'), (132, '2026-07-04', 197, 470, '4', '0', '0', '4', '45', '180')
21:27:41.668traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.669traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.669infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_products" SET "updated_at"='now()', "in_out_at"='now()' WHERE "id" IN (2269, 2269, 2261)
21:27:41.670infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=474
21:27:41.670infoyii\db\Command::querySELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=474
21:27:41.671infoyii\db\Command::querySELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=474
21:27:41.671infoyii\db\Command::querySELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=474
21:27:41.672infoyii\db\Command::querySELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=474
21:27:41.672infoyii\db\Command::querySELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=474
21:27:41.673infoyii\db\Command::querySELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=474
21:27:41.673infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "disassemble_spent_outbound"='0' WHERE "id"=474
21:27:41.674infoyii\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', 474, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.675infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE "id"=421
21:27:41.675traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.676traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.676infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_inbound_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "disassemble_spent_outbound"='0' WHERE "id"=421
21:27:41.676infoyii\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', 421, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.677traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.677traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.677infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_inbounds" SET "is_used"=TRUE WHERE "id"=206
21:27:41.678infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1
21:27:41.679infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1
21:27:41.680infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1
21:27:41.680infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1
21:27:41.682infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1
21:27:41.682infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type'
21:27:41.683traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.683traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.683infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point'
21:27:41.684infoyii\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', 474, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.684infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=481
21:27:41.685infoyii\db\Command::querySELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=481
21:27:41.685infoyii\db\Command::querySELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=481
21:27:41.686infoyii\db\Command::querySELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=481
21:27:41.686infoyii\db\Command::querySELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=481
21:27:41.687infoyii\db\Command::querySELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=481
21:27:41.687infoyii\db\Command::querySELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=481
21:27:41.688infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "disassemble_spent_outbound"='0' WHERE "id"=481
21:27:41.688infoyii\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', 481, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.689infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE 0=1
21:27:41.689infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE 0=1
21:27:41.690infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1
21:27:41.690infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1
21:27:41.690infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE "id"=20
21:27:41.691traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.691traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.691infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gift_products" SET "inventory"='0', "lost_outbound"='0', "build_spent_outbound"='0', "sales_outbound"='0', "disassemble_spent_outbound"='0' WHERE "id"=20
21:27:41.692infoyii\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', 20, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.692traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.693traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.693infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gifts" SET "is_used"=TRUE WHERE "id"=18
21:27:41.694infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1
21:27:41.694infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type'
21:27:41.694infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point'
21:27:41.695infoyii\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', 481, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.695infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_products" WHERE "id"=470
21:27:41.696infoyii\db\Command::querySELECT SUM(outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=470
21:27:41.696infoyii\db\Command::querySELECT SUM(lost_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=470
21:27:41.697infoyii\db\Command::querySELECT SUM(build_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=470
21:27:41.697infoyii\db\Command::querySELECT SUM(disassemble_spent_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=470
21:27:41.698infoyii\db\Command::querySELECT SUM(sales_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=470
21:27:41.698infoyii\db\Command::querySELECT SUM(sales_gift_outbound) FROM "a57be577deb434"."tbl_erp_inventory_product_spents" WHERE "erp_inventory_product_id"=470
21:27:41.699infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "inventory"='46', "lost_outbound"='0', "disassemble_spent_outbound"='0' WHERE "id"=470
21:27:41.699infoyii\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', 470, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.699infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_inbound_products" WHERE 0=1
21:27:41.700infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_start_products" WHERE "id"=49
21:27:41.700traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.701traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.701infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_start_products" SET "inventory"='46', "lost_outbound"='0', "disassemble_spent_outbound"='0' WHERE "id"=49
21:27:41.702infoyii\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\ErpInventoryStartProducts', 49, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.702traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.702traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.703infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_starts" SET "is_used"=TRUE WHERE "id"=32
21:27:41.703infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_build_products" WHERE 0=1
21:27:41.704infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_disassemble_products" WHERE 0=1
21:27:41.704infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_products" WHERE 0=1
21:27:41.705infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_inventory_overflow_products" WHERE 0=1
21:27:41.705infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_cost_type'
21:27:41.706infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_settings" WHERE "setting_key"='erp_decimal_point'
21:27:41.706infoyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_inventory_products" SET "actual_total_amount"='2070' WHERE "id"=470
21:27:41.707infoyii\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', 470, 'a:0:{}', '', 1001, '111.194.208.14')
21:27:41.708infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_sales_gifts" WHERE "id"=132
21:27:41.709traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.709traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.709infoyii\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, 20011, 'ZSD-20260704-00001', '2026-07-04', NULL, NULL, '0', 2133, NULL, NULL, NULL, 1001, '2026-07-04 21:27:29', '2026-07-04 21:27:41', 132, '2026-07-04 21:27:41.625677+08') RETURNING "id"
21:27:41.711infoyii\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', 2964, 'a:17:{s:2:"id";i:2964;s:9:"serial_no";s:18:"ZSD-20260704-00001";s:11:"ticket_type";i:20011;s:10:"wrote_date";s:10:"2026-07-04";s:6:"status";i:2;s:11:"supplier_id";N;s:9:"client_id";i:2133;s:8:"abstract";N;s:11:"description";N;s:9:"verify_at";s:29:"2026-07-04 21:27:41.625677+08";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-07-04 21:27:29";s:10:"updated_at";s:19:"2026-07-04 21:27:41";s:10:"contact_id";N;s:7:"user_id";N;s:6:"amount";s:1:"0";s:9:"object_id";i:132;}', '', 1001, '111.194.208.14')
21:27:41.711infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
21:27:41.712infoyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
21:27:41.713traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.713traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.713infoyii\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', 132, 20011, 1001, 'now()', '["\u5218\u4eba\u8bda"]', '[]', '{"d1":"\u5218\u4eba\u8bda","d2":"\u540c\u610f\u4e86","d3":"\u8d60\u9001\u5355\u7533\u8bf7","d4":""}')
21:27:41.714infoyii\db\Command::querySELECT "id" FROM "a57be577deb434"."tbl_unread_comments" WHERE ("object_type"=20011) AND ("object_id"=132) AND ("remind_user_id"=1001) AND ("is_read"=FALSE)
21:27:41.750traceyii\db\Transaction::commitCommit transaction
21:27:41.752traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.752traceyii\redis\Connection::executeCommandExecuting Redis Command: MGET
21:27:41.753infoyii\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-sales-gift/verify', '{"id":"132","description":"","web_access_token":"wx4hXh9V-DIrZeBjtGStxgwx5HvDWnxk"}', '{"code":2000,"result":"","status":1,"msg":[{"name":"success","success":"\u8d60\u9001\u5355\u5ba1\u6279\u901a\u8fc7","error":""}],"mod":0,"ip":"111.194.208.14","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:151.0) Gecko\/20100101 Firefox\/151.0"}', FALSE, '2026-07-04 21:27:41', 144173056) RETURNING "id"
21:27:41.756traceyii\redis\Connection::executeCommandExecuting Redis Command: GET
21:27:41.756traceyii\redis\Connection::executeCommandExecuting Redis Command: SET