|
|
|
@@ -55,6 +55,23 @@ public class WxRentPropertyContractServiceImpl implements WxRentPropertyContract |
|
|
|
return new ResultData(data); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public ResultData getContractApplyInfo(Long id) { |
|
|
|
Map<String, Object> data = new HashMap<>(2); |
|
|
|
Map<String, Object> rent = wxRentContractService.getById(id); |
|
|
|
data.put("rent", rent); |
|
|
|
WxPropertyContract wxPropertyContractQuery = new WxPropertyContract(); |
|
|
|
wxPropertyContractQuery.setRentContractId(id); |
|
|
|
WxPropertyContract propertyContract = wxPropertyContractMapper.selectOne(wxPropertyContractQuery); |
|
|
|
if (propertyContract != null) { |
|
|
|
Map<String, Object> property = wxPropertyContractService.getById(propertyContract.getId()); |
|
|
|
data.put("property", property); |
|
|
|
} |
|
|
|
return new ResultData(data); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public ResultData insertRentForCreate(WxRentContract wxRentContract) { |
|
|
|
return null; |
|
|
|
|