Commit dd21e99b by 龙于生

修复转派之后不能审批问题

parent 28991fe3
......@@ -728,7 +728,7 @@ public class RouterUtils {
}
// 无下一个审批人 则更新 节点状态 为 EXECUTED(已执行)
if (!hasNextApprover) {
if (!hasNextApprover && es<=1) {
SpmkApproveExecuteRecord aer = SpmkApproveExecuteRecord
.builder()
.id(executeRecordId)
......@@ -737,9 +737,10 @@ public class RouterUtils {
// 更新 审批执行记录
aer.updateById();
if(es<=1){
listFlowChildren.get(i).setExecute(EXECUTED);
}
// if(es<=1){
// listFlowChildren.get(i).setExecute(EXECUTED);
// }
listFlowChildren.get(i).setExecute(EXECUTED);
}
//判断大节点为未执行
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment