|
|
|
@@ -804,19 +804,19 @@ public class WxRentContractController extends WxContractBaseController { |
|
|
|
return wxRentContractService.update(rentContract, user.getId(),user.getName(), EnumFromType.SWITCH.getCode(),oldDate,false); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("exportContract") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "rentId", value = "rentId", dataType = "Long", paramType = "query", required = false), |
|
|
|
@ApiImplicitParam(name = "propertyId", value = "propertyId", dataType = "String", paramType = "query", required = false)}) |
|
|
|
@SystemControllerLog(description = "租赁合同-导出合同") |
|
|
|
public void exportContract(Long rentId,String propertyId,HttpServletRequest request, HttpServletResponse response){ |
|
|
|
Long pid = null; |
|
|
|
try { |
|
|
|
pid = Long.parseLong(propertyId); |
|
|
|
}catch(Exception e) { |
|
|
|
} |
|
|
|
wxRentContractService.exportContract(request,response,rentId,pid); |
|
|
|
} |
|
|
|
// @GetMapping("exportContract") |
|
|
|
// @ApiImplicitParams({ |
|
|
|
// @ApiImplicitParam(name = "rentId", value = "rentId", dataType = "Long", paramType = "query", required = false), |
|
|
|
// @ApiImplicitParam(name = "propertyId", value = "propertyId", dataType = "String", paramType = "query", required = false)}) |
|
|
|
// @SystemControllerLog(description = "租赁合同-导出合同") |
|
|
|
// public void exportContract(Long rentId,String propertyId,HttpServletRequest request, HttpServletResponse response){ |
|
|
|
// Long pid = null; |
|
|
|
// try { |
|
|
|
// pid = Long.parseLong(propertyId); |
|
|
|
// }catch(Exception e) { |
|
|
|
// } |
|
|
|
// wxRentContractService.exportContract(request,response,rentId,pid); |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
// @GetMapping("/getRentContractStatusInfo") |
|
|
|
|