|
|
@@ -253,6 +253,8 @@ public class OrderNewServiceImpl extends BaseMybatisDao<TOrderNewMapper> impleme
|
|
|
t.setLiquidationStatus(LiquidationNewState.ALREADY_PAY.getCode());
|
|
|
}else if(t2.getSettlementAmount().compareTo(t2.getFirstAmount()) >= 0){//如果大于等于首付
|
|
|
t.setLiquidationStatus(LiquidationNewState.WAIT_PAY_LAST_BALANCE.getCode());
|
|
|
+ } else if(t2.getSettlementAmount().compareTo(t2.getFirstAmount()) <= 0){//如果大于等于首付
|
|
|
+ t.setLiquidationStatus(LiquidationNewState.WAIT_PAY_FIRST_BALANCE.getCode());
|
|
|
}
|
|
|
return tOrderNewMapper.updateByPrimaryKeySelective(t);
|
|
|
}
|