guarantee-lsq преди 1 месец
родител
ревизия
e165b35fbf
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      platform-service/src/main/java/com/platform/service/workflow/verifyStrategy/impl/VerifyPassStrategy.java

+ 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())){