Browse Source

1

集成Redis
Zheng 1 year ago
parent
commit
cb96ac11ac
  1. 48
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePurchaseReturnNote/StorePurchaseReturnNoteAppService.cs
  2. 86
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePurchaseReturnNoteDetail/StorePurchaseReturnNoteDetailAppService.cs
  3. 50
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePurchaseReturnRequest/StorePurchaseReturnRequestAppService.cs
  4. 59
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePurchaseReturnRequestDetail/StorePurchaseReturnRequestDetailAppService.cs
  5. 47
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePutawayNote/StorePutawayNoteAppService.cs
  6. 95
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePutawayNoteDetail/StorePutawayNoteDetailAppService.cs
  7. 55
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePutawayRequest/StorePutawayRequestAppService.cs
  8. 69
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePutawayRequestDetail/StorePutawayRequestDetailAppService.cs
  9. 41
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreReceiptAbnormalNote/StoreReceiptAbnormalNoteAppService.cs
  10. 60
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreReceiptAbnormalNoteDetail/StoreReceiptAbnormalNoteDetailAppService.cs
  11. 38
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreRecycledMaterialReceiptNote/StoreRecycledMaterialReceiptNoteAppService.cs
  12. 58
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreRecycledMaterialReceiptNoteDetail/StoreRecycledMaterialReceiptNoteDetailAppService.cs
  13. 48
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreSaleOrder/StoreSaleOrderAppService.cs
  14. 49
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreSaleOrderDetail/StoreSaleOrderDetailAppService.cs
  15. 41
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreScrapNote/StoreScrapNoteAppService.cs
  16. 45
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreScrapRequest/StoreScrapRequestAppService.cs

48
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePurchaseReturnNote/StorePurchaseReturnNoteAppService.cs

@ -0,0 +1,48 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StorePurchaseReturnNote.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StorePurchaseReturnNote;
public class StorePurchaseReturnNoteAppService : CrudAppService<StorePurchaseReturnNote, StorePurchaseReturnNoteDto, Guid, StorePurchaseReturnNoteGetListInput, CreateUpdateStorePurchaseReturnNoteDto, CreateUpdateStorePurchaseReturnNoteDto>,
IStorePurchaseReturnNoteAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNote.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNote.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNote.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNote.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNote.Delete;
private readonly IStorePurchaseReturnNoteRepository _repository;
public StorePurchaseReturnNoteAppService(IStorePurchaseReturnNoteRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StorePurchaseReturnNote>> CreateFilteredQueryAsync(StorePurchaseReturnNoteGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.WhereIf(input.AsnNumber != null, x => x.AsnNumber == input.AsnNumber)
.WhereIf(input.JobNumber != null, x => x.JobNumber == input.JobNumber)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.PoNumber != null, x => x.PoNumber == input.PoNumber)
.WhereIf(input.PurchaseReturnRequestNumber != null, x => x.PurchaseReturnRequestNumber == input.PurchaseReturnRequestNumber)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(input.ReturnReason != null, x => x.ReturnReason == input.ReturnReason)
.WhereIf(input.ReturnTime != null, x => x.ReturnTime == input.ReturnTime)
.WhereIf(!input.ReturnType.IsNullOrWhiteSpace(), x => x.ReturnType.Contains(input.ReturnType))
.WhereIf(input.RpNumber != null, x => x.RpNumber == input.RpNumber)
.WhereIf(!input.Status.IsNullOrWhiteSpace(), x => x.Status.Contains(input.Status))
.WhereIf(input.StorePurchaseReturnNoteDetails != null, x => x.StorePurchaseReturnNoteDetails == input.StorePurchaseReturnNoteDetails)
.WhereIf(input.SupplierCode != null, x => x.SupplierCode == input.SupplierCode)
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}

86
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePurchaseReturnNoteDetail/StorePurchaseReturnNoteDetailAppService.cs

@ -0,0 +1,86 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StorePurchaseReturnNoteDetail.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StorePurchaseReturnNoteDetail;
public class StorePurchaseReturnNoteDetailAppService : CrudAppService<StorePurchaseReturnNoteDetail, StorePurchaseReturnNoteDetailDto, Guid, StorePurchaseReturnNoteDetailGetListInput, CreateUpdateStorePurchaseReturnNoteDetailDto, CreateUpdateStorePurchaseReturnNoteDetailDto>,
IStorePurchaseReturnNoteDetailAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNoteDetail.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNoteDetail.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNoteDetail.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNoteDetail.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnNoteDetail.Delete;
private readonly IStorePurchaseReturnNoteDetailRepository _repository;
public StorePurchaseReturnNoteDetailAppService(IStorePurchaseReturnNoteDetailRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StorePurchaseReturnNoteDetail>> CreateFilteredQueryAsync(StorePurchaseReturnNoteDetailGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ArriveDate != null, x => x.ArriveDate == input.ArriveDate)
.WhereIf(input.ContainerCode != null, x => x.ContainerCode == input.ContainerCode)
.WhereIf(input.ExpireDate != null, x => x.ExpireDate == input.ExpireDate)
.WhereIf(input.HandledArriveDate != null, x => x.HandledArriveDate == input.HandledArriveDate)
.WhereIf(input.HandledContainerCode != null, x => x.HandledContainerCode == input.HandledContainerCode)
.WhereIf(input.HandledExpireDate != null, x => x.HandledExpireDate == input.HandledExpireDate)
.WhereIf(input.HandledFromLocationArea != null, x => x.HandledFromLocationArea == input.HandledFromLocationArea)
.WhereIf(input.HandledFromLocationCode != null, x => x.HandledFromLocationCode == input.HandledFromLocationCode)
.WhereIf(input.HandledFromLocationErpCode != null, x => x.HandledFromLocationErpCode == input.HandledFromLocationErpCode)
.WhereIf(input.HandledFromLocationGroup != null, x => x.HandledFromLocationGroup == input.HandledFromLocationGroup)
.WhereIf(input.HandledFromWarehouseCode != null, x => x.HandledFromWarehouseCode == input.HandledFromWarehouseCode)
.WhereIf(input.HandledLot != null, x => x.HandledLot == input.HandledLot)
.WhereIf(input.HandledPackingCode != null, x => x.HandledPackingCode == input.HandledPackingCode)
.WhereIf(input.HandledProduceDate != null, x => x.HandledProduceDate == input.HandledProduceDate)
.WhereIf(input.HandledQty != null, x => x.HandledQty == input.HandledQty)
.WhereIf(input.HandledSupplierBatch != null, x => x.HandledSupplierBatch == input.HandledSupplierBatch)
.WhereIf(!input.ItemCode.IsNullOrWhiteSpace(), x => x.ItemCode.Contains(input.ItemCode))
.WhereIf(input.ItemDesc1 != null, x => x.ItemDesc1 == input.ItemDesc1)
.WhereIf(input.ItemDesc2 != null, x => x.ItemDesc2 == input.ItemDesc2)
.WhereIf(input.ItemName != null, x => x.ItemName == input.ItemName)
.WhereIf(input.LocationArea != null, x => x.LocationArea == input.LocationArea)
.WhereIf(!input.LocationCode.IsNullOrWhiteSpace(), x => x.LocationCode.Contains(input.LocationCode))
.WhereIf(!input.LocationErpCode.IsNullOrWhiteSpace(), x => x.LocationErpCode.Contains(input.LocationErpCode))
.WhereIf(input.LocationGroup != null, x => x.LocationGroup == input.LocationGroup)
.WhereIf(input.Lot != null, x => x.Lot == input.Lot)
.WhereIf(input.Master != null, x => x.Master == input.Master)
.WhereIf(input.MasterId != null, x => x.MasterId == input.MasterId)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(!input.PackingCode.IsNullOrWhiteSpace(), x => x.PackingCode.Contains(input.PackingCode))
.WhereIf(input.PoLine != null, x => x.PoLine == input.PoLine)
.WhereIf(input.PoNumber != null, x => x.PoNumber == input.PoNumber)
.WhereIf(input.ProduceDate != null, x => x.ProduceDate == input.ProduceDate)
.WhereIf(input.Qty != null, x => x.Qty == input.Qty)
.WhereIf(input.Reason != null, x => x.Reason == input.Reason)
.WhereIf(input.RecommendArriveDate != null, x => x.RecommendArriveDate == input.RecommendArriveDate)
.WhereIf(input.RecommendContainerCode != null, x => x.RecommendContainerCode == input.RecommendContainerCode)
.WhereIf(input.RecommendExpireDate != null, x => x.RecommendExpireDate == input.RecommendExpireDate)
.WhereIf(input.RecommendFromLocationArea != null, x => x.RecommendFromLocationArea == input.RecommendFromLocationArea)
.WhereIf(input.RecommendFromLocationCode != null, x => x.RecommendFromLocationCode == input.RecommendFromLocationCode)
.WhereIf(input.RecommendFromLocationErpCode != null, x => x.RecommendFromLocationErpCode == input.RecommendFromLocationErpCode)
.WhereIf(input.RecommendFromLocationGroup != null, x => x.RecommendFromLocationGroup == input.RecommendFromLocationGroup)
.WhereIf(input.RecommendFromWarehouseCode != null, x => x.RecommendFromWarehouseCode == input.RecommendFromWarehouseCode)
.WhereIf(input.RecommendLot != null, x => x.RecommendLot == input.RecommendLot)
.WhereIf(input.RecommendPackingCode != null, x => x.RecommendPackingCode == input.RecommendPackingCode)
.WhereIf(input.RecommendProduceDate != null, x => x.RecommendProduceDate == input.RecommendProduceDate)
.WhereIf(input.RecommendQty != null, x => x.RecommendQty == input.RecommendQty)
.WhereIf(input.RecommendSupplierBatch != null, x => x.RecommendSupplierBatch == input.RecommendSupplierBatch)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(!input.Status.IsNullOrWhiteSpace(), x => x.Status.Contains(input.Status))
.WhereIf(input.StdPackQty != null, x => x.StdPackQty == input.StdPackQty)
.WhereIf(input.SupplierBatch != null, x => x.SupplierBatch == input.SupplierBatch)
.WhereIf(!input.Uom.IsNullOrWhiteSpace(), x => x.Uom.Contains(input.Uom))
.WhereIf(!input.WarehouseCode.IsNullOrWhiteSpace(), x => x.WarehouseCode.Contains(input.WarehouseCode))
;
}
}

50
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePurchaseReturnRequest/StorePurchaseReturnRequestAppService.cs

@ -0,0 +1,50 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StorePurchaseReturnRequest.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StorePurchaseReturnRequest;
public class StorePurchaseReturnRequestAppService : CrudAppService<StorePurchaseReturnRequest, StorePurchaseReturnRequestDto, Guid, StorePurchaseReturnRequestGetListInput, CreateUpdateStorePurchaseReturnRequestDto, CreateUpdateStorePurchaseReturnRequestDto>,
IStorePurchaseReturnRequestAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequest.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequest.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequest.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequest.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequest.Delete;
private readonly IStorePurchaseReturnRequestRepository _repository;
public StorePurchaseReturnRequestAppService(IStorePurchaseReturnRequestRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StorePurchaseReturnRequest>> CreateFilteredQueryAsync(StorePurchaseReturnRequestGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.WhereIf(input.AsnNumber != null, x => x.AsnNumber == input.AsnNumber)
.WhereIf(input.AutoAgree != null, x => x.AutoAgree == input.AutoAgree)
.WhereIf(input.AutoCompleteJob != null, x => x.AutoCompleteJob == input.AutoCompleteJob)
.WhereIf(input.AutoHandle != null, x => x.AutoHandle == input.AutoHandle)
.WhereIf(input.AutoSubmit != null, x => x.AutoSubmit == input.AutoSubmit)
.WhereIf(input.DirectCreateNote != null, x => x.DirectCreateNote == input.DirectCreateNote)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.PoNumber != null, x => x.PoNumber == input.PoNumber)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(!input.RequestStatus.IsNullOrWhiteSpace(), x => x.RequestStatus.Contains(input.RequestStatus))
.WhereIf(input.ReturnTime != null, x => x.ReturnTime == input.ReturnTime)
.WhereIf(!input.ReturnType.IsNullOrWhiteSpace(), x => x.ReturnType.Contains(input.ReturnType))
.WhereIf(input.RpNumber != null, x => x.RpNumber == input.RpNumber)
.WhereIf(input.StorePurchaseReturnRequestDetails != null, x => x.StorePurchaseReturnRequestDetails == input.StorePurchaseReturnRequestDetails)
.WhereIf(input.SupplierCode != null, x => x.SupplierCode == input.SupplierCode)
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}

59
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePurchaseReturnRequestDetail/StorePurchaseReturnRequestDetailAppService.cs

@ -0,0 +1,59 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StorePurchaseReturnRequestDetail.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StorePurchaseReturnRequestDetail;
public class StorePurchaseReturnRequestDetailAppService : CrudAppService<StorePurchaseReturnRequestDetail, StorePurchaseReturnRequestDetailDto, Guid, StorePurchaseReturnRequestDetailGetListInput, CreateUpdateStorePurchaseReturnRequestDetailDto, CreateUpdateStorePurchaseReturnRequestDetailDto>,
IStorePurchaseReturnRequestDetailAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequestDetail.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequestDetail.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequestDetail.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequestDetail.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StorePurchaseReturnRequestDetail.Delete;
private readonly IStorePurchaseReturnRequestDetailRepository _repository;
public StorePurchaseReturnRequestDetailAppService(IStorePurchaseReturnRequestDetailRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StorePurchaseReturnRequestDetail>> CreateFilteredQueryAsync(StorePurchaseReturnRequestDetailGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ArriveDate != null, x => x.ArriveDate == input.ArriveDate)
.WhereIf(input.ContainerCode != null, x => x.ContainerCode == input.ContainerCode)
.WhereIf(input.ExpireDate != null, x => x.ExpireDate == input.ExpireDate)
.WhereIf(!input.ItemCode.IsNullOrWhiteSpace(), x => x.ItemCode.Contains(input.ItemCode))
.WhereIf(input.ItemDesc1 != null, x => x.ItemDesc1 == input.ItemDesc1)
.WhereIf(input.ItemDesc2 != null, x => x.ItemDesc2 == input.ItemDesc2)
.WhereIf(input.ItemName != null, x => x.ItemName == input.ItemName)
.WhereIf(input.LocationArea != null, x => x.LocationArea == input.LocationArea)
.WhereIf(!input.LocationCode.IsNullOrWhiteSpace(), x => x.LocationCode.Contains(input.LocationCode))
.WhereIf(!input.LocationErpCode.IsNullOrWhiteSpace(), x => x.LocationErpCode.Contains(input.LocationErpCode))
.WhereIf(input.LocationGroup != null, x => x.LocationGroup == input.LocationGroup)
.WhereIf(input.Lot != null, x => x.Lot == input.Lot)
.WhereIf(input.Master != null, x => x.Master == input.Master)
.WhereIf(input.MasterId != null, x => x.MasterId == input.MasterId)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(!input.PackingCode.IsNullOrWhiteSpace(), x => x.PackingCode.Contains(input.PackingCode))
.WhereIf(input.PoLine != null, x => x.PoLine == input.PoLine)
.WhereIf(input.PoNumber != null, x => x.PoNumber == input.PoNumber)
.WhereIf(input.ProduceDate != null, x => x.ProduceDate == input.ProduceDate)
.WhereIf(input.Qty != null, x => x.Qty == input.Qty)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(!input.Status.IsNullOrWhiteSpace(), x => x.Status.Contains(input.Status))
.WhereIf(input.StdPackQty != null, x => x.StdPackQty == input.StdPackQty)
.WhereIf(input.SupplierBatch != null, x => x.SupplierBatch == input.SupplierBatch)
.WhereIf(!input.Uom.IsNullOrWhiteSpace(), x => x.Uom.Contains(input.Uom))
.WhereIf(!input.WarehouseCode.IsNullOrWhiteSpace(), x => x.WarehouseCode.Contains(input.WarehouseCode))
;
}
}

47
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePutawayNote/StorePutawayNoteAppService.cs

@ -0,0 +1,47 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StorePutawayNote.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StorePutawayNote;
public class StorePutawayNoteAppService : CrudAppService<StorePutawayNote, StorePutawayNoteDto, Guid, StorePutawayNoteGetListInput, CreateUpdateStorePutawayNoteDto, CreateUpdateStorePutawayNoteDto>,
IStorePutawayNoteAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StorePutawayNote.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StorePutawayNote.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StorePutawayNote.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StorePutawayNote.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StorePutawayNote.Delete;
private readonly IStorePutawayNoteRepository _repository;
public StorePutawayNoteAppService(IStorePutawayNoteRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StorePutawayNote>> CreateFilteredQueryAsync(StorePutawayNoteGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.WhereIf(input.AsnNumber != null, x => x.AsnNumber == input.AsnNumber)
.WhereIf(input.InspectNumber != null, x => x.InspectNumber == input.InspectNumber)
.WhereIf(input.JobNumber != null, x => x.JobNumber == input.JobNumber)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.ProductReceiptNumber != null, x => x.ProductReceiptNumber == input.ProductReceiptNumber)
.WhereIf(input.PurchaseReceiptRequestNumber != null, x => x.PurchaseReceiptRequestNumber == input.PurchaseReceiptRequestNumber)
.WhereIf(input.ReceiptNumber != null, x => x.ReceiptNumber == input.ReceiptNumber)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(input.RpNumber != null, x => x.RpNumber == input.RpNumber)
.WhereIf(input.StorePutawayNoteDetails != null, x => x.StorePutawayNoteDetails == input.StorePutawayNoteDetails)
.WhereIf(input.SupplierCode != null, x => x.SupplierCode == input.SupplierCode)
.WhereIf(!input.Type.IsNullOrWhiteSpace(), x => x.Type.Contains(input.Type))
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}

95
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePutawayNoteDetail/StorePutawayNoteDetailAppService.cs

@ -0,0 +1,95 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StorePutawayNoteDetail.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StorePutawayNoteDetail;
public class StorePutawayNoteDetailAppService : CrudAppService<StorePutawayNoteDetail, StorePutawayNoteDetailDto, Guid, StorePutawayNoteDetailGetListInput, CreateUpdateStorePutawayNoteDetailDto, CreateUpdateStorePutawayNoteDetailDto>,
IStorePutawayNoteDetailAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StorePutawayNoteDetail.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StorePutawayNoteDetail.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StorePutawayNoteDetail.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StorePutawayNoteDetail.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StorePutawayNoteDetail.Delete;
private readonly IStorePutawayNoteDetailRepository _repository;
public StorePutawayNoteDetailAppService(IStorePutawayNoteDetailRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StorePutawayNoteDetail>> CreateFilteredQueryAsync(StorePutawayNoteDetailGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ArriveDate != null, x => x.ArriveDate == input.ArriveDate)
.WhereIf(input.ExpireDate != null, x => x.ExpireDate == input.ExpireDate)
.WhereIf(input.FromContainerCode != null, x => x.FromContainerCode == input.FromContainerCode)
.WhereIf(input.FromLocationArea != null, x => x.FromLocationArea == input.FromLocationArea)
.WhereIf(!input.FromLocationCode.IsNullOrWhiteSpace(), x => x.FromLocationCode.Contains(input.FromLocationCode))
.WhereIf(!input.FromLocationErpCode.IsNullOrWhiteSpace(), x => x.FromLocationErpCode.Contains(input.FromLocationErpCode))
.WhereIf(input.FromLocationGroup != null, x => x.FromLocationGroup == input.FromLocationGroup)
.WhereIf(input.FromLot != null, x => x.FromLot == input.FromLot)
.WhereIf(input.FromPackingCode != null, x => x.FromPackingCode == input.FromPackingCode)
.WhereIf(!input.FromStatus.IsNullOrWhiteSpace(), x => x.FromStatus.Contains(input.FromStatus))
.WhereIf(!input.FromWarehouseCode.IsNullOrWhiteSpace(), x => x.FromWarehouseCode.Contains(input.FromWarehouseCode))
.WhereIf(input.HandledArriveDate != null, x => x.HandledArriveDate == input.HandledArriveDate)
.WhereIf(input.HandledContainerCode != null, x => x.HandledContainerCode == input.HandledContainerCode)
.WhereIf(input.HandledExpireDate != null, x => x.HandledExpireDate == input.HandledExpireDate)
.WhereIf(input.HandledLot != null, x => x.HandledLot == input.HandledLot)
.WhereIf(input.HandledPackingCode != null, x => x.HandledPackingCode == input.HandledPackingCode)
.WhereIf(input.HandledProduceDate != null, x => x.HandledProduceDate == input.HandledProduceDate)
.WhereIf(input.HandledQty != null, x => x.HandledQty == input.HandledQty)
.WhereIf(input.HandledSupplierBatch != null, x => x.HandledSupplierBatch == input.HandledSupplierBatch)
.WhereIf(input.HandledToLocationArea != null, x => x.HandledToLocationArea == input.HandledToLocationArea)
.WhereIf(input.HandledToLocationCode != null, x => x.HandledToLocationCode == input.HandledToLocationCode)
.WhereIf(input.HandledToLocationErpCode != null, x => x.HandledToLocationErpCode == input.HandledToLocationErpCode)
.WhereIf(input.HandledToLocationGroup != null, x => x.HandledToLocationGroup == input.HandledToLocationGroup)
.WhereIf(input.HandledToWarehouseCode != null, x => x.HandledToWarehouseCode == input.HandledToWarehouseCode)
.WhereIf(!input.ItemCode.IsNullOrWhiteSpace(), x => x.ItemCode.Contains(input.ItemCode))
.WhereIf(input.ItemDesc1 != null, x => x.ItemDesc1 == input.ItemDesc1)
.WhereIf(input.ItemDesc2 != null, x => x.ItemDesc2 == input.ItemDesc2)
.WhereIf(input.ItemName != null, x => x.ItemName == input.ItemName)
.WhereIf(input.JobNumber != null, x => x.JobNumber == input.JobNumber)
.WhereIf(input.Master != null, x => x.Master == input.Master)
.WhereIf(input.MasterId != null, x => x.MasterId == input.MasterId)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.PoLine != null, x => x.PoLine == input.PoLine)
.WhereIf(input.PoNumber != null, x => x.PoNumber == input.PoNumber)
.WhereIf(input.ProduceDate != null, x => x.ProduceDate == input.ProduceDate)
.WhereIf(input.Qty != null, x => x.Qty == input.Qty)
.WhereIf(input.RecommendArriveDate != null, x => x.RecommendArriveDate == input.RecommendArriveDate)
.WhereIf(input.RecommendContainerCode != null, x => x.RecommendContainerCode == input.RecommendContainerCode)
.WhereIf(input.RecommendExpireDate != null, x => x.RecommendExpireDate == input.RecommendExpireDate)
.WhereIf(input.RecommendLot != null, x => x.RecommendLot == input.RecommendLot)
.WhereIf(input.RecommendPackingCode != null, x => x.RecommendPackingCode == input.RecommendPackingCode)
.WhereIf(input.RecommendProduceDate != null, x => x.RecommendProduceDate == input.RecommendProduceDate)
.WhereIf(input.RecommendQty != null, x => x.RecommendQty == input.RecommendQty)
.WhereIf(input.RecommendSupplierBatch != null, x => x.RecommendSupplierBatch == input.RecommendSupplierBatch)
.WhereIf(input.RecommendToLocationArea != null, x => x.RecommendToLocationArea == input.RecommendToLocationArea)
.WhereIf(input.RecommendToLocationCode != null, x => x.RecommendToLocationCode == input.RecommendToLocationCode)
.WhereIf(input.RecommendToLocationErpCode != null, x => x.RecommendToLocationErpCode == input.RecommendToLocationErpCode)
.WhereIf(input.RecommendToLocationGroup != null, x => x.RecommendToLocationGroup == input.RecommendToLocationGroup)
.WhereIf(input.RecommendToWarehouseCode != null, x => x.RecommendToWarehouseCode == input.RecommendToWarehouseCode)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(input.StdPackQty != null, x => x.StdPackQty == input.StdPackQty)
.WhereIf(input.SupplierBatch != null, x => x.SupplierBatch == input.SupplierBatch)
.WhereIf(input.ToContainerCode != null, x => x.ToContainerCode == input.ToContainerCode)
.WhereIf(input.ToLocationArea != null, x => x.ToLocationArea == input.ToLocationArea)
.WhereIf(!input.ToLocationCode.IsNullOrWhiteSpace(), x => x.ToLocationCode.Contains(input.ToLocationCode))
.WhereIf(!input.ToLocationErpCode.IsNullOrWhiteSpace(), x => x.ToLocationErpCode.Contains(input.ToLocationErpCode))
.WhereIf(input.ToLocationGroup != null, x => x.ToLocationGroup == input.ToLocationGroup)
.WhereIf(input.ToLot != null, x => x.ToLot == input.ToLot)
.WhereIf(input.ToPackingCode != null, x => x.ToPackingCode == input.ToPackingCode)
.WhereIf(!input.ToStatus.IsNullOrWhiteSpace(), x => x.ToStatus.Contains(input.ToStatus))
.WhereIf(!input.ToWarehouseCode.IsNullOrWhiteSpace(), x => x.ToWarehouseCode.Contains(input.ToWarehouseCode))
.WhereIf(!input.Uom.IsNullOrWhiteSpace(), x => x.Uom.Contains(input.Uom))
;
}
}

55
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePutawayRequest/StorePutawayRequestAppService.cs

@ -0,0 +1,55 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StorePutawayRequest.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StorePutawayRequest;
public class StorePutawayRequestAppService : CrudAppService<StorePutawayRequest, StorePutawayRequestDto, Guid, StorePutawayRequestGetListInput, CreateUpdateStorePutawayRequestDto, CreateUpdateStorePutawayRequestDto>,
IStorePutawayRequestAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StorePutawayRequest.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StorePutawayRequest.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StorePutawayRequest.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StorePutawayRequest.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StorePutawayRequest.Delete;
private readonly IStorePutawayRequestRepository _repository;
public StorePutawayRequestAppService(IStorePutawayRequestRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StorePutawayRequest>> CreateFilteredQueryAsync(StorePutawayRequestGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.WhereIf(input.AsnNumber != null, x => x.AsnNumber == input.AsnNumber)
.WhereIf(input.AutoAgree != null, x => x.AutoAgree == input.AutoAgree)
.WhereIf(input.AutoCompleteJob != null, x => x.AutoCompleteJob == input.AutoCompleteJob)
.WhereIf(input.AutoHandle != null, x => x.AutoHandle == input.AutoHandle)
.WhereIf(input.AutoSubmit != null, x => x.AutoSubmit == input.AutoSubmit)
.WhereIf(input.DirectCreateNote != null, x => x.DirectCreateNote == input.DirectCreateNote)
.WhereIf(input.InspectNumber != null, x => x.InspectNumber == input.InspectNumber)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.PoNumber != null, x => x.PoNumber == input.PoNumber)
.WhereIf(input.ProductReceiptNumber != null, x => x.ProductReceiptNumber == input.ProductReceiptNumber)
.WhereIf(input.PurchaseReceiptRequestNumber != null, x => x.PurchaseReceiptRequestNumber == input.PurchaseReceiptRequestNumber)
.WhereIf(!input.PutawayMode.IsNullOrWhiteSpace(), x => x.PutawayMode.Contains(input.PutawayMode))
.WhereIf(input.ReceiptNumber != null, x => x.ReceiptNumber == input.ReceiptNumber)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(input.RequestNumber != null, x => x.RequestNumber == input.RequestNumber)
.WhereIf(!input.RequestStatus.IsNullOrWhiteSpace(), x => x.RequestStatus.Contains(input.RequestStatus))
.WhereIf(input.RpNumber != null, x => x.RpNumber == input.RpNumber)
.WhereIf(input.StorePutawayRequestDetails != null, x => x.StorePutawayRequestDetails == input.StorePutawayRequestDetails)
.WhereIf(input.SupplierCode != null, x => x.SupplierCode == input.SupplierCode)
.WhereIf(!input.Type.IsNullOrWhiteSpace(), x => x.Type.Contains(input.Type))
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}

69
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StorePutawayRequestDetail/StorePutawayRequestDetailAppService.cs

@ -0,0 +1,69 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StorePutawayRequestDetail.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StorePutawayRequestDetail;
public class StorePutawayRequestDetailAppService : CrudAppService<StorePutawayRequestDetail, StorePutawayRequestDetailDto, Guid, StorePutawayRequestDetailGetListInput, CreateUpdateStorePutawayRequestDetailDto, CreateUpdateStorePutawayRequestDetailDto>,
IStorePutawayRequestDetailAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StorePutawayRequestDetail.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StorePutawayRequestDetail.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StorePutawayRequestDetail.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StorePutawayRequestDetail.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StorePutawayRequestDetail.Delete;
private readonly IStorePutawayRequestDetailRepository _repository;
public StorePutawayRequestDetailAppService(IStorePutawayRequestDetailRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StorePutawayRequestDetail>> CreateFilteredQueryAsync(StorePutawayRequestDetailGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ArriveDate != null, x => x.ArriveDate == input.ArriveDate)
.WhereIf(input.ExpireDate != null, x => x.ExpireDate == input.ExpireDate)
.WhereIf(input.FromContainerCode != null, x => x.FromContainerCode == input.FromContainerCode)
.WhereIf(input.FromLocationArea != null, x => x.FromLocationArea == input.FromLocationArea)
.WhereIf(!input.FromLocationCode.IsNullOrWhiteSpace(), x => x.FromLocationCode.Contains(input.FromLocationCode))
.WhereIf(!input.FromLocationErpCode.IsNullOrWhiteSpace(), x => x.FromLocationErpCode.Contains(input.FromLocationErpCode))
.WhereIf(input.FromLocationGroup != null, x => x.FromLocationGroup == input.FromLocationGroup)
.WhereIf(input.FromLot != null, x => x.FromLot == input.FromLot)
.WhereIf(input.FromPackingCode != null, x => x.FromPackingCode == input.FromPackingCode)
.WhereIf(!input.FromStatus.IsNullOrWhiteSpace(), x => x.FromStatus.Contains(input.FromStatus))
.WhereIf(!input.FromWarehouseCode.IsNullOrWhiteSpace(), x => x.FromWarehouseCode.Contains(input.FromWarehouseCode))
.WhereIf(input.InventoryQty != null, x => x.InventoryQty == input.InventoryQty)
.WhereIf(!input.ItemCode.IsNullOrWhiteSpace(), x => x.ItemCode.Contains(input.ItemCode))
.WhereIf(input.ItemDesc1 != null, x => x.ItemDesc1 == input.ItemDesc1)
.WhereIf(input.ItemDesc2 != null, x => x.ItemDesc2 == input.ItemDesc2)
.WhereIf(input.ItemName != null, x => x.ItemName == input.ItemName)
.WhereIf(input.Master != null, x => x.Master == input.Master)
.WhereIf(input.MasterId != null, x => x.MasterId == input.MasterId)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.PoLine != null, x => x.PoLine == input.PoLine)
.WhereIf(input.PoNumber != null, x => x.PoNumber == input.PoNumber)
.WhereIf(input.ProduceDate != null, x => x.ProduceDate == input.ProduceDate)
.WhereIf(input.Qty != null, x => x.Qty == input.Qty)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(input.StdPackQty != null, x => x.StdPackQty == input.StdPackQty)
.WhereIf(input.SupplierBatch != null, x => x.SupplierBatch == input.SupplierBatch)
.WhereIf(input.ToContainerCode != null, x => x.ToContainerCode == input.ToContainerCode)
.WhereIf(input.ToLocationArea != null, x => x.ToLocationArea == input.ToLocationArea)
.WhereIf(!input.ToLocationCode.IsNullOrWhiteSpace(), x => x.ToLocationCode.Contains(input.ToLocationCode))
.WhereIf(!input.ToLocationErpCode.IsNullOrWhiteSpace(), x => x.ToLocationErpCode.Contains(input.ToLocationErpCode))
.WhereIf(input.ToLocationGroup != null, x => x.ToLocationGroup == input.ToLocationGroup)
.WhereIf(input.ToLot != null, x => x.ToLot == input.ToLot)
.WhereIf(input.ToPackingCode != null, x => x.ToPackingCode == input.ToPackingCode)
.WhereIf(!input.ToStatus.IsNullOrWhiteSpace(), x => x.ToStatus.Contains(input.ToStatus))
.WhereIf(!input.ToWarehouseCode.IsNullOrWhiteSpace(), x => x.ToWarehouseCode.Contains(input.ToWarehouseCode))
.WhereIf(!input.Uom.IsNullOrWhiteSpace(), x => x.Uom.Contains(input.Uom))
;
}
}

41
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreReceiptAbnormalNote/StoreReceiptAbnormalNoteAppService.cs

@ -0,0 +1,41 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreReceiptAbnormalNote.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreReceiptAbnormalNote;
public class StoreReceiptAbnormalNoteAppService : CrudAppService<StoreReceiptAbnormalNote, StoreReceiptAbnormalNoteDto, Guid, StoreReceiptAbnormalNoteGetListInput, CreateUpdateStoreReceiptAbnormalNoteDto, CreateUpdateStoreReceiptAbnormalNoteDto>,
IStoreReceiptAbnormalNoteAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNote.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNote.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNote.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNote.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNote.Delete;
private readonly IStoreReceiptAbnormalNoteRepository _repository;
public StoreReceiptAbnormalNoteAppService(IStoreReceiptAbnormalNoteRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StoreReceiptAbnormalNote>> CreateFilteredQueryAsync(StoreReceiptAbnormalNoteGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.WhereIf(!input.AsnNumber.IsNullOrWhiteSpace(), x => x.AsnNumber.Contains(input.AsnNumber))
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(!input.ReceiptNumber.IsNullOrWhiteSpace(), x => x.ReceiptNumber.Contains(input.ReceiptNumber))
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(input.StoreReceiptAbnormalNoteDetails != null, x => x.StoreReceiptAbnormalNoteDetails == input.StoreReceiptAbnormalNoteDetails)
.WhereIf(!input.SupplierCode.IsNullOrWhiteSpace(), x => x.SupplierCode.Contains(input.SupplierCode))
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}

60
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreReceiptAbnormalNoteDetail/StoreReceiptAbnormalNoteDetailAppService.cs

@ -0,0 +1,60 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreReceiptAbnormalNoteDetail.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreReceiptAbnormalNoteDetail;
public class StoreReceiptAbnormalNoteDetailAppService : CrudAppService<StoreReceiptAbnormalNoteDetail, StoreReceiptAbnormalNoteDetailDto, Guid, StoreReceiptAbnormalNoteDetailGetListInput, CreateUpdateStoreReceiptAbnormalNoteDetailDto, CreateUpdateStoreReceiptAbnormalNoteDetailDto>,
IStoreReceiptAbnormalNoteDetailAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNoteDetail.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNoteDetail.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNoteDetail.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNoteDetail.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreReceiptAbnormalNoteDetail.Delete;
private readonly IStoreReceiptAbnormalNoteDetailRepository _repository;
public StoreReceiptAbnormalNoteDetailAppService(IStoreReceiptAbnormalNoteDetailRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StoreReceiptAbnormalNoteDetail>> CreateFilteredQueryAsync(StoreReceiptAbnormalNoteDetailGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(!input.AbnormalType.IsNullOrWhiteSpace(), x => x.AbnormalType.Contains(input.AbnormalType))
.WhereIf(input.ArriveDate != null, x => x.ArriveDate == input.ArriveDate)
.WhereIf(input.ContainerCode != null, x => x.ContainerCode == input.ContainerCode)
.WhereIf(input.ExpireDate != null, x => x.ExpireDate == input.ExpireDate)
.WhereIf(!input.ItemCode.IsNullOrWhiteSpace(), x => x.ItemCode.Contains(input.ItemCode))
.WhereIf(input.ItemDesc1 != null, x => x.ItemDesc1 == input.ItemDesc1)
.WhereIf(input.ItemDesc2 != null, x => x.ItemDesc2 == input.ItemDesc2)
.WhereIf(input.ItemName != null, x => x.ItemName == input.ItemName)
.WhereIf(input.LocationArea != null, x => x.LocationArea == input.LocationArea)
.WhereIf(!input.LocationCode.IsNullOrWhiteSpace(), x => x.LocationCode.Contains(input.LocationCode))
.WhereIf(!input.LocationErpCode.IsNullOrWhiteSpace(), x => x.LocationErpCode.Contains(input.LocationErpCode))
.WhereIf(input.LocationGroup != null, x => x.LocationGroup == input.LocationGroup)
.WhereIf(input.Lot != null, x => x.Lot == input.Lot)
.WhereIf(input.Master != null, x => x.Master == input.Master)
.WhereIf(input.MasterId != null, x => x.MasterId == input.MasterId)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(!input.PackingCode.IsNullOrWhiteSpace(), x => x.PackingCode.Contains(input.PackingCode))
.WhereIf(input.Photos != null, x => x.Photos == input.Photos)
.WhereIf(input.ProduceDate != null, x => x.ProduceDate == input.ProduceDate)
.WhereIf(input.Qty != null, x => x.Qty == input.Qty)
.WhereIf(!input.ReceiptNumber.IsNullOrWhiteSpace(), x => x.ReceiptNumber.Contains(input.ReceiptNumber))
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(!input.Status.IsNullOrWhiteSpace(), x => x.Status.Contains(input.Status))
.WhereIf(input.StdPackQty != null, x => x.StdPackQty == input.StdPackQty)
.WhereIf(input.SupplierBatch != null, x => x.SupplierBatch == input.SupplierBatch)
.WhereIf(!input.Uom.IsNullOrWhiteSpace(), x => x.Uom.Contains(input.Uom))
.WhereIf(!input.WarehouseCode.IsNullOrWhiteSpace(), x => x.WarehouseCode.Contains(input.WarehouseCode))
;
}
}

38
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreRecycledMaterialReceiptNote/StoreRecycledMaterialReceiptNoteAppService.cs

@ -0,0 +1,38 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreRecycledMaterialReceiptNote.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreRecycledMaterialReceiptNote;
public class StoreRecycledMaterialReceiptNoteAppService : CrudAppService<StoreRecycledMaterialReceiptNote, StoreRecycledMaterialReceiptNoteDto, Guid, StoreRecycledMaterialReceiptNoteGetListInput, CreateUpdateStoreRecycledMaterialReceiptNoteDto, CreateUpdateStoreRecycledMaterialReceiptNoteDto>,
IStoreRecycledMaterialReceiptNoteAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNote.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNote.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNote.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNote.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNote.Delete;
private readonly IStoreRecycledMaterialReceiptNoteRepository _repository;
public StoreRecycledMaterialReceiptNoteAppService(IStoreRecycledMaterialReceiptNoteRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StoreRecycledMaterialReceiptNote>> CreateFilteredQueryAsync(StoreRecycledMaterialReceiptNoteGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(input.StoreRecycledMaterialReceiptNoteDetails != null, x => x.StoreRecycledMaterialReceiptNoteDetails == input.StoreRecycledMaterialReceiptNoteDetails)
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}

58
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreRecycledMaterialReceiptNoteDetail/StoreRecycledMaterialReceiptNoteDetailAppService.cs

@ -0,0 +1,58 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreRecycledMaterialReceiptNoteDetail.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreRecycledMaterialReceiptNoteDetail;
public class StoreRecycledMaterialReceiptNoteDetailAppService : CrudAppService<StoreRecycledMaterialReceiptNoteDetail, StoreRecycledMaterialReceiptNoteDetailDto, Guid, StoreRecycledMaterialReceiptNoteDetailGetListInput, CreateUpdateStoreRecycledMaterialReceiptNoteDetailDto, CreateUpdateStoreRecycledMaterialReceiptNoteDetailDto>,
IStoreRecycledMaterialReceiptNoteDetailAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNoteDetail.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNoteDetail.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNoteDetail.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNoteDetail.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreRecycledMaterialReceiptNoteDetail.Delete;
private readonly IStoreRecycledMaterialReceiptNoteDetailRepository _repository;
public StoreRecycledMaterialReceiptNoteDetailAppService(IStoreRecycledMaterialReceiptNoteDetailRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StoreRecycledMaterialReceiptNoteDetail>> CreateFilteredQueryAsync(StoreRecycledMaterialReceiptNoteDetailGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ArriveDate != null, x => x.ArriveDate == input.ArriveDate)
.WhereIf(input.ContainerCode != null, x => x.ContainerCode == input.ContainerCode)
.WhereIf(input.ExpireDate != null, x => x.ExpireDate == input.ExpireDate)
.WhereIf(!input.ItemCode.IsNullOrWhiteSpace(), x => x.ItemCode.Contains(input.ItemCode))
.WhereIf(input.ItemDesc1 != null, x => x.ItemDesc1 == input.ItemDesc1)
.WhereIf(input.ItemDesc2 != null, x => x.ItemDesc2 == input.ItemDesc2)
.WhereIf(input.ItemName != null, x => x.ItemName == input.ItemName)
.WhereIf(input.LocationArea != null, x => x.LocationArea == input.LocationArea)
.WhereIf(!input.LocationCode.IsNullOrWhiteSpace(), x => x.LocationCode.Contains(input.LocationCode))
.WhereIf(!input.LocationErpCode.IsNullOrWhiteSpace(), x => x.LocationErpCode.Contains(input.LocationErpCode))
.WhereIf(input.LocationGroup != null, x => x.LocationGroup == input.LocationGroup)
.WhereIf(input.Lot != null, x => x.Lot == input.Lot)
.WhereIf(input.Master != null, x => x.Master == input.Master)
.WhereIf(input.MasterId != null, x => x.MasterId == input.MasterId)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(!input.PackingCode.IsNullOrWhiteSpace(), x => x.PackingCode.Contains(input.PackingCode))
.WhereIf(input.ProduceDate != null, x => x.ProduceDate == input.ProduceDate)
.WhereIf(input.Qty != null, x => x.Qty == input.Qty)
.WhereIf(input.ReasonCode != null, x => x.ReasonCode == input.ReasonCode)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(!input.Status.IsNullOrWhiteSpace(), x => x.Status.Contains(input.Status))
.WhereIf(input.StdPackQty != null, x => x.StdPackQty == input.StdPackQty)
.WhereIf(input.SupplierBatch != null, x => x.SupplierBatch == input.SupplierBatch)
.WhereIf(!input.Uom.IsNullOrWhiteSpace(), x => x.Uom.Contains(input.Uom))
.WhereIf(!input.WarehouseCode.IsNullOrWhiteSpace(), x => x.WarehouseCode.Contains(input.WarehouseCode))
;
}
}

48
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreSaleOrder/StoreSaleOrderAppService.cs

@ -0,0 +1,48 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreSaleOrder.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreSaleOrder;
public class StoreSaleOrderAppService : CrudAppService<StoreSaleOrder, StoreSaleOrderDto, Guid, StoreSaleOrderGetListInput, CreateUpdateStoreSaleOrderDto, CreateUpdateStoreSaleOrderDto>,
IStoreSaleOrderAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreSaleOrder.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreSaleOrder.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreSaleOrder.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreSaleOrder.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreSaleOrder.Delete;
private readonly IStoreSaleOrderRepository _repository;
public StoreSaleOrderAppService(IStoreSaleOrderRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StoreSaleOrder>> CreateFilteredQueryAsync(StoreSaleOrderGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.WhereIf(input.ContactEmail != null, x => x.ContactEmail == input.ContactEmail)
.WhereIf(input.ContactName != null, x => x.ContactName == input.ContactName)
.WhereIf(input.ContactPhone != null, x => x.ContactPhone == input.ContactPhone)
.WhereIf(input.CustomerCode != null, x => x.CustomerCode == input.CustomerCode)
.WhereIf(input.DueDate != null, x => x.DueDate == input.DueDate)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.OrderDate != null, x => x.OrderDate == input.OrderDate)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(!input.SoStatus.IsNullOrWhiteSpace(), x => x.SoStatus.Contains(input.SoStatus))
.WhereIf(input.SoType != null, x => x.SoType == input.SoType)
.WhereIf(input.StoreSaleOrderDetails != null, x => x.StoreSaleOrderDetails == input.StoreSaleOrderDetails)
.WhereIf(input.TaxRate != null, x => x.TaxRate == input.TaxRate)
.WhereIf(input.Version != null, x => x.Version == input.Version)
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}

49
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreSaleOrderDetail/StoreSaleOrderDetailAppService.cs

@ -0,0 +1,49 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreSaleOrderDetail.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreSaleOrderDetail;
public class StoreSaleOrderDetailAppService : CrudAppService<StoreSaleOrderDetail, StoreSaleOrderDetailDto, Guid, StoreSaleOrderDetailGetListInput, CreateUpdateStoreSaleOrderDetailDto, CreateUpdateStoreSaleOrderDetailDto>,
IStoreSaleOrderDetailAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreSaleOrderDetail.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreSaleOrderDetail.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreSaleOrderDetail.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreSaleOrderDetail.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreSaleOrderDetail.Delete;
private readonly IStoreSaleOrderDetailRepository _repository;
public StoreSaleOrderDetailAppService(IStoreSaleOrderDetailRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StoreSaleOrderDetail>> CreateFilteredQueryAsync(StoreSaleOrderDetailGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ConvertRate != null, x => x.ConvertRate == input.ConvertRate)
.WhereIf(input.CustomerPackQty != null, x => x.CustomerPackQty == input.CustomerPackQty)
.WhereIf(input.CustomerPackUom != null, x => x.CustomerPackUom == input.CustomerPackUom)
.WhereIf(!input.ItemCode.IsNullOrWhiteSpace(), x => x.ItemCode.Contains(input.ItemCode))
.WhereIf(input.ItemDesc1 != null, x => x.ItemDesc1 == input.ItemDesc1)
.WhereIf(input.ItemDesc2 != null, x => x.ItemDesc2 == input.ItemDesc2)
.WhereIf(input.ItemName != null, x => x.ItemName == input.ItemName)
.WhereIf(!input.LineStatus.IsNullOrWhiteSpace(), x => x.LineStatus.Contains(input.LineStatus))
.WhereIf(input.Master != null, x => x.Master == input.Master)
.WhereIf(input.MasterId != null, x => x.MasterId == input.MasterId)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.Qty != null, x => x.Qty == input.Qty)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(!input.SoLine.IsNullOrWhiteSpace(), x => x.SoLine.Contains(input.SoLine))
.WhereIf(input.StdPackQty != null, x => x.StdPackQty == input.StdPackQty)
.WhereIf(!input.Uom.IsNullOrWhiteSpace(), x => x.Uom.Contains(input.Uom))
;
}
}

41
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreScrapNote/StoreScrapNoteAppService.cs

@ -0,0 +1,41 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreScrapNote.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreScrapNote;
public class StoreScrapNoteAppService : CrudAppService<StoreScrapNote, StoreScrapNoteDto, Guid, StoreScrapNoteGetListInput, CreateUpdateStoreScrapNoteDto, CreateUpdateStoreScrapNoteDto>,
IStoreScrapNoteAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreScrapNote.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreScrapNote.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreScrapNote.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreScrapNote.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreScrapNote.Delete;
private readonly IStoreScrapNoteRepository _repository;
public StoreScrapNoteAppService(IStoreScrapNoteRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StoreScrapNote>> CreateFilteredQueryAsync(StoreScrapNoteGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.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.ScrapRequestNumber != null, x => x.ScrapRequestNumber == input.ScrapRequestNumber)
.WhereIf(input.StoreScrapNoteDetails != null, x => x.StoreScrapNoteDetails == input.StoreScrapNoteDetails)
.WhereIf(input.Type != null, x => x.Type == input.Type)
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}

45
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/StoreScrapRequest/StoreScrapRequestAppService.cs

@ -0,0 +1,45 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.StoreScrapRequest.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.StoreScrapRequest;
public class StoreScrapRequestAppService : CrudAppService<StoreScrapRequest, StoreScrapRequestDto, Guid, StoreScrapRequestGetListInput, CreateUpdateStoreScrapRequestDto, CreateUpdateStoreScrapRequestDto>,
IStoreScrapRequestAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.StoreScrapRequest.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.StoreScrapRequest.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.StoreScrapRequest.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.StoreScrapRequest.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.StoreScrapRequest.Delete;
private readonly IStoreScrapRequestRepository _repository;
public StoreScrapRequestAppService(IStoreScrapRequestRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<StoreScrapRequest>> CreateFilteredQueryAsync(StoreScrapRequestGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.ActiveDate != null, x => x.ActiveDate == input.ActiveDate)
.WhereIf(input.AutoAgree != null, x => x.AutoAgree == input.AutoAgree)
.WhereIf(input.AutoCompleteJob != null, x => x.AutoCompleteJob == input.AutoCompleteJob)
.WhereIf(input.AutoHandle != null, x => x.AutoHandle == input.AutoHandle)
.WhereIf(input.AutoSubmit != null, x => x.AutoSubmit == input.AutoSubmit)
.WhereIf(input.DirectCreateNote != null, x => x.DirectCreateNote == input.DirectCreateNote)
.WhereIf(!input.Number.IsNullOrWhiteSpace(), x => x.Number.Contains(input.Number))
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
.WhereIf(!input.RequestStatus.IsNullOrWhiteSpace(), x => x.RequestStatus.Contains(input.RequestStatus))
.WhereIf(input.StoreScrapRequestDetails != null, x => x.StoreScrapRequestDetails == input.StoreScrapRequestDetails)
.WhereIf(input.Type != null, x => x.Type == input.Type)
.WhereIf(input.Worker != null, x => x.Worker == input.Worker)
;
}
}
Loading…
Cancel
Save