|
|
|
@@ -101,11 +101,12 @@ public class WxRentPropertyContractController extends WxContractBaseController { |
|
|
|
@ApiImplicitParam(name = "rentId", value = "租金合同编号", dataType = "Long", paramType = "query", required = false), |
|
|
|
@ApiImplicitParam(name = "propertyId", value = "物业合同编号", dataType = "Long", paramType = "query", required = false), |
|
|
|
@ApiImplicitParam(name = "id", value = "租金合同编号(工作流用)", dataType = "String", paramType = "query", required = false)}) |
|
|
|
public ResultData findById(Long rentId,Long propertyId,String id) { |
|
|
|
public ResultData findById(String id) { |
|
|
|
logger.debug("[" + getIpAddr() + "] wxRentPropertyContract::findById"); |
|
|
|
if (null != rentId || null != propertyId) { |
|
|
|
return wxRentPropertyContractService.getContractInfo(rentId,propertyId); |
|
|
|
}else if (!StringUtils.isBlank(id)) { |
|
|
|
//if (null != rentId || null != propertyId) { |
|
|
|
// return wxRentPropertyContractService.getContractInfo(rentId,propertyId); |
|
|
|
//}else |
|
|
|
if (!StringUtils.isBlank(id)) { |
|
|
|
//租金+物业工作流查询会传此id |
|
|
|
String[] ids = id.split("_RP_"); |
|
|
|
if (ids.length == 2 ) { |
|
|
|
|