|
|
|
@@ -526,7 +526,7 @@ public class WxAllBillServiceImpl extends WxBillBaseService implements WxAllBill |
|
|
|
wxBillRent.setPay(oldpay.subtract(new BigDecimal(dto.getAddpay())).toPlainString()); |
|
|
|
wxBillRent.setSetOff(oldsetoff.subtract(new BigDecimal(dto.getSetOff())).toPlainString()); |
|
|
|
if (dbBill.getStatus().intValue() == EnumBillStatus.PAID.getCode().intValue()) { |
|
|
|
if (new BigDecimal(dbBill.getOwe()).compareTo(new BigDecimal(0)) > 0 ) { |
|
|
|
if (new BigDecimal(wxBillRent.getOwe()).compareTo(new BigDecimal(0)) > 0 ) { |
|
|
|
wxBillRent.setStatus(EnumBillStatus.WAIT_PAY.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
|