出库时取消同步最新金蝶数据出库单

This commit is contained in:
18942506660
2024-03-02 10:22:13 +08:00
parent 710e66c86f
commit 6976ce9c67
2 changed files with 18 additions and 2 deletions

View File

@@ -174,8 +174,8 @@ namespace WMS.Web.Api.Controllers
if (loginInfo == null || loginInfo.UserInfo == null)
return Result<GetOutStockTaskByNoResponse>.ReFailure(ResultCodes.Token_Invalid_Error);
//搜索之前同步金蝶数据
await _outStockTaskService.Sync(new List<string>() { billNo });
//搜索之前同步金蝶数据(2024.03.02 取消同步最新)
//await _outStockTaskService.Sync(new List<string>() { billNo });
var res = await _repositories.GetOutStockTaskByNo(billNo);
if (res == null) return Result<GetOutStockTaskByNoResponse>.ReFailure(ResultCodes.OutStockTaskNoData);