From 4575f4ca814675c535b18d46b90ec97fd77ae2a2 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周五, 16 5月 2025 10:39:42 +0800 Subject: [PATCH] 增加授权 --- HIAWms/server/src/CMS.Plugin.HIAWms.Application/Implements/WmsStoreAppService.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms.Application/Implements/WmsStoreAppService.cs b/HIAWms/server/src/CMS.Plugin.HIAWms.Application/Implements/WmsStoreAppService.cs index 00ee77f..aa83a4a 100644 --- a/HIAWms/server/src/CMS.Plugin.HIAWms.Application/Implements/WmsStoreAppService.cs +++ b/HIAWms/server/src/CMS.Plugin.HIAWms.Application/Implements/WmsStoreAppService.cs @@ -1,4 +1,4 @@ -using CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsStores; +using CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsStore; using CMS.Plugin.HIAWms.Application.Contracts.Services; using CMS.Plugin.HIAWms.Domain.WmsStores; using CMS.Plugin.HIAWms.Domain.Shared; @@ -32,7 +32,7 @@ } /// <inheritdoc /> - public virtual async Task<PagedResultDto<WmsStoreDto>> GetListAsync(GetWmsStoresInput input) + public virtual async Task<PagedResultDto<WmsStoreDto>> GetListAsync(GetWmsStoreInput input) { Check.NotNull(input, nameof(input)); @@ -42,7 +42,7 @@ } var specification = new WmsStoreSpecification(input.Name); - var store = ObjectMapper.Map<GetWmsStoresInput, WmsStore>(input); + var store = ObjectMapper.Map<GetWmsStoreInput, WmsStore>(input); var count = await _wmsstoreRepository.GetCountAsync(store,input.Filter, specification); var list = await _wmsstoreRepository.GetListAsync(store,input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter, specification); @@ -275,7 +275,7 @@ } /// <inheritdoc /> - public async Task<(Dictionary<string, object> Sheets, string FileName)> ExportAsync(GetWmsStoresInput input) + public async Task<(Dictionary<string, object> Sheets, string FileName)> ExportAsync(GetWmsStoreInput input) { Check.NotNull(input, nameof(input)); @@ -285,7 +285,7 @@ } var specification = new WmsStoreSpecification(input.Name); - var store = ObjectMapper.Map<GetWmsStoresInput, WmsStore>(input); + var store = ObjectMapper.Map<GetWmsStoreInput, WmsStore>(input); var list = await _wmsstoreRepository.GetListAsync(store, input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter, specification, includeDetails: true); var result = ObjectMapper.Map<List<WmsStore>, List<WmsStoreDto>>(list); -- Gitblit v1.9.3