From a3a213667be208f8aefb2d27794bf9d4876b9395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=A6=E9=BA=9F=20=E7=8E=8B?= Date: Tue, 14 Apr 2026 15:06:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=B7=B1=E4=BA=A4=E6=89=80?= =?UTF-8?q?=E5=80=BA=E5=88=B8ETF=E4=BB=A3=E7=A0=81=E8=AF=86=E5=88=AB?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DocumentGenerator/TradeConfirmationGenerator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/YLErp.Plugins.GuoLian/DocumentGenerator/TradeConfirmationGenerator.cs b/Plugins/YLErp.Plugins.GuoLian/DocumentGenerator/TradeConfirmationGenerator.cs index a91257e4..8c143c02 100644 --- a/Plugins/YLErp.Plugins.GuoLian/DocumentGenerator/TradeConfirmationGenerator.cs +++ b/Plugins/YLErp.Plugins.GuoLian/DocumentGenerator/TradeConfirmationGenerator.cs @@ -80,7 +80,7 @@ namespace YLErp.Plugins.GuoLian.DocumentGenerator /// /// 判断是否为债券ETF /// - .SH后缀且511开头 -> 债券ETF - /// - .SZ后缀且59开头 -> 债券ETF + /// - .SZ后缀且159开头 -> 债券ETF /// - 其他 -> 现券 /// private bool IsBondEtf(string underlyingCode) @@ -95,7 +95,7 @@ namespace YLErp.Plugins.GuoLian.DocumentGenerator return true; // 深交所债券ETF:59开头.SZ后缀 - if (underlyingCode.EndsWith(".SZ") && underlyingCode.StartsWith("59")) + if (underlyingCode.EndsWith(".SZ") && underlyingCode.StartsWith("159")) return true; return false;