| @@ -85,6 +85,8 @@ public class WxBillDailyServiceImpl implements WxBillDailyService { | |||||
| e.setServiceChargePay(servicePay.intValue()); | e.setServiceChargePay(servicePay.intValue()); | ||||
| if (!e.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | if (!e.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | ||||
| e.setOwe(0L); | e.setOwe(0L); | ||||
| } else { | |||||
| e.setOwe(realReceivePay - e.getPay()); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -80,6 +80,8 @@ public class WxBillOtherDepositServiceImpl implements WxBillOtherDepositService | |||||
| e.setServiceChargePay(servicePay.intValue()); | e.setServiceChargePay(servicePay.intValue()); | ||||
| if (!e.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | if (!e.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | ||||
| e.setOwe(0L); | e.setOwe(0L); | ||||
| } else { | |||||
| e.setOwe(realReceivePay - e.getPay()); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -80,6 +80,8 @@ public class WxBillOtherServiceImpl implements WxBillOtherService { | |||||
| e.setServiceChargePay(servicePay.intValue()); | e.setServiceChargePay(servicePay.intValue()); | ||||
| if (!e.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | if (!e.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | ||||
| e.setOwe(0L); | e.setOwe(0L); | ||||
| } else { | |||||
| e.setOwe(realReceivePay - e.getPay()); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -87,6 +87,8 @@ public class WxBillPropertyServiceImpl implements WxBillPropertyService { | |||||
| e.setServiceChargePay(servicePay.intValue()); | e.setServiceChargePay(servicePay.intValue()); | ||||
| if (!e.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | if (!e.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | ||||
| e.setOwe(0L); | e.setOwe(0L); | ||||
| } else { | |||||
| e.setOwe(realReceivePay - e.getPay()); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -89,6 +89,8 @@ public class WxBillRentServiceImpl implements WxBillRentService { | |||||
| rent.setServiceChargePay(servicePay.intValue()); | rent.setServiceChargePay(servicePay.intValue()); | ||||
| if (!rent.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | if (!rent.getStatus().equals(EnumBillRentStatus.NOT_PAID.getCode())) { | ||||
| rent.setOwe(0L); | rent.setOwe(0L); | ||||
| } else { | |||||
| rent.setOwe(realReceivePay - rent.getPay()); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||