pad接口-退货-入库操作:去除物料数量检测
This commit is contained in:
parent
a824d59c9c
commit
78c42e509c
|
|
@ -254,13 +254,13 @@ public class ThdServiceImpl implements ITuiHuoApi {
|
|||
return result;
|
||||
}
|
||||
//检测购物车各物料是否大于护理单元库存
|
||||
List<InvoicingThdGwcEntity> validateList = thdGwcMapper.validateNum(dto);
|
||||
if (!CollectionUtils.isEmpty(validateList)) {
|
||||
String wls = validateList.stream().map(InvoicingThdGwcEntity::getF1).collect(Collectors.joining(","));
|
||||
result.put("status", "wlError");
|
||||
result.put("message", "以下物料退货数量大于护理单元库存数量:" + wls);
|
||||
return result;
|
||||
}
|
||||
// List<InvoicingThdGwcEntity> validateList = thdGwcMapper.validateNum(dto);
|
||||
// if (!CollectionUtils.isEmpty(validateList)) {
|
||||
// String wls = validateList.stream().map(InvoicingThdGwcEntity::getF1).collect(Collectors.joining(","));
|
||||
// result.put("status", "wlError");
|
||||
// result.put("message", "以下物料退货数量大于护理单元库存数量:" + wls);
|
||||
// return result;
|
||||
// }
|
||||
}
|
||||
|
||||
//处理数据 主表当前数据:main
|
||||
|
|
|
|||
Loading…
Reference in New Issue