修复bug

This commit is contained in:
18942506660
2023-12-04 11:21:12 +08:00
parent 79ea6b5076
commit 201a01912e
5 changed files with 16 additions and 16 deletions

View File

@@ -131,9 +131,9 @@ namespace WMS.Web.Api.Controllers
if (loginInfo == null || loginInfo.UserInfo == null)
return ResultList<GetOutStockTaskByNoResponse>.ReFailure(ResultCodes.Token_Invalid_Error);
List<string> str = new List<string>();
str.Add(billNo);
var res2 = await _repositories.GetListBySourceBillNo(str);
//List<string> str = new List<string>();
//str.Add(billNo);
//var res2 = await _repositories.GetListBySourceBillNo(str);
var res = await _repositories.GetOutStockTaskListByNo(billNo);
if (res == null || res.Count() == 0) return ResultList<GetOutStockTaskByNoResponse>.ReFailure(ResultCodes.OutStockTaskNoData);