浏览代码

绩效考核 通过

ys321973351 1 年之前
父节点
当前提交
daa89ebd22

+ 5 - 3
itdmServer/module-iTDM/src/main/java/org/jeecg/modules/flowpath/service/impl/ItdmRunFlowPathStepServiceImpl.java

@@ -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);
 
 
-
-
     }
 }