guarantee-lsq 1 сар өмнө
parent
commit
e165b35fbf

+ 2 - 2
platform-service/src/main/java/com/platform/service/workflow/verifyStrategy/impl/VerifyPassStrategy.java

@@ -93,8 +93,8 @@ public class VerifyPassStrategy extends AbstractBaseStrategy {
         // 获取历史记录
         WorkflowTaskBom oldBom = workflowTaskBomMapper.selectByPrimaryKey(updBom.getId());
         WorkflowTaskBom queryBom = new WorkflowTaskBom();
-        queryBom.setTaskId(queryBom.getTaskId());
-        queryBom.setNodeId(queryBom.getNodeId());
+        queryBom.setTaskId(oldBom.getTaskId());
+        queryBom.setNodeId(oldBom.getNodeId());
         List<WorkflowTaskBom> historyList = workflowTaskBomMapper.select(queryBom);
         historyList.forEach(item->{
             if(!item.getId().equals(oldBom.getNodeId())){