Browse Source

更新版本

FoShanPG
Administrator 2 years ago
parent
commit
36fb6eaf9d
  1. 2
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs
  2. 2
      src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/ErrorBillNum/ErrorBillNum.cs
  3. 7
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs

2
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs

@ -176,8 +176,6 @@ namespace Win.Sfs.SettleAccount.Entities.ErrorBills
virtual public async Task<ErrorBillDto> GetAsync(Guid id)
{
var result = await GetFromCacheAsync(id);
var dto = ObjectMapper.Map<ErrorBill, ErrorBillDto>(result);
return dto;

2
src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/ErrorBillNum/ErrorBillNum.cs

@ -11,6 +11,8 @@ namespace Win.Sfs.SettleAccount.Errors
/// </summary>
public class ErrorBill : FullAuditedAggregateRootBase<Guid>
{
public ErrorBill()
{ }
public ErrorBill(
Guid id,
Guid branchId,

7
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);

Loading…
Cancel
Save