ソースを参照

fix contract

release_toaliyun_real
xiaohanzi 5年前
コミット
d979261ea6
1個のファイルの変更8行の追加3行の削除
  1. +8
    -3
      mallinkAdmin/src/main/java/com/iformall/controller/contract/WxRentContractController.java

+ 8
- 3
mallinkAdmin/src/main/java/com/iformall/controller/contract/WxRentContractController.java ファイルの表示

@@ -775,10 +775,15 @@ public class WxRentContractController extends WxContractBaseController {
@GetMapping("exportContract") @GetMapping("exportContract")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(name = "rentId", value = "rentId", dataType = "Long", paramType = "query", required = false), @ApiImplicitParam(name = "rentId", value = "rentId", dataType = "Long", paramType = "query", required = false),
@ApiImplicitParam(name = "propertyId", value = "propertyId", dataType = "Long", paramType = "query", required = false)})
@ApiImplicitParam(name = "propertyId", value = "propertyId", dataType = "String", paramType = "query", required = false)})
@SystemControllerLog(description = "租赁合同-导出合同") @SystemControllerLog(description = "租赁合同-导出合同")
public void exportContract(Long rentId,Long propertyId,HttpServletRequest request, HttpServletResponse response){
wxRentContractService.exportContract(request,response,rentId,propertyId);
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);
} }






読み込み中…
キャンセル
保存