盘点审核流程修改

This commit is contained in:
liuhanqing
2025-07-23 15:09:22 +08:00
parent 302cddef41
commit cadf2c881c
5 changed files with 47 additions and 32 deletions

View File

@@ -401,7 +401,7 @@ public class PdaServiceImp implements PdaService {
return AjaxResult.warn("任务不存在");
}
BasWarehouse basWarehouse = basWarehouseService.selectBasWarehouseByWarehouseId(mydoJob.getWarehouseId());
List<MydoJobDetail> mydoJobDetailList = trayCodeMakeSure.getMydoJobDetailList();
List<MydoJobDetail> mydoJobDetailList = trayCodeMakeSure.getMaterials();
if (CollUtil.isNotEmpty(mydoJobDetailList)) {
boolean flag = mydoJobDetailList.stream().anyMatch(x -> StrUtil.isEmpty(x.getStockId()) && "0".equals(x.getInQuantity()));
if (flag) {