Revert "refactor(swap): 互换开平仓事件流水 导出小数点精度调整"
This reverts commit 89da38fab9.
This commit is contained in:
@@ -99,6 +99,6 @@ namespace YLErp.Model
|
||||
|
||||
public string OptLog { get; set; }
|
||||
|
||||
public string InitYtm { get; set; }
|
||||
public decimal? InitYtm { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -372,9 +372,9 @@ namespace YLErp.Modules.SwapModule
|
||||
exportModel.PositionType = item.PositionType==1?"多头":"空头";
|
||||
exportModel.UnderlyingCode = item.UnderlyingCode;
|
||||
exportModel.MatuirityDate = item.MatuirityDate.OtcFormatDate();
|
||||
exportModel.TradingAmountAvg = item.TradingAmountAvg.OtcFormatMoney(false, 2);
|
||||
exportModel.TradingAmountFeeAvg = item.TradingAmountFeeAvg.OtcFormatMoney(false, 2);
|
||||
exportModel.Quantity = item.Quantity.OtcFormatMoney(false, 2);
|
||||
exportModel.TradingAmountAvg = item.TradingAmountAvg.OtcFormatMoney(grouping: false);
|
||||
exportModel.TradingAmountFeeAvg = item.TradingAmountFeeAvg.OtcFormatMoney(grouping: false);
|
||||
exportModel.Quantity = item.Quantity.OtcFormatMoney(false, 4);
|
||||
exportModel.TradingAmount = item.TradingAmount.OtcFormatMoney(false, 2);
|
||||
exportModel.ContractSize = item.ContractSize.ToString();
|
||||
exportModel.TradingFee = item.TradingFee.OtcFormatMoney(false, 2);
|
||||
@@ -383,7 +383,7 @@ namespace YLErp.Modules.SwapModule
|
||||
exportModel.MarkClosePnl = item.MarkClosePnl.OtcFormatMoney(false, 2);
|
||||
exportModel.DividendIn = item.DividendIn.OtcFormatMoney(false, 2);
|
||||
exportModel.OptLog = item.OptLog;
|
||||
exportModel.InitYtm = item.InitYtm?.OtcFormatMoney(false, 9);
|
||||
exportModel.InitYtm = item.InitYtm;
|
||||
list.Add(exportModel);
|
||||
}
|
||||
var tplFilePath = OtcAppContext.MapPath("/App_Docs");
|
||||
|
||||
Reference in New Issue
Block a user