Performance Profiling

Total processing time: 67 ms; Peak memory: 5.022 MB. Show Profiling Timeline

总计24条数据
TimeDurationCategoryInfo
  
17:33:19.6455.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "object_type", "taxonomy_id", "in_amount", "value", "object_id", "extra_int") VALUES (18, 10, 386, '1', '', 1, 385)
17:33:19.6155.7 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\ErpCostConvertTickets', 1, 'a:26:{s:2:"id";i:1;s:9:"serial_no";s:21:"FYZSRD-20250812-00001";s:10:"wrote_date";s:10:"2025-08-12";s:9:"client_id";s:0:"";s:17:"sales_contract_id";s:0:"";s:11:"supplier_id";s:0:"";s:20:"purchase_contract_id";s:0:"";s:16:"reimbursement_id";N;s:6:"status";s:1:"0";s:8:"abstract";s:9:"反倒是";s:11:"description";s:0:"";s:11:"verify_type";s:1:"1";s:16:"next_verify_user";N;s:21:"next_stop_verify_user";N;s:9:"verify_at";N;s:7:"stop_at";N;s:18:"refuse_description";N;s:14:"is_resubmitted";b:0;s:6:"amount";i:0;s:13:"settle_amount";i:0;s:10:"created_by";i:1001;s:16:"stop_description";N;s:9:"is_settle";N;s:10:"created_at";s:19:"1970-01-01 08:00:00";s:10:"updated_at";N;s:11:"paid_amount";N;}', '', 1001, '114.254.2.139')
17:33:19.6075.5 msyii\db\Command::queryINSERT INTO "a57be577deb434"."tbl_erp_cost_convert_tickets" ("wrote_date", "serial_no", "abstract", "description", "client_id", "sales_contract_id", "supplier_id", "purchase_contract_id", "status", "verify_type", "created_by", "created_at", "is_resubmitted", "amount", "settle_amount") VALUES ('2025-08-12', 'FYZSRD-20250812-00001', '反倒是', '', NULL, NULL, NULL, NULL, 0, 1, 1001, 'now()', FALSE, '0', '0') RETURNING "id"
17:33:19.6254.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_cost_convert_ticket_handlers' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:33:19.6293.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_cost_convert_ticket_handlers' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:33:19.6413.4 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_term_taxonomy_relationships' and ns.nspname='a57be577deb434' order by fns.nspname, fc.relname, a.attnum
17:33:19.6392.6 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_term_taxonomy_relationships' and d.nspname = 'a57be577deb434' ORDER BY a.attnum;
17:33:19.5962.5 msyii\db\Command::querySELECT * FROM "global"."vw_user_login" WHERE "id"=1001
17:33:19.6362.2 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=1) AND ("term_id"=18) AND ("object_type"=10)
17:33:19.6332.2 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_erp_cost_convert_ticket_handlers" ("erp_cost_convert_ticket_id", "user_id", "amount", "pct") VALUES (1, 1001, '1', '100')
17:33:19.6212.0 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=20029) AND ("object_id"=1)
17:33:19.5942.0 msyii\db\Connection::openOpening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta
17:33:19.5991.6 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001
17:33:19.6561.1 msyii\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-cost-convert-ticket/save-new', '{"ErpCostConvertTickets":{"id":"","auto_id":"","auto_name":"","auto_type":"","auto_search_id":"","auto_search_name":"","wrote_date":"2025-08-12","serial_no":"FYZSRD-20250812-00001","abstract":"\u53cd\u5012\u662f","description":"","is_only_handler":"1","client_id":"","client_name":"","sales_contract_id":"","sales_contract_name":"","supplier_id":"","supplier_name":"","purchase_contract_id":"","purchase_contract_name":"","status":"0","files":"","erpCostConvertTicketVerifyRels":"","erpCostConvertTicketAmounts":[{"id":"386","amount":"1","description":"","parent_id":"385"}],"erpCostConvertTicketCollectAmounts":[{"id":"399","amount":"1","description":"","parent_id":"398"}],"erpCostConvertTicketHandlers":[{"user_id":"1001","amount":"1","pct":"100"}]},"web_access_token":"Hc6bcOPECvJmn-MxoPjAzgccBe0xyT-M"}', '{"code":2000,"result":{"id":1},"status":1,"msg":[{"name":"success","success":"\u65b0\u8d39\u7528\u8f6c\u5176\u4ed6\u6536\u5165\u5355\u5df2\u521b\u5efa\u6210\u529f","error":""}],"mod":0}', FALSE, '2025-08-12 17:33:19') RETURNING "id"
17:33:19.6041.1 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_cost_convert_tickets" WHERE ("created_at" >= '2025-08-12 00:00:00') AND ("created_at" <= '2025-08-12 23:59:59') AND ("serial_no" ILIKE '%FYZSRD-20250812-%') AND (LENGTH(serial_no) = 21) ORDER BY "serial_no" DESC
17:33:19.6231.0 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_erp_cost_convert_ticket_handlers" WHERE "erp_cost_convert_ticket_id"=1
17:33:19.6510.8 msyii\db\Command::executeINSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "out_amount", "value", "object_id", "extra_int") VALUES (20, 399, '1', '', 1, 398)
17:33:19.6530.8 msyii\db\Command::executeUPDATE "a57be577deb434"."tbl_erp_cost_convert_tickets" SET "amount"='1', "next_verify_user"=NULL WHERE "id"=1
17:33:19.6540.7 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\ErpCostConvertTickets', 1, 'a:0:{}', '', 1001, '114.254.2.139')
17:33:19.6060.7 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_erp_cost_convert_tickets" WHERE "serial_no"='FYZSRD-20250812-00001')
17:33:19.6530.4 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_cost_convert_ticket_verify_rels" WHERE ("status"=0) AND ("erp_cost_convert_ticket_id"=1) ORDER BY "id"
17:33:19.6070.3 msyii\db\Command::querySELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001)
17:33:19.6550.2 msyii\db\Command::querySELECT * FROM "a57be577deb434"."tbl_erp_cost_convert_tickets" WHERE "id"=1
17:33:19.6510.2 msyii\db\Command::executeDELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=1) AND ("term_id"=20)