bug修复
This commit is contained in:
@@ -570,9 +570,8 @@ namespace WMS.Web.Domain.Services
|
||||
|
||||
|
||||
//4.是否任务单存在绑定箱号判断:存在的话,就不能收货或者非采购上架
|
||||
var taskBoxList = await _inStockTaskBoxRepositories.GetListBy(task.Id);
|
||||
bool isHave = taskBoxList.Where(x => dto.BoxBillNos.Contains(x.BoxBillNo)).Any();
|
||||
if (isHave)
|
||||
var taskBoxList = await _inStockTaskBoxRepositories.GetListBy(dto.BoxBillNos);
|
||||
if (taskBoxList != null && taskBoxList.Count != 0)
|
||||
return Result<ContrastMaterialsResponse>.ReFailure(ResultCodes.BoxHaveError);
|
||||
|
||||
//4.返回对比结果:true为比对成功,并把箱ID和箱号返回
|
||||
|
||||
Reference in New Issue
Block a user