|
|
|
@@ -432,9 +432,15 @@ public class WxRentContractController extends WxContractBaseController { |
|
|
|
@ApiImplicitParam(name = "pageNum", value = "页数", dataType = "int", paramType = "query", required = true), |
|
|
|
@ApiImplicitParam(name = "pageSize", value = "每页条数", dataType = "int", paramType = "query", required = true)}) |
|
|
|
@SystemControllerLog(description = "租赁合同-列表") |
|
|
|
public ResultData getRentContractList(@ModelAttribute WxRentContract wxRentContract, Integer pageNum, Integer pageSize) { |
|
|
|
public ResultData getRentContractList(@ModelAttribute WxRentContract wxRentContract, Integer validStatus, Integer pageNum, Integer pageSize) { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxRentContractController::getRentContractList"); |
|
|
|
wxRentContract.updateTenantInfo(getTenantInfo()); |
|
|
|
if (1 == validStatus) { |
|
|
|
List<Integer> statuss = new ArrayList<Integer>(); |
|
|
|
statuss.add(EnumRentContractStatus.PAING.getCode()); |
|
|
|
statuss.add(EnumRentContractStatus.OUT_DATE.getCode()); |
|
|
|
wxRentContract.setStatuss(statuss); |
|
|
|
} |
|
|
|
return new ResultData(wxRentContractService.getRentContractList(wxRentContract, pageNum, pageSize)); |
|
|
|
} |
|
|
|
|
|
|
|
|