|
@@ -94,7 +94,11 @@ public class ItdmRunFlowPathStepServiceImpl extends ServiceImpl<ItdmRunFlowPathS
|
|
|
public void pass1(ItdmPassRunFlowPath itdmRunFlowPathStep) {
|
|
|
|
|
|
ItdmRunFlowPath itdmRunFlowPath = this.itdmRunFlowPathMapper.selectById(itdmRunFlowPathStep.getRunFlowPath());
|
|
|
- ItdmRunFlowPathStep select = this.baseMapper.selectById(itdmRunFlowPath.getDqSetp());
|
|
|
+ ItdmRunFlowPathStep select = this.baseMapper.selectOne(Wrappers.lambdaQuery(ItdmRunFlowPathStep.class)
|
|
|
+ .eq(ItdmRunFlowPathStep::getRunFlowPath, itdmRunFlowPath.getId())
|
|
|
+ .eq(ItdmRunFlowPathStep::getFlowPathSetp, itdmRunFlowPath.getDqSetp())
|
|
|
+
|
|
|
+ );
|
|
|
LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
select.setFqUser(user.getUsername());
|
|
|
this.baseMapper.updateById(select);
|
|
@@ -178,7 +182,5 @@ public class ItdmRunFlowPathStepServiceImpl extends ServiceImpl<ItdmRunFlowPathS
|
|
|
itdmRunFlowPathMapper.updateById(itdmRunFlowPath);
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
}
|