Browse Source

Fix name of the get-list DTOs

pull/157/head
gdlcf88 4 years ago
parent
commit
48219a49e6
  1. 2
      plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssetCategories/Dtos/GetProductAssetCategoryListDto.cs
  2. 2
      plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssetCategories/IProductAssetCategoryAppService.cs
  3. 2
      plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssets/Dtos/GetProductAssetListDto.cs
  4. 2
      plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssets/IProductAssetAppService.cs
  5. 6
      plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application/EasyAbp/EShop/Plugins/Booking/ProductAssetCategories/ProductAssetCategoryAppService.cs
  6. 6
      plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application/EasyAbp/EShop/Plugins/Booking/ProductAssets/ProductAssetAppService.cs
  7. 2
      plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.HttpApi/EasyAbp/EShop/Plugins/Booking/ProductAssetCategories/ProductAssetCategoryController.cs
  8. 2
      plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.HttpApi/EasyAbp/EShop/Plugins/Booking/ProductAssets/ProductAssetController.cs

2
plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssetCategories/Dtos/GetProductAssetCategoryDto.cs → plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssetCategories/Dtos/GetProductAssetCategoryListDto.cs

@ -4,7 +4,7 @@ using Volo.Abp.Application.Dtos;
namespace EasyAbp.EShop.Plugins.Booking.ProductAssetCategories.Dtos;
[Serializable]
public class GetProductAssetCategoryDto : PagedAndSortedResultRequestDto
public class GetProductAssetCategoryListDto : PagedAndSortedResultRequestDto
{
public Guid? StoreId { get; set; }

2
plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssetCategories/IProductAssetCategoryAppService.cs

@ -9,7 +9,7 @@ namespace EasyAbp.EShop.Plugins.Booking.ProductAssetCategories
ICrudAppService<
ProductAssetCategoryDto,
Guid,
GetProductAssetCategoryDto,
GetProductAssetCategoryListDto,
CreateProductAssetCategoryDto,
UpdateProductAssetCategoryDto>
{

2
plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssets/Dtos/GetProductAssetDto.cs → plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssets/Dtos/GetProductAssetListDto.cs

@ -4,7 +4,7 @@ using Volo.Abp.Application.Dtos;
namespace EasyAbp.EShop.Plugins.Booking.ProductAssets.Dtos;
[Serializable]
public class GetProductAssetDto : PagedAndSortedResultRequestDto
public class GetProductAssetListDto : PagedAndSortedResultRequestDto
{
public Guid? StoreId { get; set; }

2
plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application.Contracts/EasyAbp/EShop/Plugins/Booking/ProductAssets/IProductAssetAppService.cs

@ -10,7 +10,7 @@ namespace EasyAbp.EShop.Plugins.Booking.ProductAssets
ICrudAppService<
ProductAssetDto,
Guid,
GetProductAssetDto,
GetProductAssetListDto,
CreateProductAssetDto,
UpdateProductAssetDto>
{

6
plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application/EasyAbp/EShop/Plugins/Booking/ProductAssetCategories/ProductAssetCategoryAppService.cs

@ -13,7 +13,7 @@ using Volo.Abp.Application.Dtos;
namespace EasyAbp.EShop.Plugins.Booking.ProductAssetCategories
{
public class ProductAssetCategoryAppService : MultiStoreCrudAppService<ProductAssetCategory, ProductAssetCategoryDto
, Guid, GetProductAssetCategoryDto, CreateProductAssetCategoryDto, UpdateProductAssetCategoryDto>,
, Guid, GetProductAssetCategoryListDto, CreateProductAssetCategoryDto, UpdateProductAssetCategoryDto>,
IProductAssetCategoryAppService
{
protected override string CrossStorePolicyName { get; set; } = BookingPermissions.ProductAssetCategory.Manage;
@ -43,7 +43,7 @@ namespace EasyAbp.EShop.Plugins.Booking.ProductAssetCategories
_productAssetCategoryManager = productAssetCategoryManager;
}
protected override async Task<IQueryable<ProductAssetCategory>> CreateFilteredQueryAsync(GetProductAssetCategoryDto input)
protected override async Task<IQueryable<ProductAssetCategory>> CreateFilteredQueryAsync(GetProductAssetCategoryListDto input)
{
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.StoreId.HasValue, x => x.StoreId == input.StoreId)
@ -54,7 +54,7 @@ namespace EasyAbp.EShop.Plugins.Booking.ProductAssetCategories
}
public override async Task<PagedResultDto<ProductAssetCategoryDto>> GetListAsync(
GetProductAssetCategoryDto input)
GetProductAssetCategoryListDto input)
{
await CheckMultiStorePolicyAsync(input.StoreId, GetListPolicyName);

6
plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.Application/EasyAbp/EShop/Plugins/Booking/ProductAssets/ProductAssetAppService.cs

@ -13,7 +13,7 @@ using Volo.Abp.Application.Dtos;
namespace EasyAbp.EShop.Plugins.Booking.ProductAssets
{
public class ProductAssetAppService : MultiStoreCrudAppService<ProductAsset, ProductAssetDto
, Guid, GetProductAssetDto, CreateProductAssetDto, UpdateProductAssetDto>,
, Guid, GetProductAssetListDto, CreateProductAssetDto, UpdateProductAssetDto>,
IProductAssetAppService
{
protected override string CrossStorePolicyName { get; set; } = BookingPermissions.ProductAsset.Manage;
@ -43,7 +43,7 @@ namespace EasyAbp.EShop.Plugins.Booking.ProductAssets
_productAssetManager = productAssetManager;
}
protected override async Task<IQueryable<ProductAsset>> CreateFilteredQueryAsync(GetProductAssetDto input)
protected override async Task<IQueryable<ProductAsset>> CreateFilteredQueryAsync(GetProductAssetListDto input)
{
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(input.StoreId.HasValue, x => x.StoreId == input.StoreId)
@ -54,7 +54,7 @@ namespace EasyAbp.EShop.Plugins.Booking.ProductAssets
}
public override async Task<PagedResultDto<ProductAssetDto>> GetListAsync(
GetProductAssetDto input)
GetProductAssetListDto input)
{
await CheckMultiStorePolicyAsync(input.StoreId, GetListPolicyName);

2
plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.HttpApi/EasyAbp/EShop/Plugins/Booking/ProductAssetCategories/ProductAssetCategoryController.cs

@ -69,7 +69,7 @@ namespace EasyAbp.EShop.Plugins.Booking.ProductAssetCategories
[HttpGet]
[Route("")]
public virtual Task<PagedResultDto<ProductAssetCategoryDto>> GetListAsync(GetProductAssetCategoryDto input)
public virtual Task<PagedResultDto<ProductAssetCategoryDto>> GetListAsync(GetProductAssetCategoryListDto input)
{
return _service.GetListAsync(input);
}

2
plugins/Booking/src/EasyAbp.EShop.Plugins.Booking.HttpApi/EasyAbp/EShop/Plugins/Booking/ProductAssets/ProductAssetController.cs

@ -69,7 +69,7 @@ namespace EasyAbp.EShop.Plugins.Booking.ProductAssets
[HttpGet]
[Route("")]
public virtual Task<PagedResultDto<ProductAssetDto>> GetListAsync(GetProductAssetDto input)
public virtual Task<PagedResultDto<ProductAssetDto>> GetListAsync(GetProductAssetListDto input)
{
return _service.GetListAsync(input);
}

Loading…
Cancel
Save