|
|
|
@@ -2103,6 +2103,13 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
rentContract.setUpdateByName(user.getName());
|
|
|
|
wxRentContractMapper.updateById(rentContract);
|
|
|
|
|
|
|
|
//更新账单归属
|
|
|
|
WxAllBill bill = new WxAllBill();
|
|
|
|
bill.updateTenantInfo(rentContract);
|
|
|
|
bill.setRentContractId(rentContract.getId());
|
|
|
|
bill.setCusName(rentContract.getCustomerName());
|
|
|
|
wxAllBillMapper.updateAllContractCusName(bill);
|
|
|
|
|
|
|
|
if (rentContract.getOperationType().intValue() == EnumContractOperationType.WHOLE.getCode().intValue()) {
|
|
|
|
WxPropertyContract pq = new WxPropertyContract();
|
|
|
|
pq.updateTenantInfo(rentContract);
|
|
|
|
|