Browse Source

更新版本

FoShanPG
Administrator 2 years ago
parent
commit
36fb6eaf9d
  1. 4
      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

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

@ -175,9 +175,7 @@ namespace Win.Sfs.SettleAccount.Entities.ErrorBills
[Route("{id}")] [Route("{id}")]
virtual public async Task<ErrorBillDto> GetAsync(Guid id) virtual public async Task<ErrorBillDto> GetAsync(Guid id)
{ {
var result = await GetFromCacheAsync(id); var result = await GetFromCacheAsync(id);
var dto = ObjectMapper.Map<ErrorBill, ErrorBillDto>(result); var dto = ObjectMapper.Map<ErrorBill, ErrorBillDto>(result);
return dto; return dto;

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

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

7
src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs

@ -136,22 +136,15 @@ namespace Win.Sfs.SettleAccount
builder.ConfigureEstimatedSumVersion(options); builder.ConfigureEstimatedSumVersion(options);
builder.ConfigureEstimatedInventoryVersion(options); builder.ConfigureEstimatedInventoryVersion(options);
builder.ConfigureInventoryDetailVersion(options); builder.ConfigureInventoryDetailVersion(options);
builder.ConfigureSecondaryAdjustmentVersion(options); builder.ConfigureSecondaryAdjustmentVersion(options);
builder.ConfigureSecondaryPriceRatioVersion(options); builder.ConfigureSecondaryPriceRatioVersion(options);
builder.ConfigureSecondaryDiscount(options); builder.ConfigureSecondaryDiscount(options);
builder.ConfigureSecondaryDiscountVersion(options); builder.ConfigureSecondaryDiscountVersion(options);
builder.ConfigureSecondaryPriceRatioVersion(options); builder.ConfigureSecondaryPriceRatioVersion(options);
//暂估发出未结算 //暂估发出未结算
builder.ConfigureEstimatedStockDiffReport(options); builder.ConfigureEstimatedStockDiffReport(options);
//暂估发出未结算明细 //暂估发出未结算明细
builder.ConfigureEstimatedStockDiffReportDetail(options); builder.ConfigureEstimatedStockDiffReportDetail(options);
//库存未结算比对 //库存未结算比对
builder.ConfigureStockUnsettledDiffReport(options); builder.ConfigureStockUnsettledDiffReport(options);

Loading…
Cancel
Save