问答中心 我的回答 返回taskID

This commit is contained in:
gaojiabao
2023-04-12 09:49:10 +08:00
parent dbe728db6f
commit 4e6d7c2d5f
3 changed files with 12 additions and 1 deletions
@@ -486,4 +486,7 @@ public interface workFlowFeignClient {
@RequestMapping(value = "/bat-wkflow/datas/bus-process-new/selectWenDan",method = RequestMethod.GET)
Map<String, Object> selectWenDan(@RequestParam("taskId")String taskId);
@RequestMapping(value = "/bat-wkflow/datas/bus-process-new/questionsAndAnswers",method = RequestMethod.GET)
BusProcessNew questionsAndAnswers(@RequestParam("askId") String askId,@RequestParam("answerer") String answerer);
}
@@ -442,4 +442,8 @@ public class workFlowFeignClientImpl {
public Map<String, Object> selectWenDan(@RequestParam("taskId") String taskId) {
return workFlowFeignClient.selectWenDan(taskId);
}
public BusProcessNew questionsAndAnswers(@RequestParam("askId") String askId,@RequestParam("answerer") String answerer) {
return workFlowFeignClient.questionsAndAnswers(askId,answerer);
}
}
@@ -1094,5 +1094,9 @@ public class WorkFlowController {
}
return Result.success();
}
@ApiOperation(value = "问答中心 个人中心 我的问答 回答无taskID问题")
@GetMapping("/questionsAndAnswers")
public BusProcessNew questionsAndAnswers(@RequestParam("askId") String askId,@RequestParam("answerer") String answerer) {
return workFlowFeignClient.questionsAndAnswers(askId,answerer);
}
}