pad接口-退货-入库操作:去除物料数量检测

This commit is contained in:
1378012178@qq.com 2025-12-12 16:51:56 +08:00
parent a824d59c9c
commit 78c42e509c
1 changed files with 7 additions and 7 deletions

View File

@ -254,13 +254,13 @@ public class ThdServiceImpl implements ITuiHuoApi {
return result; return result;
} }
//检测购物车各物料是否大于护理单元库存 //检测购物车各物料是否大于护理单元库存
List<InvoicingThdGwcEntity> validateList = thdGwcMapper.validateNum(dto); // List<InvoicingThdGwcEntity> validateList = thdGwcMapper.validateNum(dto);
if (!CollectionUtils.isEmpty(validateList)) { // if (!CollectionUtils.isEmpty(validateList)) {
String wls = validateList.stream().map(InvoicingThdGwcEntity::getF1).collect(Collectors.joining(",")); // String wls = validateList.stream().map(InvoicingThdGwcEntity::getF1).collect(Collectors.joining(","));
result.put("status", "wlError"); // result.put("status", "wlError");
result.put("message", "以下物料退货数量大于护理单元库存数量:" + wls); // result.put("message", "以下物料退货数量大于护理单元库存数量:" + wls);
return result; // return result;
} // }
} }
//处理数据 主表当前数据main //处理数据 主表当前数据main