|
|
|
@@ -203,16 +203,19 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
Map<String,Object> resultData=new HashMap(); |
|
|
|
WxRentContract wxRentContract = new WxRentContract(); |
|
|
|
wxRentContract.setTenantId(tenantId); |
|
|
|
//将到期 |
|
|
|
wxRentContract.setStatus(EnumRentContractStatus.CONTRACT_END_SOON.getCode()); |
|
|
|
int endSoonCount=wxRentContractMapper.queryRentContractEndSoonStatus(wxRentContract); |
|
|
|
wxRentContractMapper.updateRentContractEndSoonStatus(wxRentContract); |
|
|
|
resultData.put("endSoonCount",endSoonCount); |
|
|
|
|
|
|
|
//计租中 |
|
|
|
wxRentContract.setStatus(EnumRentContractStatus.RENT_PAID.getCode()); |
|
|
|
int rendPaidCount =wxRentContractMapper.queryRentContractPaidStatus(wxRentContract); |
|
|
|
wxRentContractMapper.updateRentContractPaidStatus(wxRentContract); |
|
|
|
resultData.put("rendPaidCount",rendPaidCount); |
|
|
|
|
|
|
|
//将到期 |
|
|
|
wxRentContract.setStatus(EnumRentContractStatus.CONTRACT_END_SOON.getCode()); |
|
|
|
int endSoonCount=wxRentContractMapper.queryRentContractEndSoonStatus(wxRentContract); |
|
|
|
wxRentContractMapper.updateRentContractEndSoonStatus(wxRentContract); |
|
|
|
resultData.put("endSoonCount",endSoonCount); |
|
|
|
|
|
|
|
//到期 |
|
|
|
wxRentContract.setStatus(EnumRentContractStatus.CONTRACT_END.getCode()); |
|
|
|
int endCount=wxRentContractMapper.queryRentContractEndStatus(wxRentContract); |
|
|
|
|