|
@@ -92,7 +92,9 @@ public class ItdmRunFlowPathStepServiceImpl extends ServiceImpl<ItdmRunFlowPathS
|
|
|
|
|
|
@Override
|
|
|
public void pass1(ItdmPassRunFlowPath itdmRunFlowPathStep) {
|
|
|
- ItdmRunFlowPathStep select = this.baseMapper.selectById(itdmRunFlowPathStep.getRunFlowPathStep());
|
|
|
+
|
|
|
+ ItdmRunFlowPath itdmRunFlowPath = this.itdmRunFlowPathMapper.selectById(itdmRunFlowPathStep.getRunFlowPath());
|
|
|
+ ItdmRunFlowPathStep select = this.baseMapper.selectById(itdmRunFlowPath.getDqSetp());
|
|
|
LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
select.setFqUser(user.getUsername());
|
|
|
this.baseMapper.updateById(select);
|
|
@@ -101,11 +103,6 @@ public class ItdmRunFlowPathStepServiceImpl extends ServiceImpl<ItdmRunFlowPathS
|
|
|
.eq(ItdmRunFlowPathStep::getSort, Integer.parseInt(select.getSort()) + 1)
|
|
|
|
|
|
);
|
|
|
- ItdmRunFlowPath itdmRunFlowPath = this.itdmRunFlowPathMapper.selectById(select.getRunFlowPath());
|
|
|
- if (!itdmRunFlowPath.getDqSetp().equals(select.getFlowPathSetp())) {
|
|
|
- throw new JeecgBootException("当前节点不是在进行中");
|
|
|
- }
|
|
|
-
|
|
|
itdmRunFlowPath.setId(select.getRunFlowPath());
|
|
|
itdmRunFlowPath.setDqSetp(nextstep.getFlowPathSetp());
|
|
|
itdmRunFlowPath.setDqSetpUserIds(nextstep.getUserIds());
|