|
|
@@ -390,7 +390,7 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService |
|
|
wxPropertyContractMapper.updateByPrimaryKeySelective(wxPropertyContract); |
|
|
wxPropertyContractMapper.updateByPrimaryKeySelective(wxPropertyContract); |
|
|
//建立账单 |
|
|
//建立账单 |
|
|
WxPropertyContract record = wxPropertyContractMapper.selectByPrimaryKey(id); |
|
|
WxPropertyContract record = wxPropertyContractMapper.selectByPrimaryKey(id); |
|
|
if (record.getMerchantId() != null && record.getStatus().equals(EnumRentContractStatus.SIGNED_RENT_UNPAID.getCode()) |
|
|
|
|
|
|
|
|
if (record.getMerchantId() != null |
|
|
&& record.getReceivePeriod() != null && record.getPrice() > 0) { |
|
|
&& record.getReceivePeriod() != null && record.getPrice() > 0) { |
|
|
//预览账单改为正式,并写入商户id |
|
|
//预览账单改为正式,并写入商户id |
|
|
updatePropertyPreviewBill(record); |
|
|
updatePropertyPreviewBill(record); |
|
|
|