From 36fb6eaf9dcff154c6d1ee5e722057b7c32b9b94 Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 29 Jun 2022 10:16:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entities/ErrorListBill/ErrorBillAppService.cs | 4 +--- .../Entities/ErrorBillNum/ErrorBillNum.cs | 2 ++ .../SettleAccountDbContextModelCreatingExtensions.cs | 7 ------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs index 0ec73581..9533937b 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs @@ -175,9 +175,7 @@ namespace Win.Sfs.SettleAccount.Entities.ErrorBills [Route("{id}")] virtual public async Task GetAsync(Guid id) - { - - + { var result = await GetFromCacheAsync(id); var dto = ObjectMapper.Map(result); return dto; diff --git a/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/ErrorBillNum/ErrorBillNum.cs b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/ErrorBillNum/ErrorBillNum.cs index 1dd5e4aa..f1c4c296 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/ErrorBillNum/ErrorBillNum.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/ErrorBillNum/ErrorBillNum.cs @@ -11,6 +11,8 @@ namespace Win.Sfs.SettleAccount.Errors /// public class ErrorBill : FullAuditedAggregateRootBase { + public ErrorBill() + { } public ErrorBill( Guid id, Guid branchId, diff --git a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs index fa0e809f..10f4b52a 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs @@ -136,22 +136,15 @@ namespace Win.Sfs.SettleAccount builder.ConfigureEstimatedSumVersion(options); builder.ConfigureEstimatedInventoryVersion(options); builder.ConfigureInventoryDetailVersion(options); - - - builder.ConfigureSecondaryAdjustmentVersion(options); builder.ConfigureSecondaryPriceRatioVersion(options); builder.ConfigureSecondaryDiscount(options); builder.ConfigureSecondaryDiscountVersion(options); - builder.ConfigureSecondaryPriceRatioVersion(options); //暂估发出未结算 builder.ConfigureEstimatedStockDiffReport(options); - //暂估发出未结算明细 builder.ConfigureEstimatedStockDiffReportDetail(options); - - //库存未结算比对 builder.ConfigureStockUnsettledDiffReport(options);