|
@@ -966,4 +966,14 @@ public class FlowInstance { |
|
|
worker.work(bean, comment, us.getUserId()); |
|
|
worker.work(bean, comment, us.getUserId()); |
|
|
getCommentDao().updateEntity(bean); |
|
|
getCommentDao().updateEntity(bean); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//获取流程定义信息 |
|
|
|
|
|
public ModelProc getProcDef() { |
|
|
|
|
|
return procDef; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//获取指定的任务定义信息 |
|
|
|
|
|
public Activity findActivity(String actId) { |
|
|
|
|
|
return procDef.getProcInfo().findActivity(actId); |
|
|
|
|
|
} |
|
|
} |
|
|
} |