在使用activiti7工作流框架時,需要根據條件獲取審批意見,但是由於框架限制,只能獲取到接口,接口對應的實現類中的獲取不到。
解決方案如下:
1.根據流程實例ID獲取所有評論: List<Comment> comments = taskService.getProcessInstanceComments(processInstanceId); String message = ((CommentEntityImpl) t).getMessage(); |
在使用activiti7工作流框架時,需要根據條件獲取審批意見,但是由於框架限制,只能獲取到接口,接口對應的實現類中的獲取不到。
解決方案如下:
1.根據流程實例ID獲取所有評論: List<Comment> comments = taskService.getProcessInstanceComments(processInstanceId); String message = ((CommentEntityImpl) t).getMessage(); |
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。