/** * @param taskId * @param processInstanceId * @param message */ @Override public void saveComment(String taskId, String processInstanceId, String message) { identityService.setAuthenticatedUserId(UserUtils.getUserFromSession().getNatrualkey()); taskService.addComment(taskId, processInstanceId, message); }
/** * 签收 * * @param taskId 任务id */ @Override public void claim(String taskId) { String userId = UserUtils.getUserFromSession().getNatrualkey(); taskService.claim(taskId, userId); }