diff --git a/YLErpDAL/Modules/RiskModule/QuotaMonitorService.cs b/YLErpDAL/Modules/RiskModule/QuotaMonitorService.cs index b70f0c6e..b2a0651b 100644 --- a/YLErpDAL/Modules/RiskModule/QuotaMonitorService.cs +++ b/YLErpDAL/Modules/RiskModule/QuotaMonitorService.cs @@ -5618,11 +5618,11 @@ namespace YLErp.Modules.RiskModule messageList.Add(SetQuotaMsg(tag, setting.QuotaIndex, currentValue, Convert.ToDouble(tradePosiVal), posiVal, Convert.ToDouble(current.Pv), Convert.ToDouble(noPosiVal), null, upperLimit, lowerLimit, setting.Percent, warning)); break; case "轧差集中度": - if (current.Circulation == 0) - { - messageList.Add($"{tag}:{current.UnderlyingCode}发行规模数据未维护"); - break; - } + //if (current.Circulation == 0) + //{ + // messageList.Add($"{tag}:{current.UnderlyingCode}发行规模数据未维护"); + // break; + //} currentValue = current.Circulation == 0 ? 0 : currentValue / Convert.ToDouble(current.Circulation); tradePosiVal = current.Circulation == 0 ? 0 : tradePosiVal / current.Circulation; posiVal = current.Circulation == 0 ? 0 : posiVal / Convert.ToDouble(current.Circulation); @@ -5673,10 +5673,10 @@ namespace YLErp.Modules.RiskModule } return null; case "轧差集中度": - if (current.Circulation == 0) - { - throw new Exception($"{tag}:{current.UnderlyingCode}发行规模数据未维护"); - } + //if (current.Circulation == 0) + //{ + // throw new Exception($"{tag}:{current.UnderlyingCode}发行规模数据未维护"); + //} currentValue = current.Circulation == 0 ? 0 : currentValue / Convert.ToDouble(current.Circulation); posiPv = positionList.Where(s => s.UnderlyingCode == current.UnderlyingCode && !s.Current).Sum(s => s.Pv); posiVal = current.Circulation == 0 ? 0 : Convert.ToDouble(posiPv / current.Circulation);