|
|
|
@@ -298,7 +298,8 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
ResultData resultData = getResultDataForUpdate(record, userId); |
|
|
|
|
|
|
|
if (dbRent.getRentShopType().equals(EnumRentShopType.SHOP.getCode())) { |
|
|
|
if (record.getReceivePeriod() != null && record.getLease() != null && record.getPrice() != null) { |
|
|
|
if (record.getReceivePeriod() != null && record.getLease() != null && record.getPrice() != null |
|
|
|
&& !record.getReceivePeriod().equals(0) && !record.getLease().equals(0) && !record.getPrice().equals(0)) { |
|
|
|
|
|
|
|
//删除预账单,重新生成 |
|
|
|
wxBillRentMapper.deletePreviewBill(record); |
|
|
|
|