(fix): 将原保证金模板名称=系统默认 的默认值改为null。
This commit is contained in:
@@ -378,7 +378,7 @@ namespace YLErp.Modules.TradeModule.SwapModule
|
||||
importTrade.StockEqvNotionalReal = importTrade.StockEqvNotionalReal;
|
||||
importTrade.trade_swap.RateCalcMode = "01";
|
||||
importTrade.IsUsePremiumRate = true;
|
||||
importTrade.MarginTemplateName = "系统默认";
|
||||
importTrade.MarginTemplateName = null;
|
||||
importTrade.MarginType = MarginTypeEnum.DEFAULT;
|
||||
importTrade.IsTradePricePayType = true;
|
||||
importTrade.TradeSource = TradeSourceEnum.导入交易.ToString();
|
||||
|
||||
@@ -519,7 +519,7 @@ namespace YLErp.Modules.TradeModule.SwapModule
|
||||
importTrade.ParticipationRate = 1;
|
||||
|
||||
//预付金
|
||||
importTrade.MarginTemplateName = "系统默认";
|
||||
importTrade.MarginTemplateName = null;
|
||||
importTrade.MarginType = MarginTypeEnum.DEFAULT;
|
||||
|
||||
SetDBModelCreator(importTrade);
|
||||
|
||||
@@ -726,7 +726,7 @@ namespace YLErp.Modules.TradeModule.SwapModule
|
||||
td.OriginalStockEqvNotional = td.StockEqvNotional;
|
||||
td.StockEqvNotionalReal = td.StockEqvNotionalReal;
|
||||
td.IsUsePremiumRate = true;
|
||||
td.MarginTemplateName = "系统默认";
|
||||
td.MarginTemplateName = null;
|
||||
td.MarginType = MarginTypeEnum.DEFAULT;
|
||||
td.IsTradePricePayType = true;
|
||||
td.TradeSource = TradeSourceEnum.导入交易.ToString();
|
||||
@@ -2815,7 +2815,7 @@ namespace YLErp.Modules.TradeModule.SwapModule
|
||||
td.SettlementDate = td.ExerciseDate;
|
||||
|
||||
td.StockEqvNotional = reader.GetDouble("名义本金(人民币)", true) ?? 0;
|
||||
td.MarginTemplateName = "系统默认";
|
||||
td.MarginTemplateName = null;
|
||||
td.UnWindDate = reader.GetDate("提前终止日/终止日", true);
|
||||
td.Comments = reader.GetString("备注", false);
|
||||
//td.UnderlyingName = reader.GetString("标的名称", true);
|
||||
|
||||
Reference in New Issue
Block a user