|
|
@@ -54,7 +54,7 @@ public class PaymentDubboServiceImpl implements PaymentDubboService {
|
|
|
preMoney = type.money();
|
|
|
}
|
|
|
}
|
|
|
- int flag = curMoney.compareTo(preMoney) > 0 ? 1 : 2;
|
|
|
+ int flag = curMoney.compareTo(preMoney) >= 0 ? 1 : 2;
|
|
|
|
|
|
String percent = DecimalUtils.percent(curMoney.subtract(preMoney), preMoney);
|
|
|
return new SettlementMoney(df.format(curMoney), df.format(preMoney), percent, flag);
|