修复bug
This commit is contained in:
@@ -309,8 +309,9 @@ namespace WMS.Web.Api.Controllers
|
||||
if (loginInfo == null || loginInfo.UserInfo == null)
|
||||
return ResultList<BoxResponse>.ReFailure(ResultCodes.Token_Invalid_Error);
|
||||
|
||||
boxBillNos = boxBillNos.ConvertAll(d => d.ToLower());
|
||||
var res = await _boxRepositories.GetBox(boxBillNos);
|
||||
var bStrList = res.Select(s => s.BoxBillNo).ToList();
|
||||
var bStrList = res.Select(s => s.BoxBillNo.ToLower()).ToList();
|
||||
var ex = boxBillNos.Except(bStrList).ToList();
|
||||
if (ex.Count() > 0)
|
||||
return ResultList<BoxResponse>.ReFailure("箱号" + JsonConvert.SerializeObject(ex) + "不存在", 800000);
|
||||
|
||||
Reference in New Issue
Block a user