소스 검색

删除sop流程步骤自动生成

小车车 3 달 전
부모
커밋
5803b75189
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      yudao-module-iscs/src/main/java/cn/iocoder/yudao/module/iscs/service/sop/SopServiceImpl.java

+ 2 - 2
yudao-module-iscs/src/main/java/cn/iocoder/yudao/module/iscs/service/sop/SopServiceImpl.java

@@ -74,10 +74,10 @@ public class SopServiceImpl extends ServiceImpl<SopMapper, SopDO> implements Sop
             sopPointsService.createSopPoints(vo.getSopPointsList());
         }
         // 新增流程步骤信息
-        if (vo.getSopStepList() != null && !vo.getSopStepList().isEmpty()) {
+        /*if (vo.getSopStepList() != null && !vo.getSopStepList().isEmpty()) {
             vo.getSopStepList().forEach(o -> o.setSopId(sop.getId()));
             sopWorkflowStepService.createSopWorkflowStep(vo.getSopStepList());
-        }
+        }*/
         // 返回
         return sop.getId();
     }