feature:明细行合并

release
gaorl 2 years ago
parent c80c1c6707
commit 21e83181fb
  1. 2
      order-management-consumer/src/main/java/com/dxhy/order/consumer/modules/order/service/impl/OrderInfoServiceImpl.java

@ -2027,7 +2027,7 @@ public class OrderInfoServiceImpl implements OrderInfoService {
} }
List<OrderItemInfo> collect = null; List<OrderItemInfo> collect = null;
if(itemList != null){ if(itemList != null){
collect = orderItemInfos.stream().filter(t -> itemList.contains(t.getId()) && StringUtils.isBlank(t.getSpbm())).collect(Collectors.toList()); collect = orderItemInfos.stream().filter(t -> itemList.contains(t.getId()) && StringUtils.isNotBlank(t.getSpbm())).collect(Collectors.toList());
if(ObjectUtil.isNull(collect)){ if(ObjectUtil.isNull(collect)){
return R.error("税收编码为空的不允许合并,请先更新税收编码"); return R.error("税收编码为空的不允许合并,请先更新税收编码");
} }

Loading…
Cancel
Save