Performance Profiling

Total processing time: 144 ms; Peak memory: 5.240 MB. Show Profiling Timeline

总计47条数据
TimeDurationCategoryInfo
  
22:38:54.30010.9 msyii\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\ErpPurchaseGifts', 24, 'a:32:{s:2:"id";i:24;s:9:"serial_no";s:18:"HZD-20260703-00001";s:9:"from_date";N;s:10:"wrote_date";s:10:"2026-07-03";s:7:"handler";s:4:"1001";s:9:"client_id";s:4:"2133";s:17:"sales_contract_id";s:0:"";s:11:"supplier_id";s:0:"";s:20:"purchase_contract_id";s:0:"";s:12:"erp_store_id";s:1:"1";s:6:"status";i:1;s:8:"abstract";s:12:"的孤独感";s:11:"description";N;s:11:"verify_type";s:1:"2";s:16:"next_verify_user";N;s:21:"next_stop_verify_user";N;s:9:"verify_at";N;s:7:"stop_at";N;s:9:"cancel_at";N;s:18:"refuse_description";N;s:14:"is_resubmitted";b:0;s:6:"number";N;s:6:"amount";N;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:10:"created_by";i:1001;s:16:"stop_description";N;s:7:"is_used";b:0;s:9:"is_settle";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"print_times";N;}', '', 1001, '111.194.208.14')
22:38:54.27210.2 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_gifts" ("handler", "wrote_date", "serial_no", "abstract", "description", "erp_store_id", "client_id", "sales_contract_id", "supplier_id", "purchase_contract_id", "verify_type", "created_by", "created_at", "status", "is_resubmitted", "is_used") VALUES (1001, '2026-07-03', 'HZD-20260703-00001', '的孤独感', NULL, 1, 2133, NULL, NULL, NULL, 2, 1001, 'now()', 1, FALSE, FALSE) RETURNING "id"
22:38:54.3759.9 msyii\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', 24, 20010, 1001, '2026-07-03 22:38:54', '{"id":24,"serial_no":"HZD-20260703-00001","from_date":null,"wrote_date":"2026-07-03","handler":1001,"client_id":2133,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"erp_store_id":1,"status":1,"abstract":"\u7684\u5b64\u72ec\u611f","description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1062","amount":"0","cancel_number":null,"cancel_amount":null,"created_by":1001,"stop_description":null,"is_used":false,"is_settle":false,"created_at":"2026-07-03 22:38:54","updated_at":"2026-07-03 22:38:54","print_times":null}', '{"id":24,"serial_no":"HZD-20260703-00001","from_date":null,"wrote_date":"2026-07-03","handler":1001,"client_id":2133,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"erp_store_id":1,"status":1,"abstract":"\u7684\u5b64\u72ec\u611f","description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1062","amount":"0","cancel_number":null,"cancel_amount":null,"created_by":1001,"stop_description":null,"is_used":false,"is_settle":false,"created_at":"2026-07-03 22:38:54","updated_at":"2026-07-03 22:38:54","print_times":null}', '{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u83b7\u8d60\u5355\u7533\u8bf7","d4":[]}') RETURNING "id"
22:38:54.2918.3 msyii\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_action_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
22:38:54.3198.0 msyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_erp_purchase_gift_verify_rels' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
22:38:54.3347.8 msyii\db\Command::queryselect ct.conname as constraint_name, a.attname as column_name, fc.relname as foreign_table_name, fns.nspname as foreign_table_schema, fa.attname as foreign_column_name from (SELECT ct.conname, ct.conrelid, ct.confrelid, ct.conkey, ct.contype, ct.confkey, generate_subscripts(ct.conkey, 1) AS s FROM pg_constraint ct ) AS ct inner join pg_class c on c.oid=ct.conrelid inner join pg_namespace ns on c.relnamespace=ns.oid inner join pg_attribute a on a.attrelid=ct.conrelid and a.attnum = ct.conkey[ct.s] left join pg_class fc on fc.oid=ct.confrelid left join pg_namespace fns on fc.relnamespace=fns.oid left join pg_attribute fa on fa.attrelid=ct.confrelid and fa.attnum = ct.confkey[ct.s] where ct.contype='f' and c.relname='tbl_erp_purchase_gift_products' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
22:38:54.3667.6 msyii\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_object_change_logs' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
22:38:54.2846.4 msyii\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_action_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
22:38:54.3615.2 msyii\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_object_change_logs' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
22:38:54.3113.6 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20016) AND ("object_id"=24)
22:38:54.3303.2 msyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_erp_purchase_gift_products' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
22:38:54.3163.0 msyii\db\Command::querySELECT d.nspname AS table_schema, c.relname AS table_name, a.attname AS column_name, t.typname AS data_type, a.attlen AS character_maximum_length, pg_catalog.col_description(c.oid, a.attnum) AS column_comment, a.atttypmod AS modifier, a.attnotnull = false AS is_nullable, CAST(pg_get_expr(ad.adbin, ad.adrelid) AS varchar) AS column_default, coalesce(pg_get_expr(ad.adbin, ad.adrelid) ~ 'nextval',false) AS is_autoinc, array_to_string((select array_agg(enumlabel) from pg_enum where enumtypid=a.atttypid)::varchar[],',') as enum_values, CASE atttypid WHEN 21 /*int2*/ THEN 16 WHEN 23 /*int4*/ THEN 32 WHEN 20 /*int8*/ THEN 64 WHEN 1700 /*numeric*/ THEN CASE WHEN atttypmod = -1 THEN null ELSE ((atttypmod - 4) >> 16) & 65535 END WHEN 700 /*float4*/ THEN 24 /*FLT_MANT_DIG*/ WHEN 701 /*float8*/ THEN 53 /*DBL_MANT_DIG*/ ELSE null END AS numeric_precision, CASE WHEN atttypid IN (21, 23, 20) THEN 0 WHEN atttypid IN (1700) THEN CASE WHEN atttypmod = -1 THEN null ELSE (atttypmod - 4) & 65535 END ELSE null END AS numeric_scale, CAST( information_schema._pg_char_max_length(information_schema._pg_truetypid(a, t), information_schema._pg_truetypmod(a, t)) AS numeric ) AS size, a.attnum = any (ct.conkey) as is_pkey FROM pg_class c LEFT JOIN pg_attribute a ON a.attrelid = c.oid LEFT JOIN pg_attrdef ad ON a.attrelid = ad.adrelid AND a.attnum = ad.adnum LEFT JOIN pg_type t ON a.atttypid = t.oid LEFT JOIN pg_namespace d ON d.oid = c.relnamespace LEFT join pg_constraint ct on ct.conrelid=c.oid and ct.contype='p' WHERE a.attnum > 0 and t.typname != '' and c.relname = 'tbl_erp_purchase_gift_verify_rels' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
22:38:54.3282.3 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" ("erp_purchase_gift_id", "user_id", "status") VALUES (24, 1001, 0)
22:38:54.3431.8 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_gift_products" ("erp_purchase_gift_id", "erp_store_id", "product_id", "amount", "total_amount", "number", "description") VALUES (24, 1, 1558, '0', '0', '66', '') RETURNING "id"
22:38:54.3481.6 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_gift_products" ("erp_purchase_gift_id", "erp_store_id", "product_id", "amount", "total_amount", "number", "description") VALUES (24, 1, 867, '0', '0', '66', '') RETURNING "id"
22:38:54.2661.5 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE ("created_at" >= '2026-07-03 00:00:00') AND ("created_at" <= '2026-07-03 23:59:59') AND ("serial_no" ILIKE '%HZD-20260703-%') AND (LENGTH(serial_no) = 18) ORDER BY "serial_no" DESC
22:38:54.3881.0 msyii\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/save-new', '{"ErpPurchaseGifts":{"id":"","auto_id":"2133","auto_name":"\u5317\u4eac\u5e02\u4e2d\u4fdd\u7f51\u76fe\u79d1\u6280\u6709\u9650\u516c\u53f8","auto_type":"client","auto_search_id":"","auto_search_name":"","handler":"1001","handler_name":"","wrote_date":"2026-07-03","serial_no":"HZD-20260703-00001","erpPurchaseGiftVerifyRels":["1001"],"abstract":"\u7684\u5b64\u72ec\u611f","description":"","erp_store_id":"1","erp_store_name":"\u62d3\u5b9e\u4ed3\u5e93","client_id":"2133","client_name":"\u5317\u4eac\u5e02\u4e2d\u4fdd\u7f51\u76fe\u79d1\u6280\u6709\u9650\u516c\u53f8","sales_contract_id":"","sales_contract_name":"","supplier_id":"","supplier_name":"","purchase_contract_id":"","purchase_contract_name":"","erpPurchaseGiftProducts":{"new":[{"product_id":"1558","number":"66","amount":"0","total_amount":"0","erp_store_id":"1","description":"","sns":""},{"product_id":"868","number":"666","amount":"0","total_amount":"0","erp_store_id":"1","description":"","sns":""},{"product_id":"870","number":"66","amount":"0","total_amount":"0","erp_store_id":"1","description":"","sns":""},{"product_id":"867","number":"66","amount":"0","total_amount":"0","erp_store_id":"1","description":"","sns":""},{"product_id":"2231","number":"66","amount":"0","total_amount":"0","erp_store_id":"1","description":"","sns":""},{"product_id":"969","number":"66","amount":"0","total_amount":"0","erp_store_id":"1","description":"","sns":""},{"product_id":"989","number":"66","amount":"0","total_amount":"0","erp_store_id":"1","description":"","sns":""}]},"files":""}}', '{"code":2000,"result":{"id":24},"status":1,"msg":[{"name":"success","success":"\u65b0\u83b7\u8d60\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0,"ip":"111.194.208.14","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/149.0.0.0 Safari\/537.36"}', FALSE, '2026-07-03 22:38:54', 137061120) RETURNING "id"
22:38:54.2550.9 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
22:38:54.2570.7 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
22:38:54.3550.6 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_purchase_gifts" SET "amount"='0', "number"='1062', "next_verify_user"=1001 WHERE "id"=24
22:38:54.2700.5 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_stores" WHERE "id"='1')
22:38:54.3520.4 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_gift_products" ("erp_purchase_gift_id", "erp_store_id", "product_id", "amount", "total_amount", "number", "description") VALUES (24, 1, 969, '0', '0', '66', '') RETURNING "id"
22:38:54.3540.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=24) ORDER BY "id"
22:38:54.3470.4 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_gift_products" ("erp_purchase_gift_id", "erp_store_id", "product_id", "amount", "total_amount", "number", "description") VALUES (24, 1, 870, '0', '0', '66', '') RETURNING "id"
22:38:54.3510.4 msyii\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\ErpPurchaseGiftProducts', 30, 'a:19:{s:2:"id";i:30;s:20:"erp_purchase_gift_id";i:24;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";s:1:"1";s:10:"product_id";s:4:"2231";s:11:"description";s:0:"";s:6:"number";s:2:"66";s:8:"outbound";N;s:9:"inventory";N;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"lost_outbound";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:19:"cancel_total_amount";N;s:19:"sales_gift_outbound";N;s:26:"disassemble_spent_outbound";N;}', '', 1001, '111.194.208.14')
22:38:54.3500.4 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_gift_products" ("erp_purchase_gift_id", "erp_store_id", "product_id", "amount", "total_amount", "number", "description") VALUES (24, 1, 2231, '0', '0', '66', '') RETURNING "id"
22:38:54.3450.4 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_gift_products" ("erp_purchase_gift_id", "erp_store_id", "product_id", "amount", "total_amount", "number", "description") VALUES (24, 1, 868, '0', '0', '666', '') RETURNING "id"
22:38:54.3150.4 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE "erp_purchase_gift_id"=24
22:38:54.3460.4 msyii\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\ErpPurchaseGiftProducts', 27, 'a:19:{s:2:"id";i:27;s:20:"erp_purchase_gift_id";i:24;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";s:1:"1";s:10:"product_id";s:3:"868";s:11:"description";s:0:"";s:6:"number";s:3:"666";s:8:"outbound";N;s:9:"inventory";N;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"lost_outbound";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:19:"cancel_total_amount";N;s:19:"sales_gift_outbound";N;s:26:"disassemble_spent_outbound";N;}', '', 1001, '111.194.208.14')
22:38:54.3600.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
22:38:54.3570.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
22:38:54.3530.4 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_purchase_gift_products" ("erp_purchase_gift_id", "erp_store_id", "product_id", "amount", "total_amount", "number", "description") VALUES (24, 1, 989, '0', '0', '66', '') RETURNING "id"
22:38:54.2690.4 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2133')
22:38:54.2540.4 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
22:38:54.2690.4 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"='1001')
22:38:54.3450.3 msyii\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\ErpPurchaseGiftProducts', 26, 'a:19:{s:2:"id";i:26;s:20:"erp_purchase_gift_id";i:24;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";s:1:"1";s:10:"product_id";s:4:"1558";s:11:"description";s:0:"";s:6:"number";s:2:"66";s:8:"outbound";N;s:9:"inventory";N;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"lost_outbound";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:19:"cancel_total_amount";N;s:19:"sales_gift_outbound";N;s:26:"disassemble_spent_outbound";N;}', '', 1001, '111.194.208.14')
22:38:54.3500.3 msyii\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\ErpPurchaseGiftProducts', 29, 'a:19:{s:2:"id";i:29;s:20:"erp_purchase_gift_id";i:24;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";s:1:"1";s:10:"product_id";s:3:"867";s:11:"description";s:0:"";s:6:"number";s:2:"66";s:8:"outbound";N;s:9:"inventory";N;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"lost_outbound";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:19:"cancel_total_amount";N;s:19:"sales_gift_outbound";N;s:26:"disassemble_spent_outbound";N;}', '', 1001, '111.194.208.14')
22:38:54.2680.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "serial_no"='HZD-20260703-00001')
22:38:54.3850.3 msyii\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', 643145, 'a:13:{s:2:"id";i:643145;s:9:"object_id";i:24;s:11:"object_type";i:20010;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:677:"{"id":24,"serial_no":"HZD-20260703-00001","from_date":null,"wrote_date":"2026-07-03","handler":1001,"client_id":2133,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"erp_store_id":1,"status":1,"abstract":"\u7684\u5b64\u72ec\u611f","description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1062","amount":"0","cancel_number":null,"cancel_amount":null,"created_by":1001,"stop_description":null,"is_used":false,"is_settle":false,"created_at":"2026-07-03 22:38:54","updated_at":"2026-07-03 22:38:54","print_times":null}";s:9:"new_value";s:677:"{"id":24,"serial_no":"HZD-20260703-00001","from_date":null,"wrote_date":"2026-07-03","handler":1001,"client_id":2133,"sales_contract_id":null,"supplier_id":null,"purchase_contract_id":null,"erp_store_id":1,"status":1,"abstract":"\u7684\u5b64\u72ec\u611f","description":null,"verify_type":2,"next_verify_user":1001,"next_stop_verify_user":null,"verify_at":null,"stop_at":null,"cancel_at":null,"refuse_description":null,"is_resubmitted":false,"number":"1062","amount":"0","cancel_number":null,"cancel_amount":null,"created_by":1001,"stop_description":null,"is_used":false,"is_settle":false,"created_at":"2026-07-03 22:38:54","updated_at":"2026-07-03 22:38:54","print_times":null}";s:11:"description";s:99:"{"d1":"\u5218\u4eba\u8bda","d2":"\u521b\u5efa\u4e86","d3":"\u83b7\u8d60\u5355\u7533\u8bf7","d4":[]}";s:10:"created_by";i:1001;s:10:"created_at";s:19:"2026-07-03 22:38:54";s:9:"is_delete";N;}', '', 1001, '111.194.208.14')
22:38:54.2710.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
22:38:54.3520.3 msyii\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\ErpPurchaseGiftProducts', 31, 'a:19:{s:2:"id";i:31;s:20:"erp_purchase_gift_id";i:24;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";s:1:"1";s:10:"product_id";s:3:"969";s:11:"description";s:0:"";s:6:"number";s:2:"66";s:8:"outbound";N;s:9:"inventory";N;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"lost_outbound";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:19:"cancel_total_amount";N;s:19:"sales_gift_outbound";N;s:26:"disassemble_spent_outbound";N;}', '', 1001, '111.194.208.14')
22:38:54.3470.3 msyii\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\ErpPurchaseGiftProducts', 28, 'a:19:{s:2:"id";i:28;s:20:"erp_purchase_gift_id";i:24;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";s:1:"1";s:10:"product_id";s:3:"870";s:11:"description";s:0:"";s:6:"number";s:2:"66";s:8:"outbound";N;s:9:"inventory";N;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"lost_outbound";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:19:"cancel_total_amount";N;s:19:"sales_gift_outbound";N;s:26:"disassemble_spent_outbound";N;}', '', 1001, '111.194.208.14')
22:38:54.3580.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=24) ORDER BY "id"
22:38:54.3540.3 msyii\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\ErpPurchaseGiftProducts', 32, 'a:19:{s:2:"id";i:32;s:20:"erp_purchase_gift_id";i:24;s:29:"erp_purchase_order_product_id";N;s:12:"erp_store_id";s:1:"1";s:10:"product_id";s:3:"989";s:11:"description";s:0:"";s:6:"number";s:2:"66";s:8:"outbound";N;s:9:"inventory";N;s:6:"amount";s:1:"0";s:12:"total_amount";s:1:"0";s:13:"lost_outbound";N;s:20:"build_spent_outbound";N;s:14:"sales_outbound";N;s:13:"cancel_number";N;s:13:"cancel_amount";N;s:19:"cancel_total_amount";N;s:19:"sales_gift_outbound";N;s:26:"disassemble_spent_outbound";N;}', '', 1001, '111.194.208.14')
22:38:54.3560.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gifts" WHERE "id"=24
22:38:54.3560.3 msyii\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', 24, 'a:2:{s:6:"number";d:1062;s:6:"amount";i:0;}', '', 1001, '111.194.208.14')
22:38:54.3580.3 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_purchase_gift_verify_rels" WHERE ("status"=0) AND ("erp_purchase_gift_id"=24) ORDER BY "id"