Commit 35a2e961 by jianshuqin

优化

parent 5164fe2c
...@@ -73,8 +73,8 @@ public abstract class AbstractCostPlanService implements CostPlanService { ...@@ -73,8 +73,8 @@ public abstract class AbstractCostPlanService implements CostPlanService {
void check(CostPlanDomain planDomain) { void check(CostPlanDomain planDomain) {
if (planDomain.getPlanAmount().compareTo(BigDecimal.ZERO) <= 0) { if (planDomain.getPlanAmount().compareTo(BigDecimal.ZERO) == 0) {
throw new BizRuntimeException("金额必须于0元"); throw new BizRuntimeException("金额必须不等于0元");
} }
} }
......
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