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 43e260d91..83ca0dc0e 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 @@ -188,7 +188,7 @@ public class PostionLocationAppService } - [HttpPost("get-all-list")] + [HttpGet("get-all-list")] public async Task> GetAllListAsync() { var result =await base.GetAllListByFilterAsync(new SfsBaseDataRequestInputBase() ).ConfigureAwait(false); diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/UnplannedIssueJobs/UnplannedIssueJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/UnplannedIssueJobs/UnplannedIssueJobAppService.cs index a217aefdc..1ce908a11 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/UnplannedIssueJobs/UnplannedIssueJobAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/UnplannedIssueJobs/UnplannedIssueJobAppService.cs @@ -733,7 +733,8 @@ public class UnplannedIssueJobAppService [HttpPost("call-back-agv")] public async Task CallBackAgvAsync(AgvRequestUnplannedDto request) { - + + if (request.Data.Count == 0) { return ReturnMessage("-1", "请求明细Data数量不能为0"); @@ -828,7 +829,7 @@ public class UnplannedIssueJobAppService Message = "OK" }; - return ret;//暂时无接口直接返回 + //return ret;//暂时无接口直接返回 using var unitOfWork = _unitOfWorkManager.Begin(); try diff --git a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/UnplannedReceiptJobs/UnplannedReceiptJobAppService.cs b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/UnplannedReceiptJobs/UnplannedReceiptJobAppService.cs index 19b10a2d5..474df6b4a 100644 --- a/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/UnplannedReceiptJobs/UnplannedReceiptJobAppService.cs +++ b/be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Jobs/UnplannedReceiptJobs/UnplannedReceiptJobAppService.cs @@ -458,7 +458,7 @@ public class UnplannedReceiptJobAppService ReqCode = job.UnplannedReceiptRequestNumber, Message = "OK" }; - return ret;//暂时无接口直接返回 + //return ret;//暂时无接口直接返回 using var unitOfWork = _unitOfWorkManager.Begin(); try @@ -510,7 +510,7 @@ public class UnplannedReceiptJobAppService } var client = new AgvJobClient(_agvOptions.Value.Address, httpclient, _agvOptions.Value.Path); - ret = await client.PushOutTaskUnplannedAsync(request).ConfigureAwait(false); + ret = await client.PushOutTaskUnplannedReceiptAsync(request).ConfigureAwait(false); }