修改任务池退回直接提交
This commit is contained in:
parent
e3ac48c5f5
commit
216e0c9e0d
@ -917,6 +917,23 @@ public class FlowAction {
|
||||
return sRet.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查如果是退回直接提交步骤,就不弹出用户选择框
|
||||
* @throws Exception
|
||||
*/
|
||||
public String checkBackType(JBOTransaction tx) throws Exception {
|
||||
FlowTask ft = new FlowTask(taskNo, tx);
|
||||
if(ft.AssignedTaskNo.length() > 0) {
|
||||
FlowTask ftB = new FlowTask(ft.AssignedTaskNo, tx);
|
||||
this.nextNodeType = "TASK";
|
||||
this.phaseOpinion = ftB.PhaseNo;
|
||||
this.phaseAction = ftB.UserID + " " + ftB.UserName;
|
||||
return this.submit(tx);
|
||||
} else {
|
||||
return "false";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据taskNo得到flowTask对象,根据phaseAction, phaseOpinion提交
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user