Browse Source

删除 无用的Copy表

集成Redis
郑勃旭 2 years ago
parent
commit
666c227f7f
  1. 8
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/AuthSiteCenterWebModule.cs
  2. 3
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/appsettings.json
  3. 74
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteCopy/Dtos/CreateUpdateStoreCountNoteCopyDto.cs
  4. 66
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteCopy/Dtos/StoreCountNoteCopyDto.cs
  5. 21
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteCopy/IStoreCountNoteCopyAppService.cs
  6. 254
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteDetailCopy/Dtos/CreateUpdateStoreCountNoteDetailCopyDto.cs
  7. 221
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteDetailCopy/Dtos/StoreCountNoteDetailCopyDto.cs
  8. 21
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteDetailCopy/IStoreCountNoteDetailCopyAppService.cs
  9. 27
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteCopy/Dtos/CreateUpdateStoreTransferNoteCopyDto.cs
  10. 28
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteCopy/Dtos/StoreTransferNoteCopyDto.cs
  11. 29
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteCopy/Dtos/StoreTransferNoteCopyGetListInput.cs
  12. 17
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteCopy/IStoreTransferNoteCopyAppService.cs
  13. 78
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteDetailCopy/Dtos/CreateUpdateStoreTransferNoteDetailCopyDto.cs
  14. 79
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteDetailCopy/Dtos/StoreTransferNoteDetailCopyDto.cs
  15. 80
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteDetailCopy/Dtos/StoreTransferNoteDetailCopyGetListInput.cs
  16. 17
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteDetailCopy/IStoreTransferNoteDetailCopyAppService.cs
  17. 4
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/WmsApplicationAutoMapperProfile.cs
  18. 30
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreCountNoteCopy/StoreCountNoteCopyAppService.cs
  19. 30
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreCountNoteDetailCopy/StoreCountNoteDetailCopyAppService.cs
  20. 44
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreTransferNoteCopy/StoreTransferNoteCopyAppService.cs
  21. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreTransferNoteDetailCopy/StoreTransferNoteDetailCopyAppService.cs
  22. 11
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreCountNoteCopy/IStoreCountNoteCopyRepository.cs
  23. 31
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreCountNoteCopy/StoreCountNoteCopy.cs
  24. 11
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreCountNoteDetailCopy/IStoreCountNoteDetailCopyRepository.cs
  25. 95
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreCountNoteDetailCopy/StoreCountNoteDetailCopy.cs
  26. 6
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNote/StoreTransferNote.cs
  27. 8
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNoteCopy/IStoreTransferNoteCopyRepository.cs
  28. 29
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNoteCopy/StoreTransferNoteCopy.cs
  29. 8
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNoteDetailCopy/IStoreTransferNoteDetailCopyRepository.cs
  30. 81
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNoteDetailCopy/StoreTransferNoteDetailCopy.cs
  31. 26
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/EntityFrameworkCore/WmsDbContext.cs
  32. 4
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/EntityFrameworkCore/WmsEntityFrameworkCoreModule.cs
  33. 22
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreCountNoteCopy/StoreCountNoteCopyEfCoreQuerableExtensions.cs
  34. 20
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreCountNoteCopy/StoreCountNoteCopyRepository.cs
  35. 22
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreCountNoteDetailCopy/StoreCountNoteDetailCopyEfCoreQuerableExtensions.cs
  36. 20
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreCountNoteDetailCopy/StoreCountNoteDetailCopyRepository.cs
  37. 19
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreTransferNoteCopy/StoreTransferNoteCopyEfCoreQueryableExtensions.cs
  38. 20
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreTransferNoteCopy/StoreTransferNoteCopyRepository.cs
  39. 19
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreTransferNoteDetailCopy/StoreTransferNoteDetailCopyEfCoreQueryableExtensions.cs
  40. 20
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreTransferNoteDetailCopy/StoreTransferNoteDetailCopyRepository.cs
  41. 8
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/WmsHttpApiHostModule.cs
  42. 3
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/appsettings.json

8
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/AuthSiteCenterWebModule.cs

@ -148,16 +148,18 @@ public class AuthSiteCenterWebModule : AbpModule
options.ValueLengthLimit = 1024 * 1024 * 100; // 100MB max len form data options.ValueLengthLimit = 1024 * 1024 * 100; // 100MB max len form data
}); });
var redisKeyPrefix = configuration["Redis:KeyPrefix"];
Configure<AbpDistributedCacheOptions>(options => Configure<AbpDistributedCacheOptions>(options =>
{ {
options.KeyPrefix = "AuthSiteCenter:"; //options.KeyPrefix = "AuthSiteCenter:";
options.KeyPrefix = redisKeyPrefix+":";
}); });
var dataProtectionBuilder = context.Services.AddDataProtection().SetApplicationName("AuthSiteCenter"); var dataProtectionBuilder = context.Services.AddDataProtection().SetApplicationName(redisKeyPrefix);
if (!hostingEnvironment.IsDevelopment()) if (!hostingEnvironment.IsDevelopment())
{ {
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]);
dataProtectionBuilder.PersistKeysToStackExchangeRedis(redis, "AuthSiteCenter-Protection-Keys"); dataProtectionBuilder.PersistKeysToStackExchangeRedis(redis, $"{redisKeyPrefix}-Protection-Keys");
} }
context.Services.AddSingleton<IDistributedLockProvider>(sp => context.Services.AddSingleton<IDistributedLockProvider>(sp =>

3
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/appsettings.json

@ -12,7 +12,8 @@
"DefaultPassPhrase": "ybgU8NieQZNjguXe" "DefaultPassPhrase": "ybgU8NieQZNjguXe"
}, },
"Redis": { "Redis": {
"Configuration": "127.0.0.1:6379" "Configuration": "127.0.0.1:6379",
"KeyPrefix": "DY_AuthSiteCenter"
}, },
"AuthServer": { "AuthServer": {
"Authority": "http://192.168.0.240:60080" "Authority": "http://192.168.0.240:60080"

74
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteCopy/Dtos/CreateUpdateStoreCountNoteCopyDto.cs

@ -1,74 +0,0 @@
using System;
using System.ComponentModel;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy.Dtos;
[Serializable]
public class CreateUpdateStoreCountNoteCopyDto
{
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyActiveDate")]
public DateTime ActiveDate { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyAdjusted")]
public bool Adjusted { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyBeginTime")]
public DateTime BeginTime { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyCountPlanNumber")]
public string? CountPlanNumber { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyDescription")]
public string? Description { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyEndTime")]
public DateTime EndTime { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyNumber")]
public string Number { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyRemark")]
public string? Remark { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyStage")]
public string Stage { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyType")]
public string Type { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteCopyWorker")]
public string? Worker { get; set; }
}

66
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteCopy/Dtos/StoreCountNoteCopyDto.cs

@ -1,66 +0,0 @@
using System;
using Volo.Abp.Application.Dtos;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy.Dtos;
/// <summary>
///
/// </summary>
[Serializable]
public class StoreCountNoteCopyDto : AuditedEntityDto<Guid>
{
/// <summary>
///
/// </summary>
public DateTime ActiveDate { get; set; }
/// <summary>
///
/// </summary>
public bool Adjusted { get; set; }
/// <summary>
///
/// </summary>
public DateTime BeginTime { get; set; }
/// <summary>
///
/// </summary>
public string? CountPlanNumber { get; set; }
/// <summary>
///
/// </summary>
public string? Description { get; set; }
/// <summary>
///
/// </summary>
public DateTime EndTime { get; set; }
/// <summary>
///
/// </summary>
public string Number { get; set; }
/// <summary>
///
/// </summary>
public string? Remark { get; set; }
/// <summary>
///
/// </summary>
public string Stage { get; set; }
/// <summary>
///
/// </summary>
public string Type { get; set; }
/// <summary>
///
/// </summary>
public string? Worker { get; set; }
}

21
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteCopy/IStoreCountNoteCopyAppService.cs

@ -1,21 +0,0 @@
using System;
using WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy.Dtos;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy;
/// <summary>
///
/// </summary>
public interface IStoreCountNoteCopyAppService :
ICrudAppService<
StoreCountNoteCopyDto,
Guid,
PagedAndSortedResultRequestDto,
CreateUpdateStoreCountNoteCopyDto,
CreateUpdateStoreCountNoteCopyDto>
{
}

254
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteDetailCopy/Dtos/CreateUpdateStoreCountNoteDetailCopyDto.cs

@ -1,254 +0,0 @@
using System;
using System.ComponentModel;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy.Dtos;
[Serializable]
public class CreateUpdateStoreCountNoteDetailCopyDto
{
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyAdjusted")]
public bool Adjusted { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyArriveDate")]
public DateTime ArriveDate { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyAuditCountDescription")]
public string? AuditCountDescription { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyAuditCountOperator")]
public string? AuditCountOperator { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyAuditCountQty")]
public decimal AuditCountQty { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyAuditCountTime")]
public DateTime? AuditCountTime { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyContainerCode")]
public string? ContainerCode { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyCountLabel")]
public string CountLabel { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyCountPlanNumber")]
public string? CountPlanNumber { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyDetailStatus")]
public string DetailStatus { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyExpireDate")]
public DateTime ExpireDate { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyFinalCountQty")]
public decimal FinalCountQty { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyFirstCountDescription")]
public string? FirstCountDescription { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyFirstCountOperator")]
public string? FirstCountOperator { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyFirstCountQty")]
public decimal FirstCountQty { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyFirstCountTime")]
public DateTime? FirstCountTime { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyInventoryQty")]
public decimal InventoryQty { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyItemCode")]
public string ItemCode { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyItemDesc1")]
public string? ItemDesc1 { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyItemDesc2")]
public string? ItemDesc2 { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyItemName")]
public string? ItemName { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyLocationArea")]
public string? LocationArea { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyLocationCode")]
public string LocationCode { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyLocationErpCode")]
public string LocationErpCode { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyLocationGroup")]
public string? LocationGroup { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyLot")]
public string? Lot { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyMasterId")]
public Guid MasterId { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyNumber")]
public string Number { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyPackingCode")]
public string PackingCode { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyProduceDate")]
public DateTime ProduceDate { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyRemark")]
public string? Remark { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyRepeatCountDescription")]
public string? RepeatCountDescription { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyRepeatCountOperator")]
public string? RepeatCountOperator { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyRepeatCountQty")]
public decimal RepeatCountQty { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyRepeatCountTime")]
public DateTime? RepeatCountTime { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyStage")]
public string Stage { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyStatus")]
public string Status { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyStdPackQty")]
public decimal StdPackQty { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopySupplierBatch")]
public string? SupplierBatch { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyUom")]
public string? Uom { get; set; }
/// <summary>
///
/// </summary>
[DisplayName("StoreCountNoteDetailCopyWarehouseCode")]
public string WarehouseCode { get; set; }
}

221
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteDetailCopy/Dtos/StoreCountNoteDetailCopyDto.cs

@ -1,221 +0,0 @@
using System;
using Volo.Abp.Application.Dtos;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy.Dtos;
/// <summary>
///
/// </summary>
[Serializable]
public class StoreCountNoteDetailCopyDto : AuditedEntityDto<Guid>
{
/// <summary>
///
/// </summary>
public bool Adjusted { get; set; }
/// <summary>
///
/// </summary>
public DateTime ArriveDate { get; set; }
/// <summary>
///
/// </summary>
public string? AuditCountDescription { get; set; }
/// <summary>
///
/// </summary>
public string? AuditCountOperator { get; set; }
/// <summary>
///
/// </summary>
public decimal AuditCountQty { get; set; }
/// <summary>
///
/// </summary>
public DateTime? AuditCountTime { get; set; }
/// <summary>
///
/// </summary>
public string? ContainerCode { get; set; }
/// <summary>
///
/// </summary>
public string CountLabel { get; set; }
/// <summary>
///
/// </summary>
public string? CountPlanNumber { get; set; }
/// <summary>
///
/// </summary>
public string DetailStatus { get; set; }
/// <summary>
///
/// </summary>
public DateTime ExpireDate { get; set; }
/// <summary>
///
/// </summary>
public decimal FinalCountQty { get; set; }
/// <summary>
///
/// </summary>
public string? FirstCountDescription { get; set; }
/// <summary>
///
/// </summary>
public string? FirstCountOperator { get; set; }
/// <summary>
///
/// </summary>
public decimal FirstCountQty { get; set; }
/// <summary>
///
/// </summary>
public DateTime? FirstCountTime { get; set; }
/// <summary>
///
/// </summary>
public decimal InventoryQty { get; set; }
/// <summary>
///
/// </summary>
public string ItemCode { get; set; }
/// <summary>
///
/// </summary>
public string? ItemDesc1 { get; set; }
/// <summary>
///
/// </summary>
public string? ItemDesc2 { get; set; }
/// <summary>
///
/// </summary>
public string? ItemName { get; set; }
/// <summary>
///
/// </summary>
public string? LocationArea { get; set; }
/// <summary>
///
/// </summary>
public string LocationCode { get; set; }
/// <summary>
///
/// </summary>
public string LocationErpCode { get; set; }
/// <summary>
///
/// </summary>
public string? LocationGroup { get; set; }
/// <summary>
///
/// </summary>
public string? Lot { get; set; }
/// <summary>
///
/// </summary>
/// <summary>
///
/// </summary>
public Guid MasterId { get; set; }
/// <summary>
///
/// </summary>
public string Number { get; set; }
/// <summary>
///
/// </summary>
public string PackingCode { get; set; }
/// <summary>
///
/// </summary>
public DateTime ProduceDate { get; set; }
/// <summary>
///
/// </summary>
public string? Remark { get; set; }
/// <summary>
///
/// </summary>
public string? RepeatCountDescription { get; set; }
/// <summary>
///
/// </summary>
public string? RepeatCountOperator { get; set; }
/// <summary>
///
/// </summary>
public decimal RepeatCountQty { get; set; }
/// <summary>
///
/// </summary>
public DateTime? RepeatCountTime { get; set; }
/// <summary>
///
/// </summary>
public string Stage { get; set; }
/// <summary>
///
/// </summary>
public string Status { get; set; }
/// <summary>
///
/// </summary>
public decimal StdPackQty { get; set; }
/// <summary>
///
/// </summary>
public string? SupplierBatch { get; set; }
/// <summary>
///
/// </summary>
public string? Uom { get; set; }
/// <summary>
///
/// </summary>
public string WarehouseCode { get; set; }
}

21
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreCountNoteDetailCopy/IStoreCountNoteDetailCopyAppService.cs

@ -1,21 +0,0 @@
using System;
using WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy.Dtos;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy;
/// <summary>
///
/// </summary>
public interface IStoreCountNoteDetailCopyAppService :
ICrudAppService<
StoreCountNoteDetailCopyDto,
Guid,
PagedAndSortedResultRequestDto,
CreateUpdateStoreCountNoteDetailCopyDto,
CreateUpdateStoreCountNoteDetailCopyDto>
{
}

27
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteCopy/Dtos/CreateUpdateStoreTransferNoteCopyDto.cs

@ -1,27 +0,0 @@
using System;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy.Dtos;
[Serializable]
public class CreateUpdateStoreTransferNoteCopyDto
{
public DateTime ActiveDate { get; set; }
public bool Confirmed { get; set; }
public DateTime? ConfirmTime { get; set; }
public string? JobNumber { get; set; }
public string Number { get; set; }
public string? Remark { get; set; }
public string? RequestNumber { get; set; }
public string? Type { get; set; }
public bool UseOnTheWayLocation { get; set; }
public string? Worker { get; set; }
}

28
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteCopy/Dtos/StoreTransferNoteCopyDto.cs

@ -1,28 +0,0 @@
using System;
using Volo.Abp.Application.Dtos;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy.Dtos;
[Serializable]
public class StoreTransferNoteCopyDto : AuditedEntityDto<Guid>
{
public DateTime ActiveDate { get; set; }
public bool Confirmed { get; set; }
public DateTime? ConfirmTime { get; set; }
public string? JobNumber { get; set; }
public string Number { get; set; }
public string? Remark { get; set; }
public string? RequestNumber { get; set; }
public string? Type { get; set; }
public bool UseOnTheWayLocation { get; set; }
public string? Worker { get; set; }
}

29
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteCopy/Dtos/StoreTransferNoteCopyGetListInput.cs

@ -1,29 +0,0 @@
using System;
using System.ComponentModel;
using Volo.Abp.Application.Dtos;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy.Dtos;
[Serializable]
public class StoreTransferNoteCopyGetListInput : PagedAndSortedResultRequestDto
{
public DateTime? ActiveDate { get; set; }
public bool? Confirmed { get; set; }
public DateTime? ConfirmTime { get; set; }
public string? JobNumber { get; set; }
public string? Number { get; set; }
public string? Remark { get; set; }
public string? RequestNumber { get; set; }
public string? Type { get; set; }
public bool? UseOnTheWayLocation { get; set; }
public string? Worker { get; set; }
}

17
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteCopy/IStoreTransferNoteCopyAppService.cs

@ -1,17 +0,0 @@
using System;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy;
public interface IStoreTransferNoteCopyAppService :
ICrudAppService<
StoreTransferNoteCopyDto,
Guid,
StoreTransferNoteCopyGetListInput,
CreateUpdateStoreTransferNoteCopyDto,
CreateUpdateStoreTransferNoteCopyDto>
{
}

78
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteDetailCopy/Dtos/CreateUpdateStoreTransferNoteDetailCopyDto.cs

@ -1,78 +0,0 @@
using System;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNote.Dtos;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy.Dtos;
[Serializable]
public class CreateUpdateStoreTransferNoteDetailCopyDto
{
public DateTime ArriveDate { get; set; }
public DateTime ExpireDate { get; set; }
public string? FromContainerCode { get; set; }
public string? FromLocationArea { get; set; }
public string FromLocationCode { get; set; }
public string FromLocationErpCode { get; set; }
public string? FromLocationGroup { get; set; }
public string? FromLot { get; set; }
public string? FromPackingCode { get; set; }
public string FromStatus { get; set; }
public string FromWarehouseCode { get; set; }
public string ItemCode { get; set; }
public string? ItemDesc1 { get; set; }
public string? ItemDesc2 { get; set; }
public string? ItemName { get; set; }
public Guid MasterId { get; set; }
public string Number { get; set; }
public string? OnTheWayLocationCode { get; set; }
public DateTime ProduceDate { get; set; }
public decimal Qty { get; set; }
public string? Reason { get; set; }
public string? Remark { get; set; }
public decimal StdPackQty { get; set; }
public string? SupplierBatch { get; set; }
public string? ToContainerCode { get; set; }
public string? ToLocationArea { get; set; }
public string ToLocationCode { get; set; }
public string ToLocationErpCode { get; set; }
public string? ToLocationGroup { get; set; }
public string? ToLot { get; set; }
public string? ToPackingCode { get; set; }
public string ToStatus { get; set; }
public string ToWarehouseCode { get; set; }
public string Uom { get; set; }
}

79
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteDetailCopy/Dtos/StoreTransferNoteDetailCopyDto.cs

@ -1,79 +0,0 @@
using System;
using Volo.Abp.Application.Dtos;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNote.Dtos;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy.Dtos;
[Serializable]
public class StoreTransferNoteDetailCopyDto : AuditedEntityDto<Guid>
{
public DateTime ArriveDate { get; set; }
public DateTime ExpireDate { get; set; }
public string? FromContainerCode { get; set; }
public string? FromLocationArea { get; set; }
public string FromLocationCode { get; set; }
public string FromLocationErpCode { get; set; }
public string? FromLocationGroup { get; set; }
public string? FromLot { get; set; }
public string? FromPackingCode { get; set; }
public string FromStatus { get; set; }
public string FromWarehouseCode { get; set; }
public string ItemCode { get; set; }
public string? ItemDesc1 { get; set; }
public string? ItemDesc2 { get; set; }
public string? ItemName { get; set; }
public Guid MasterId { get; set; }
public string Number { get; set; }
public string? OnTheWayLocationCode { get; set; }
public DateTime ProduceDate { get; set; }
public decimal Qty { get; set; }
public string? Reason { get; set; }
public string? Remark { get; set; }
public decimal StdPackQty { get; set; }
public string? SupplierBatch { get; set; }
public string? ToContainerCode { get; set; }
public string? ToLocationArea { get; set; }
public string ToLocationCode { get; set; }
public string ToLocationErpCode { get; set; }
public string? ToLocationGroup { get; set; }
public string? ToLot { get; set; }
public string? ToPackingCode { get; set; }
public string ToStatus { get; set; }
public string ToWarehouseCode { get; set; }
public string Uom { get; set; }
}

80
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteDetailCopy/Dtos/StoreTransferNoteDetailCopyGetListInput.cs

@ -1,80 +0,0 @@
using System;
using System.ComponentModel;
using Volo.Abp.Application.Dtos;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNote.Dtos;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy.Dtos;
[Serializable]
public class StoreTransferNoteDetailCopyGetListInput : PagedAndSortedResultRequestDto
{
public DateTime? ArriveDate { get; set; }
public DateTime? ExpireDate { get; set; }
public string? FromContainerCode { get; set; }
public string? FromLocationArea { get; set; }
public string? FromLocationCode { get; set; }
public string? FromLocationErpCode { get; set; }
public string? FromLocationGroup { get; set; }
public string? FromLot { get; set; }
public string? FromPackingCode { get; set; }
public string? FromStatus { get; set; }
public string? FromWarehouseCode { get; set; }
public string? ItemCode { get; set; }
public string? ItemDesc1 { get; set; }
public string? ItemDesc2 { get; set; }
public string? ItemName { get; set; }
public StoreTransferNoteDto? Master { get; set; }
public Guid? MasterId { get; set; }
public string? Number { get; set; }
public string? OnTheWayLocationCode { get; set; }
public DateTime? ProduceDate { get; set; }
public decimal? Qty { get; set; }
public string? Reason { get; set; }
public string? Remark { get; set; }
public decimal? StdPackQty { get; set; }
public string? SupplierBatch { get; set; }
public string? ToContainerCode { get; set; }
public string? ToLocationArea { get; set; }
public string? ToLocationCode { get; set; }
public string? ToLocationErpCode { get; set; }
public string? ToLocationGroup { get; set; }
public string? ToLot { get; set; }
public string? ToPackingCode { get; set; }
public string? ToStatus { get; set; }
public string? ToWarehouseCode { get; set; }
public string? Uom { get; set; }
}

17
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/StoreTransferNoteDetailCopy/IStoreTransferNoteDetailCopyAppService.cs

@ -1,17 +0,0 @@
using System;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy;
public interface IStoreTransferNoteDetailCopyAppService :
ICrudAppService<
StoreTransferNoteDetailCopyDto,
Guid,
StoreTransferNoteDetailCopyGetListInput,
CreateUpdateStoreTransferNoteDetailCopyDto,
CreateUpdateStoreTransferNoteDetailCopyDto>
{
}

4
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/WmsApplicationAutoMapperProfile.cs

@ -485,10 +485,6 @@ namespace WinIn.FasterZ.Wms
CreateMap<CreateUpdateStoreTransferRequestDetailDto, StoreTransferRequestDetail>(MemberList.Source); CreateMap<CreateUpdateStoreTransferRequestDetailDto, StoreTransferRequestDetail>(MemberList.Source);
CreateMap<StoreTransferRequest, StoreTransferRequestDto>(); CreateMap<StoreTransferRequest, StoreTransferRequestDto>();
CreateMap<CreateUpdateStoreTransferRequestDto, StoreTransferRequest>(MemberList.Source); CreateMap<CreateUpdateStoreTransferRequestDto, StoreTransferRequest>(MemberList.Source);
CreateMap<StoreTransferNoteDetailCopy, StoreTransferNoteDetailCopyDto>();
CreateMap<CreateUpdateStoreTransferNoteDetailCopyDto, StoreTransferNoteDetailCopy>(MemberList.Source);
CreateMap<StoreTransferNoteCopy, StoreTransferNoteCopyDto>();
CreateMap<CreateUpdateStoreTransferNoteCopyDto, StoreTransferNoteCopy>(MemberList.Source);
CreateMap<StoreTransferNote, StoreTransferNoteDto>(); CreateMap<StoreTransferNote, StoreTransferNoteDto>();
CreateMap<CreateUpdateStoreTransferNoteDto, StoreTransferNote>(MemberList.Source); CreateMap<CreateUpdateStoreTransferNoteDto, StoreTransferNote>(MemberList.Source);
CreateMap<StoreSupplierAsnDetail, StoreSupplierAsnDetailDto>(); CreateMap<StoreSupplierAsnDetail, StoreSupplierAsnDetailDto>();

30
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreCountNoteCopy/StoreCountNoteCopyAppService.cs

@ -1,30 +0,0 @@
using System;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy.Dtos;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using WinIn.FasterZ.Wms.AppBase;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy;
/// <summary>
///
/// </summary>
public class StoreCountNoteCopyAppService : ZbxBase<StoreCountNoteCopy, StoreCountNoteCopyDto, Guid, PagedAndSortedResultRequestDto, CreateUpdateStoreCountNoteCopyDto, CreateUpdateStoreCountNoteCopyDto>,
IStoreCountNoteCopyAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreCountNoteCopy.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreCountNoteCopy.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreCountNoteCopy.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreCountNoteCopy.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreCountNoteCopy.Delete;
private readonly IStoreCountNoteCopyRepository _repository;
public StoreCountNoteCopyAppService(IStoreCountNoteCopyRepository repository) : base(repository)
{
_repository = repository;
}
}

30
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreCountNoteDetailCopy/StoreCountNoteDetailCopyAppService.cs

@ -1,30 +0,0 @@
using System;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy.Dtos;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using WinIn.FasterZ.Wms.AppBase;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy;
/// <summary>
///
/// </summary>
public class StoreCountNoteDetailCopyAppService : ZbxBase<StoreCountNoteDetailCopy, StoreCountNoteDetailCopyDto, Guid, PagedAndSortedResultRequestDto, CreateUpdateStoreCountNoteDetailCopyDto, CreateUpdateStoreCountNoteDetailCopyDto>,
IStoreCountNoteDetailCopyAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreCountNoteDetailCopy.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreCountNoteDetailCopy.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreCountNoteDetailCopy.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreCountNoteDetailCopy.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreCountNoteDetailCopy.Delete;
private readonly IStoreCountNoteDetailCopyRepository _repository;
public StoreCountNoteDetailCopyAppService(IStoreCountNoteDetailCopyRepository repository) : base(repository)
{
_repository = repository;
}
}

44
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreTransferNoteCopy/StoreTransferNoteCopyAppService.cs

@ -1,44 +0,0 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy.Dtos;
using Volo.Abp.Application.Services;
using WinIn.FasterZ.Wms.AppBase;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy;
public class StoreTransferNoteCopyAppService : ZbxBase<StoreTransferNoteCopy, StoreTransferNoteCopyDto, Guid, StoreTransferNoteCopyGetListInput, CreateUpdateStoreTransferNoteCopyDto, CreateUpdateStoreTransferNoteCopyDto>,
IStoreTransferNoteCopyAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreTransferNote.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreTransferNote.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreTransferNote.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreTransferNote.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreTransferNote.Delete;
private readonly IStoreTransferNoteCopyRepository _repository;
public StoreTransferNoteCopyAppService(IStoreTransferNoteCopyRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StoreTransferNoteCopy>> CreateFilteredQueryAsync(StoreTransferNoteCopyGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.WhereIf(input.Confirmed != null, x => x.Confirmed == input.Confirmed)
.WhereIf(input.ConfirmTime != null, x => x.ConfirmTime == input.ConfirmTime)
.WhereIf(input.JobNumber != null, x => x.JobNumber == input.JobNumber)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(input.RequestNumber != null, x => x.RequestNumber == input.RequestNumber)
.WhereIf(input.Type != null, x => x.Type == input.Type)
.WhereIf(input.UseOnTheWayLocation != null, x => x.UseOnTheWayLocation == input.UseOnTheWayLocation)
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreTransferNoteDetailCopy/StoreTransferNoteDetailCopyAppService.cs

@ -1,25 +0,0 @@
using System;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy.Dtos;
using Volo.Abp.Application.Services;
using WinIn.FasterZ.Wms.AppBase;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy;
public class StoreTransferNoteDetailCopyAppService : ZbxBase<StoreTransferNoteDetailCopy, StoreTransferNoteDetailCopyDto, Guid, StoreTransferNoteDetailCopyGetListInput, CreateUpdateStoreTransferNoteDetailCopyDto, CreateUpdateStoreTransferNoteDetailCopyDto>,
IStoreTransferNoteDetailCopyAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreTransferNoteDetail.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreTransferNoteDetail.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreTransferNoteDetail.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreTransferNoteDetail.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreTransferNoteDetail.Delete;
private readonly IStoreTransferNoteDetailCopyRepository _repository;
public StoreTransferNoteDetailCopyAppService(IStoreTransferNoteDetailCopyRepository repository) : base(repository)
{
_repository = repository;
}
}

11
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreCountNoteCopy/IStoreCountNoteCopyRepository.cs

@ -1,11 +0,0 @@
using System;
using Volo.Abp.Domain.Repositories;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy;
/// <summary>
///
/// </summary>
public interface IStoreCountNoteCopyRepository : IRepository<StoreCountNoteCopy, Guid>
{
}

31
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreCountNoteCopy/StoreCountNoteCopy.cs

@ -1,31 +0,0 @@
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy
{
using System;
using Volo.Abp.Domain.Entities.Auditing;
public class StoreCountNoteCopy : AuditedAggregateRoot<Guid>
{
public DateTime ActiveDate { get; set; }
public bool Adjusted { get; set; }
public DateTime BeginTime { get; set; }
public string? CountPlanNumber { get; set; }
public string? Description { get; set; }
public DateTime EndTime { get; set; }
public string Number { get; set; } = null!;
public string? Remark { get; set; }
public string Stage { get; set; } = null!;
public string Type { get; set; } = null!;
public string? Worker { get; set; }
}
}

11
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreCountNoteDetailCopy/IStoreCountNoteDetailCopyRepository.cs

@ -1,11 +0,0 @@
using System;
using Volo.Abp.Domain.Repositories;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy;
/// <summary>
///
/// </summary>
public interface IStoreCountNoteDetailCopyRepository : IRepository<StoreCountNoteDetailCopy, Guid>
{
}

95
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreCountNoteDetailCopy/StoreCountNoteDetailCopy.cs

@ -1,95 +0,0 @@
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy
{
using System;
using Volo.Abp.Domain.Entities.Auditing;
using WinIn.FasterZ.Wms.Z_Business.StoreCountNote;
public class StoreCountNoteDetailCopy : AuditedAggregateRoot<Guid>
{
public bool Adjusted { get; set; }
public DateTime ArriveDate { get; set; }
public string? AuditCountDescription { get; set; }
public string? AuditCountOperator { get; set; }
public decimal AuditCountQty { get; set; }
public DateTime? AuditCountTime { get; set; }
public string? ContainerCode { get; set; }
public string CountLabel { get; set; } = null!;
public string? CountPlanNumber { get; set; }
public string DetailStatus { get; set; } = null!;
public DateTime ExpireDate { get; set; }
public decimal FinalCountQty { get; set; }
public string? FirstCountDescription { get; set; }
public string? FirstCountOperator { get; set; }
public decimal FirstCountQty { get; set; }
public DateTime? FirstCountTime { get; set; }
public decimal InventoryQty { get; set; }
public string ItemCode { get; set; } = null!;
public string? ItemDesc1 { get; set; }
public string? ItemDesc2 { get; set; }
public string? ItemName { get; set; }
public string? LocationArea { get; set; }
public string LocationCode { get; set; } = null!;
public string LocationErpCode { get; set; } = null!;
public string? LocationGroup { get; set; }
public string? Lot { get; set; }
public virtual StoreCountNote Master { get; set; } = null!;
public Guid MasterId { get; set; }
public string Number { get; set; } = null!;
public string PackingCode { get; set; } = null!;
public DateTime ProduceDate { get; set; }
public string? Remark { get; set; }
public string? RepeatCountDescription { get; set; }
public string? RepeatCountOperator { get; set; }
public decimal RepeatCountQty { get; set; }
public DateTime? RepeatCountTime { get; set; }
public string Stage { get; set; } = null!;
public string Status { get; set; } = null!;
public decimal StdPackQty { get; set; }
public string? SupplierBatch { get; set; }
public string? Uom { get; set; }
public string WarehouseCode { get; set; } = null!;
}
}

6
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNote/StoreTransferNote.cs

@ -6,7 +6,6 @@
using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.Domain.Entities.Auditing;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetail; using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetail;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy;
public class StoreTransferNote : AuditedAggregateRoot<Guid> public class StoreTransferNote : AuditedAggregateRoot<Guid>
{ {
@ -24,10 +23,7 @@
public string? RequestNumber { get; set; } public string? RequestNumber { get; set; }
public virtual List<StoreTransferNoteDetailCopy> StoreTransferNoteDetailCopies { get; set; } = public virtual List<StoreTransferNoteDetail> Details { get; set; } =
new List<StoreTransferNoteDetailCopy>();
public virtual List<StoreTransferNoteDetail> StoreTransferNoteDetails { get; set; } =
new List<StoreTransferNoteDetail>(); new List<StoreTransferNoteDetail>();
public string? Type { get; set; } public string? Type { get; set; }

8
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNoteCopy/IStoreTransferNoteCopyRepository.cs

@ -1,8 +0,0 @@
using System;
using Volo.Abp.Domain.Repositories;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy;
public interface IStoreTransferNoteCopyRepository : IRepository<StoreTransferNoteCopy, Guid>
{
}

29
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNoteCopy/StoreTransferNoteCopy.cs

@ -1,29 +0,0 @@
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy
{
using System;
using Volo.Abp.Domain.Entities.Auditing;
public class StoreTransferNoteCopy : AuditedAggregateRoot<Guid>
{
public DateTime ActiveDate { get; set; }
public bool Confirmed { get; set; }
public DateTime? ConfirmTime { get; set; }
public string? JobNumber { get; set; }
public string Number { get; set; } = null!;
public string? Remark { get; set; }
public string? RequestNumber { get; set; }
public string? Type { get; set; }
public bool UseOnTheWayLocation { get; set; }
public string? Worker { get; set; }
}
}

8
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNoteDetailCopy/IStoreTransferNoteDetailCopyRepository.cs

@ -1,8 +0,0 @@
using System;
using Volo.Abp.Domain.Repositories;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy;
public interface IStoreTransferNoteDetailCopyRepository : IRepository<StoreTransferNoteDetailCopy, Guid>
{
}

81
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/StoreTransferNoteDetailCopy/StoreTransferNoteDetailCopy.cs

@ -1,81 +0,0 @@
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy
{
using System;
using Volo.Abp.Domain.Entities.Auditing;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNote;
public class StoreTransferNoteDetailCopy : AuditedAggregateRoot<Guid>
{
public DateTime ArriveDate { get; set; }
public DateTime ExpireDate { get; set; }
public string? FromContainerCode { get; set; }
public string? FromLocationArea { get; set; }
public string FromLocationCode { get; set; } = null!;
public string FromLocationErpCode { get; set; } = null!;
public string? FromLocationGroup { get; set; }
public string? FromLot { get; set; }
public string? FromPackingCode { get; set; }
public string FromStatus { get; set; } = null!;
public string FromWarehouseCode { get; set; } = null!;
public string ItemCode { get; set; } = null!;
public string? ItemDesc1 { get; set; }
public string? ItemDesc2 { get; set; }
public string? ItemName { get; set; }
public virtual StoreTransferNote Master { get; set; } = null!;
public Guid MasterId { get; set; }
public string Number { get; set; } = null!;
public string? OnTheWayLocationCode { get; set; }
public DateTime ProduceDate { get; set; }
public decimal Qty { get; set; }
public string? Reason { get; set; }
public string? Remark { get; set; }
public decimal StdPackQty { get; set; }
public string? SupplierBatch { get; set; }
public string? ToContainerCode { get; set; }
public string? ToLocationArea { get; set; }
public string ToLocationCode { get; set; } = null!;
public string ToLocationErpCode { get; set; } = null!;
public string? ToLocationGroup { get; set; }
public string? ToLot { get; set; }
public string? ToPackingCode { get; set; }
public string ToStatus { get; set; } = null!;
public string ToWarehouseCode { get; set; } = null!;
public string Uom { get; set; } = null!;
}
}

26
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/EntityFrameworkCore/WmsDbContext.cs

@ -34,9 +34,7 @@ using WinIn.FasterZ.Wms.Z_Business.StoreUnplannedIssueNoteDetail;
using WinIn.FasterZ.Wms.Z_Business.StoreUnplannedIssueNote; using WinIn.FasterZ.Wms.Z_Business.StoreUnplannedIssueNote;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferRequestDetail; using WinIn.FasterZ.Wms.Z_Business.StoreTransferRequestDetail;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferRequest; using WinIn.FasterZ.Wms.Z_Business.StoreTransferRequest;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetail; using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetail;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNote; using WinIn.FasterZ.Wms.Z_Business.StoreTransferNote;
using WinIn.FasterZ.Wms.Z_Business.StoreSupplierAsnDetail; using WinIn.FasterZ.Wms.Z_Business.StoreSupplierAsnDetail;
using WinIn.FasterZ.Wms.Z_Business.StoreSupplierAsn; using WinIn.FasterZ.Wms.Z_Business.StoreSupplierAsn;
@ -298,9 +296,7 @@ namespace WinIn.FasterZ.Wms.EntityFrameworkCore
public DbSet<StoreUnplannedIssueNote> StoreUnplannedIssueNotes { get; set; } public DbSet<StoreUnplannedIssueNote> StoreUnplannedIssueNotes { get; set; }
public DbSet<StoreTransferRequestDetail> StoreTransferRequestDetails { get; set; } public DbSet<StoreTransferRequestDetail> StoreTransferRequestDetails { get; set; }
public DbSet<StoreTransferRequest> StoreTransferRequests { get; set; } public DbSet<StoreTransferRequest> StoreTransferRequests { get; set; }
public DbSet<StoreTransferNoteDetailCopy> StoreTransferNoteDetailCopies { get; set; }
public DbSet<StoreTransferNoteDetail> StoreTransferNoteDetails { get; set; } public DbSet<StoreTransferNoteDetail> StoreTransferNoteDetails { get; set; }
public DbSet<StoreTransferNoteCopy> StoreTransferNoteCopies { get; set; }
public DbSet<StoreTransferNote> StoreTransferNotes { get; set; } public DbSet<StoreTransferNote> StoreTransferNotes { get; set; }
public DbSet<StoreSupplierAsnDetail> StoreSupplierAsnDetails { get; set; } public DbSet<StoreSupplierAsnDetail> StoreSupplierAsnDetails { get; set; }
public DbSet<StoreSupplierAsn> StoreSupplierAsns { get; set; } public DbSet<StoreSupplierAsn> StoreSupplierAsns { get; set; }
@ -1215,17 +1211,6 @@ namespace WinIn.FasterZ.Wms.EntityFrameworkCore
/* Configure more properties here */ /* Configure more properties here */
}); });
builder.Entity<StoreTransferNoteDetailCopy>(b =>
{
b.ToTable(WmsConsts.DbTablePrefix + "Store_TransferNoteDetailCopie", WmsConsts.DbSchema);
b.ConfigureByConvention();
/* Configure more properties here */
});
builder.Entity<StoreTransferNoteDetail>(b => builder.Entity<StoreTransferNoteDetail>(b =>
{ {
b.ToTable(WmsConsts.DbTablePrefix + "Store_TransferNoteDetail", WmsConsts.DbSchema); b.ToTable(WmsConsts.DbTablePrefix + "Store_TransferNoteDetail", WmsConsts.DbSchema);
@ -1235,17 +1220,6 @@ namespace WinIn.FasterZ.Wms.EntityFrameworkCore
/* Configure more properties here */ /* Configure more properties here */
}); });
builder.Entity<StoreTransferNoteCopy>(b =>
{
b.ToTable(WmsConsts.DbTablePrefix + "Store_TransferNoteCopie", WmsConsts.DbSchema);
b.ConfigureByConvention();
/* Configure more properties here */
});
builder.Entity<StoreTransferNote>(b => builder.Entity<StoreTransferNote>(b =>
{ {
b.ToTable(WmsConsts.DbTablePrefix + "Store_TransferNote", WmsConsts.DbSchema); b.ToTable(WmsConsts.DbTablePrefix + "Store_TransferNote", WmsConsts.DbSchema);

4
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/EntityFrameworkCore/WmsEntityFrameworkCoreModule.cs

@ -197,9 +197,7 @@ using WinIn.FasterZ.Wms.Z_Business.StoreScrapRequestDetail;
using WinIn.FasterZ.Wms.Z_Business.StoreSupplierAsn; using WinIn.FasterZ.Wms.Z_Business.StoreSupplierAsn;
using WinIn.FasterZ.Wms.Z_Business.StoreSupplierAsnDetail; using WinIn.FasterZ.Wms.Z_Business.StoreSupplierAsnDetail;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNote; using WinIn.FasterZ.Wms.Z_Business.StoreTransferNote;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetail; using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetail;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferRequest; using WinIn.FasterZ.Wms.Z_Business.StoreTransferRequest;
using WinIn.FasterZ.Wms.Z_Business.StoreTransferRequestDetail; using WinIn.FasterZ.Wms.Z_Business.StoreTransferRequestDetail;
using WinIn.FasterZ.Wms.Z_Business.StoreUnplannedIssueNote; using WinIn.FasterZ.Wms.Z_Business.StoreUnplannedIssueNote;
@ -284,9 +282,7 @@ namespace WinIn.FasterZ.Wms.EntityFrameworkCore
options.AddRepository<StoreUnplannedIssueNote, StoreUnplannedIssueNoteRepository>(); options.AddRepository<StoreUnplannedIssueNote, StoreUnplannedIssueNoteRepository>();
options.AddRepository<StoreTransferRequestDetail, StoreTransferRequestDetailRepository>(); options.AddRepository<StoreTransferRequestDetail, StoreTransferRequestDetailRepository>();
options.AddRepository<StoreTransferRequest, StoreTransferRequestRepository>(); options.AddRepository<StoreTransferRequest, StoreTransferRequestRepository>();
options.AddRepository<StoreTransferNoteDetailCopy, StoreTransferNoteDetailCopyRepository>();
options.AddRepository<StoreTransferNoteDetail, StoreTransferNoteDetailRepository>(); options.AddRepository<StoreTransferNoteDetail, StoreTransferNoteDetailRepository>();
options.AddRepository<StoreTransferNoteCopy, StoreTransferNoteCopyRepository>();
options.AddRepository<StoreTransferNote, StoreTransferNoteRepository>(); options.AddRepository<StoreTransferNote, StoreTransferNoteRepository>();
options.AddRepository<StoreSupplierAsnDetail, StoreSupplierAsnDetailRepository>(); options.AddRepository<StoreSupplierAsnDetail, StoreSupplierAsnDetailRepository>();
options.AddRepository<StoreSupplierAsn, StoreSupplierAsnRepository>(); options.AddRepository<StoreSupplierAsn, StoreSupplierAsnRepository>();

22
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreCountNoteCopy/StoreCountNoteCopyEfCoreQuerableExtensions.cs

@ -1,22 +0,0 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy;
/// <summary>
///
/// </summary>
public static class StoreCountNoteCopyEfCoreQueryableExtensions
{
public static IQueryable<StoreCountNoteCopy> IncludeDetails(this IQueryable<StoreCountNoteCopy> queryable, bool include = true)
{
if (!include)
{
return queryable;
}
return queryable
// .Include(x => x.xxx) // TODO: AbpHelper generated
;
}
}

20
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreCountNoteCopy/StoreCountNoteCopyRepository.cs

@ -1,20 +0,0 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.EntityFrameworkCore;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteCopy;
public class StoreCountNoteCopyRepository : EfCoreRepository<WmsDbContext, StoreCountNoteCopy, Guid>, IStoreCountNoteCopyRepository
{
public StoreCountNoteCopyRepository(IDbContextProvider<WmsDbContext> dbContextProvider) : base(dbContextProvider)
{
}
public override async Task<IQueryable<StoreCountNoteCopy>> WithDetailsAsync()
{
return (await GetQueryableAsync()).IncludeDetails();
}
}

22
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreCountNoteDetailCopy/StoreCountNoteDetailCopyEfCoreQuerableExtensions.cs

@ -1,22 +0,0 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy;
/// <summary>
///
/// </summary>
public static class StoreCountNoteDetailCopyEfCoreQueryableExtensions
{
public static IQueryable<StoreCountNoteDetailCopy> IncludeDetails(this IQueryable<StoreCountNoteDetailCopy> queryable, bool include = true)
{
if (!include)
{
return queryable;
}
return queryable
// .Include(x => x.xxx) // TODO: AbpHelper generated
;
}
}

20
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreCountNoteDetailCopy/StoreCountNoteDetailCopyRepository.cs

@ -1,20 +0,0 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.EntityFrameworkCore;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.StoreCountNoteDetailCopy;
public class StoreCountNoteDetailCopyRepository : EfCoreRepository<WmsDbContext, StoreCountNoteDetailCopy, Guid>, IStoreCountNoteDetailCopyRepository
{
public StoreCountNoteDetailCopyRepository(IDbContextProvider<WmsDbContext> dbContextProvider) : base(dbContextProvider)
{
}
public override async Task<IQueryable<StoreCountNoteDetailCopy>> WithDetailsAsync()
{
return (await GetQueryableAsync()).IncludeDetails();
}
}

19
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreTransferNoteCopy/StoreTransferNoteCopyEfCoreQueryableExtensions.cs

@ -1,19 +0,0 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy;
public static class StoreTransferNoteCopyEfCoreQueryableExtensions
{
public static IQueryable<StoreTransferNoteCopy> IncludeDetails(this IQueryable<StoreTransferNoteCopy> queryable, bool include = true)
{
if (!include)
{
return queryable;
}
return queryable
// .Include(x => x.xxx) // TODO: AbpHelper generated
;
}
}

20
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreTransferNoteCopy/StoreTransferNoteCopyRepository.cs

@ -1,20 +0,0 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.EntityFrameworkCore;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteCopy;
public class StoreTransferNoteCopyRepository : EfCoreRepository<WmsDbContext, StoreTransferNoteCopy, Guid>, IStoreTransferNoteCopyRepository
{
public StoreTransferNoteCopyRepository(IDbContextProvider<WmsDbContext> dbContextProvider) : base(dbContextProvider)
{
}
public override async Task<IQueryable<StoreTransferNoteCopy>> WithDetailsAsync()
{
return (await GetQueryableAsync()).IncludeDetails();
}
}

19
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreTransferNoteDetailCopy/StoreTransferNoteDetailCopyEfCoreQueryableExtensions.cs

@ -1,19 +0,0 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy;
public static class StoreTransferNoteDetailCopyEfCoreQueryableExtensions
{
public static IQueryable<StoreTransferNoteDetailCopy> IncludeDetails(this IQueryable<StoreTransferNoteDetailCopy> queryable, bool include = true)
{
if (!include)
{
return queryable;
}
return queryable
// .Include(x => x.xxx) // TODO: AbpHelper generated
;
}
}

20
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/StoreTransferNoteDetailCopy/StoreTransferNoteDetailCopyRepository.cs

@ -1,20 +0,0 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.EntityFrameworkCore;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.StoreTransferNoteDetailCopy;
public class StoreTransferNoteDetailCopyRepository : EfCoreRepository<WmsDbContext, StoreTransferNoteDetailCopy, Guid>, IStoreTransferNoteDetailCopyRepository
{
public StoreTransferNoteDetailCopyRepository(IDbContextProvider<WmsDbContext> dbContextProvider) : base(dbContextProvider)
{
}
public override async Task<IQueryable<StoreTransferNoteDetailCopy>> WithDetailsAsync()
{
return (await GetQueryableAsync()).IncludeDetails();
}
}

8
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/WmsHttpApiHostModule.cs

@ -74,8 +74,9 @@ namespace WinIn.FasterZ.Wms
private void ConfigureCache(IConfiguration configuration) private void ConfigureCache(IConfiguration configuration)
{ {
var redisKeyPrefix = configuration["Redis:KeyPrefix"];
//Configure<AbpDistributedCacheOptions>(options => { options.KeyPrefix = "Wms:"; }); //Configure<AbpDistributedCacheOptions>(options => { options.KeyPrefix = "Wms:"; });
Configure<AbpDistributedCacheOptions>(options => { options.KeyPrefix = "AuthSiteCenter:"; }); Configure<AbpDistributedCacheOptions>(options => { options.KeyPrefix = redisKeyPrefix + ":";});
} }
private void ConfigureVirtualFileSystem(ServiceConfigurationContext context) private void ConfigureVirtualFileSystem(ServiceConfigurationContext context)
@ -153,11 +154,12 @@ namespace WinIn.FasterZ.Wms
IConfiguration configuration, IConfiguration configuration,
IWebHostEnvironment hostingEnvironment) IWebHostEnvironment hostingEnvironment)
{ {
var dataProtectionBuilder = context.Services.AddDataProtection().SetApplicationName("Wms"); var redisKeyPrefix = configuration["Redis:KeyPrefix"];
var dataProtectionBuilder = context.Services.AddDataProtection().SetApplicationName(redisKeyPrefix);
if (!hostingEnvironment.IsDevelopment()) if (!hostingEnvironment.IsDevelopment())
{ {
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]);
dataProtectionBuilder.PersistKeysToStackExchangeRedis(redis, "Wms-Protection-Keys"); dataProtectionBuilder.PersistKeysToStackExchangeRedis(redis, $"{redisKeyPrefix}-Protection-Keys");
} }
} }

3
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/appsettings.json

@ -11,7 +11,8 @@
"Wms": "Server=dev.ccwin-in.com,13319;Database=WMS_DongYang_Main;uid=ccwin-in;pwd=Microsoft@2022;timeout=6000;Encrypt=False;" "Wms": "Server=dev.ccwin-in.com,13319;Database=WMS_DongYang_Main;uid=ccwin-in;pwd=Microsoft@2022;timeout=6000;Encrypt=False;"
}, },
"Redis": { "Redis": {
"Configuration": "127.0.0.1" "Configuration": "127.0.0.1",
"KeyPrefix": "DY_AuthSiteCenter"
}, },
"AuthServer": { "AuthServer": {
"Authority": "http://192.168.0.240:60080", "Authority": "http://192.168.0.240:60080",

Loading…
Cancel
Save