|
@@ -261,21 +261,25 @@ public class FlowProcessServiceImpl implements FlowProcessService {
|
|
|
|
|
|
// 结束流程
|
|
|
case REJECT:
|
|
|
+ flowExampleCurrentService.remove(q -> q.eq(FlowExampleCurrent::getFlowExampleId, context.getFlowExample().getId()));
|
|
|
flowResult = reject(context);
|
|
|
break;
|
|
|
|
|
|
// 返回上一节点
|
|
|
case RETURN_TO_PREVIOUS:
|
|
|
+ flowExampleCurrentService.remove(q -> q.eq(FlowExampleCurrent::getFlowExampleId, context.getFlowExample().getId()));
|
|
|
flowResult = returnToPrevious(context);
|
|
|
break;
|
|
|
|
|
|
// 退回到发起人
|
|
|
case RETURN_TO_SUBMITTER:
|
|
|
+ flowExampleCurrentService.remove(q -> q.eq(FlowExampleCurrent::getFlowExampleId, context.getFlowExample().getId()));
|
|
|
flowResult = returnToSubmitter(context);
|
|
|
break;
|
|
|
|
|
|
// 作废
|
|
|
case CANCELLATION:
|
|
|
+ flowExampleCurrentService.remove(q -> q.eq(FlowExampleCurrent::getFlowExampleId, context.getFlowExample().getId()));
|
|
|
flowResult = cancellation(context);
|
|
|
break;
|
|
|
//加签
|
|
@@ -290,6 +294,7 @@ public class FlowProcessServiceImpl implements FlowProcessService {
|
|
|
break;
|
|
|
// 退回到指定节点
|
|
|
case RETURN_TO_NODE:
|
|
|
+ flowExampleCurrentService.remove(q -> q.eq(FlowExampleCurrent::getFlowExampleId, context.getFlowExample().getId()));
|
|
|
flowResult = returnToNode(context, dto);
|
|
|
break;
|
|
|
|
|
@@ -1016,6 +1021,9 @@ public class FlowProcessServiceImpl implements FlowProcessService {
|
|
|
case "10":
|
|
|
identityName = "员工";
|
|
|
break;
|
|
|
+ case "15":
|
|
|
+ identityName = "组长";
|
|
|
+ break;
|
|
|
case "20":
|
|
|
identityName = "主管";
|
|
|
break;
|