| | |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/goSfRelay") |
| | | public AjaxResult goSfRelay(@RequestParam("taskId") Long taskId) { |
| | | public AjaxResult goSfRelay(@RequestParam("taskId") Long taskId, @RequestParam("deptcode") String deptcode, @RequestParam("leavehospitaldistrictcode") String leavehospitaldistrictcode) { |
| | | String url = localIP + ":" + req_path + "/SfRelay?taskid=" + taskId; |
| | | if(StringUtils.isNotEmpty(deptcode)){ |
| | | url = url + "&deptcode=" + deptcode; |
| | | } |
| | | if(StringUtils.isNotEmpty(leavehospitaldistrictcode)){ |
| | | url = url + "&leavehospitaldistrictcode=" + leavehospitaldistrictcode; |
| | | } |
| | | return AjaxResult.success(url); |
| | | } |
| | | |