예제 #1
0
 /**
  * @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);
 }
예제 #2
0
 /**
  * 签收
  *
  * @param taskId 任务id
  */
 @Override
 public void claim(String taskId) {
   String userId = UserUtils.getUserFromSession().getNatrualkey();
   taskService.claim(taskId, userId);
 }