|
|
|
@@ -407,7 +407,10 @@ public class WxRentContractController extends WxContractBaseController { |
|
|
|
public ResultData getRentContractList(@ModelAttribute WxRentContract wxRentContract) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxRentContractController::getRentContractList"); |
|
|
|
wxRentContract.updateTenantInfo(getTenantInfo()); |
|
|
|
wxRentContract.setStatuss(EnumRentContractStatus.getValidStatus()); |
|
|
|
List<Integer> statss = new ArrayList<Integer>(); |
|
|
|
statss.add(EnumRentContractStatus.PAING.getCode()); |
|
|
|
statss.add(EnumRentContractStatus.OUT_DATE.getCode()); |
|
|
|
wxRentContract.setStatuss(statss); |
|
|
|
wxRentContract.setSortColumn(BaseEntity.SortField.Createtime_DESC.getValue()); |
|
|
|
PageInfo<WxRentContract> page = wxRentContractService.getRentContractList(wxRentContract, 1, 100000); |
|
|
|
if (null != page && null != page.getList()) { |
|
|
|
@@ -827,12 +830,12 @@ public class WxRentContractController extends WxContractBaseController { |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("updateRentContractStatus") |
|
|
|
@SystemControllerLog(description = "租赁合同-更新合同状态") |
|
|
|
public ResultData updateRentContractStatus(@RequestBody WxRentContract wxRentContract) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxRentContractController::updateRentContractStatus"); |
|
|
|
return wxRentContractService.updateRentContractStatus(wxRentContract.getId()); |
|
|
|
} |
|
|
|
// @PostMapping("updateRentContractStatus") |
|
|
|
// @SystemControllerLog(description = "租赁合同-更新合同状态") |
|
|
|
// public ResultData updateRentContractStatus(@RequestBody WxRentContract wxRentContract) { |
|
|
|
// logger.debug("[" + getIpAddr() + "] WxRentContractController::updateRentContractStatus"); |
|
|
|
// return wxRentContractService.updateRentContractStatus(wxRentContract.getId()); |
|
|
|
// } |
|
|
|
|
|
|
|
@PostMapping("savePayAccountInfo") |
|
|
|
@SystemControllerLog(description = "租赁合同-保存甲方账户") |
|
|
|
|