From 6380edfaedc142f5ef0f90086ea00c4b784c37bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Tue, 31 Dec 2024 14:36:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PostionLocations/PostionLocationAppService.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PostionLocations/PostionLocationAppService.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PostionLocations/PostionLocationAppService.cs index 67aa5f73f..9d5dbe37a 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PostionLocations/PostionLocationAppService.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PostionLocations/PostionLocationAppService.cs @@ -187,10 +187,9 @@ public class PostionLocationAppService return ObjectMapper.Map, List>(result); } [HttpPost("get-loc-by-codes")] - public async Task> GetLocationByCodesAsync(List codes) + public async Task> GetLocationByCodesAsync(List codes) { - - var ls= await base.GetByCodesAsync(codes).ConfigureAwait(false); + var ls = await base.GetByCodesAsync(codes).ConfigureAwait(false); List list = new List(); foreach (var code in ls) { @@ -199,8 +198,6 @@ public class PostionLocationAppService dto.LocationCode = code.LocationCode; list.Add(dto); } - - return list; }