Merge branch 'glms/feature/1.4.2' into glms/feature/0812_zmr_divPower
# Conflicts: # YLErpDAL/Modules/EodModule/BondPaymentService.cs # YLErpDAL/Modules/SwapModule/SwapDealService.cs
This commit is contained in:
@@ -31,6 +31,7 @@ namespace YLErp.Modules.EodModule
|
||||
[TestCategory("DbDiagnose")]
|
||||
public void Diagnose_FR007_UnderlyingIdMismatch()
|
||||
{
|
||||
DbDiagnoseGuard.RequireTestDb();
|
||||
YLContext db;
|
||||
try { db = DbContextFactory.GetYLDbContext(); }
|
||||
catch (Exception ex) { Assert.Inconclusive($"无法连接测试库:{ex.Message}"); return; }
|
||||
@@ -164,6 +165,7 @@ namespace YLErp.Modules.EodModule
|
||||
public void Diagnose_Trade_FR007_ResetDays()
|
||||
{
|
||||
const string TradeNumber = "GLMS-JIATT-20260805-FICC-01-2180120IB";
|
||||
DbDiagnoseGuard.RequireTestDb();
|
||||
YLContext db;
|
||||
try { db = DbContextFactory.GetYLDbContext(); }
|
||||
catch (Exception ex) { Assert.Inconclusive($"无法连接测试库:{ex.Message}"); return; }
|
||||
@@ -256,6 +258,7 @@ namespace YLErp.Modules.EodModule
|
||||
public void Diagnose_EOD_vs_Unwind_Compound_DailyCompare()
|
||||
{
|
||||
const string TradeNumber = "GLMS-JIATT-20260805-FICC-01-2180120IB";
|
||||
DbDiagnoseGuard.RequireTestDb();
|
||||
YLContext db;
|
||||
try { db = DbContextFactory.GetYLDbContext(); }
|
||||
catch (Exception ex) { Assert.Inconclusive($"无法连接测试库:{ex.Message}"); return; }
|
||||
@@ -367,6 +370,7 @@ namespace YLErp.Modules.EodModule
|
||||
{
|
||||
const string TradeNumber = "GLMS-JIATT-20260805-FICC-01-2180120IB";
|
||||
const long CompoundPositionId = 38122;
|
||||
DbDiagnoseGuard.RequireTestDb();
|
||||
YLContext db;
|
||||
try { db = DbContextFactory.GetYLDbContext(); }
|
||||
catch (Exception ex) { Assert.Inconclusive($"无法连接测试库:{ex.Message}"); return; }
|
||||
@@ -431,6 +435,7 @@ namespace YLErp.Modules.EodModule
|
||||
public void Diagnose_Trade_804_ResetDay_FloatRate_Trace()
|
||||
{
|
||||
const string TradeNumber = "GLMS-JIATT-20260805-FICC-01-2180120IB";
|
||||
DbDiagnoseGuard.RequireTestDb();
|
||||
YLContext db;
|
||||
try { db = DbContextFactory.GetYLDbContext(); }
|
||||
catch (Exception ex) { Assert.Inconclusive($"无法连接测试库:{ex.Message}"); return; }
|
||||
@@ -528,6 +533,7 @@ namespace YLErp.Modules.EodModule
|
||||
public void Diagnose_Trade_AllLegs_And_EodMapping()
|
||||
{
|
||||
const string TradeNumber = "GLMS-JIATT-20260805-FICC-01-2180120IB";
|
||||
DbDiagnoseGuard.RequireTestDb();
|
||||
YLContext db;
|
||||
try { db = DbContextFactory.GetYLDbContext(); }
|
||||
catch (Exception ex) { Assert.Inconclusive($"无法连接测试库:{ex.Message}"); return; }
|
||||
|
||||
Reference in New Issue
Block a user