Commit d319bf5b by huluobin

# 更新

parent 38239746
...@@ -70,7 +70,7 @@ public class CostPlanNewPayServiceImpl extends AbstractCostPlanService implement ...@@ -70,7 +70,7 @@ public class CostPlanNewPayServiceImpl extends AbstractCostPlanService implement
if (costPlanTempDomains.stream().anyMatch(temp -> null == temp.getTypeNo())) { if (costPlanTempDomains.stream().anyMatch(temp -> null == temp.getTypeNo())) {
throw new RuntimeException("存在有金额、但是没有选择类型的子项目"); throw new RuntimeException("存在有金额、但是没有选择类型的子项目");
} }
if (costPlanTempDomains.stream().noneMatch(temp -> temp.getTypeId() == null)) { if (costPlanTempDomains.stream().noneMatch(temp -> temp.getTypeNo() == null)) {
throw new RuntimeException("没选类型"); throw new RuntimeException("没选类型");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment