|
|
@@ -510,6 +510,12 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
wxRentContractMapper.updateStatus(updateRentContract); |
|
|
wxRentContractMapper.updateStatus(updateRentContract); |
|
|
logger.info("id:{},启动审批流成功, 是否补录:{}", record.getId().toString(), record.getMerchantId() != null); |
|
|
logger.info("id:{},启动审批流成功, 是否补录:{}", record.getId().toString(), record.getMerchantId() != null); |
|
|
} |
|
|
} |
|
|
|
|
|
}else{ |
|
|
|
|
|
//合同状态改为记租中 |
|
|
|
|
|
WxRentContract updateRentContract = new WxRentContract(); |
|
|
|
|
|
updateRentContract.setId(record.getId()); |
|
|
|
|
|
updateRentContract.setStatus(EnumRentContractStatus.RENT_PAID.getCode()); |
|
|
|
|
|
wxRentContractMapper.updateStatus(updateRentContract); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//生成预览账单(补录第二步,第三步走编辑) |
|
|
//生成预览账单(补录第二步,第三步走编辑) |
|
|
@@ -567,6 +573,12 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
wxRentContractMapper.updateStatus(updateRentContract); |
|
|
wxRentContractMapper.updateStatus(updateRentContract); |
|
|
logger.info("id:{},启动审批流成功 ,是否补录:{}", record.getId().toString(), record.getMerchantId() != null); |
|
|
logger.info("id:{},启动审批流成功 ,是否补录:{}", record.getId().toString(), record.getMerchantId() != null); |
|
|
} |
|
|
} |
|
|
|
|
|
}else{ |
|
|
|
|
|
//合同状态改为记租中 |
|
|
|
|
|
WxRentContract updateRentContract = new WxRentContract(); |
|
|
|
|
|
updateRentContract.setId(record.getId()); |
|
|
|
|
|
updateRentContract.setStatus(EnumRentContractStatus.RENT_PAID.getCode()); |
|
|
|
|
|
wxRentContractMapper.updateStatus(updateRentContract); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//保存调整金额(预账单调整) |
|
|
//保存调整金额(预账单调整) |
|
|
@@ -1642,6 +1654,12 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
wxRentContractMapper.updateStatus(updateRentContract); |
|
|
wxRentContractMapper.updateStatus(updateRentContract); |
|
|
logger.info("id:{},启动审批流成功,是否补录:{}", record.getId().toString(), record.getMerchantId() != null); |
|
|
logger.info("id:{},启动审批流成功,是否补录:{}", record.getId().toString(), record.getMerchantId() != null); |
|
|
} |
|
|
} |
|
|
|
|
|
}else{ |
|
|
|
|
|
//合同状态改为记租中 |
|
|
|
|
|
WxRentContract updateRentContract = new WxRentContract(); |
|
|
|
|
|
updateRentContract.setId(record.getId()); |
|
|
|
|
|
updateRentContract.setStatus(EnumRentContractStatus.RENT_PAID.getCode()); |
|
|
|
|
|
wxRentContractMapper.updateStatus(updateRentContract); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return resultData; |
|
|
return resultData; |
|
|
|