重置时将交易确认书置为无效

This commit is contained in:
吴方海
2025-04-17 16:48:31 +08:00
parent 1d20f6ff95
commit 54b920b852
2 changed files with 2 additions and 1 deletions
@@ -1507,6 +1507,7 @@ namespace YLErp.Modules.SwapModule
td.OptDate = OptDate;
swapEventService.AddSwapEventDate(valueDate, tradeId, (int)SwapEventTypeEnum., string.Empty, 0, false);
DbContext.SaveChanges();
new TradeDocumentDataService(this).InnerDeleteConfirmBook(tradeId);
trans.Commit();
return;
}