|
|
|
@@ -967,7 +967,7 @@ public class WxBillAllServiceImpl implements WxBillAllService { |
|
|
|
rentQuery.setRentShopType(EnumRentShopType.POINT.getCode()); |
|
|
|
} |
|
|
|
rentQuery.setIsPreview(EnumIsPreview.NO.getCode()); |
|
|
|
WxBillRent rent = wxBillRentMapper.selectOne(rentQuery); |
|
|
|
WxBillRent rent = wxBillRentMapper.selectBillOne(rentQuery); |
|
|
|
if (rent != null && !rent.getStatus().equals(EnumBillRentStatus.PAID.getCode())) { |
|
|
|
long pay = new BigDecimal(bill.getPayStr()).multiply(new BigDecimal(100)).longValueExact(); |
|
|
|
if (rent.getOwe() <= pay) { |
|
|
|
@@ -992,7 +992,7 @@ public class WxBillAllServiceImpl implements WxBillAllService { |
|
|
|
propertyQuery.setRentShopType(EnumRentShopType.POINT.getCode()); |
|
|
|
} |
|
|
|
propertyQuery.setIsPreview(EnumIsPreview.NO.getCode()); |
|
|
|
WxBillProperty property = wxBillPropertyMapper.selectOne(propertyQuery); |
|
|
|
WxBillProperty property = wxBillPropertyMapper.selectBillOne(propertyQuery); |
|
|
|
if (property != null && !property.getStatus().equals(EnumBillRentStatus.PAID.getCode())) { |
|
|
|
long pay = new BigDecimal(bill.getPayStr()).multiply(new BigDecimal(100)).longValueExact(); |
|
|
|
if (property.getOwe() <= pay) { |
|
|
|
|