소스 검색

临时修改

wangliang 5 달 전
부모
커밋
3a76f1dd8d
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      sop-business/src/main/java/com/qmth/sop/business/service/impl/TBSopInfoServiceImpl.java

+ 4 - 1
sop-business/src/main/java/com/qmth/sop/business/service/impl/TBSopInfoServiceImpl.java

@@ -1869,7 +1869,10 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
         tbCrmDetailService.updateById(tbCrmDetail);
         tbDingService.resetDingExceptionBySopNo(tbSopInfo.getSopNo());
         tfCustomFlowEntityService.updateById(tfCustomFlowEntity);
-        tbSopInfoService.sopProxySystemApprove(tfCustomFlowEntity.getFlowId(), tbSopInfo.getSopNo());
+        if (tfCustomFlow.getType() == TFCustomTypeEnum.CLOUD_MARK_SOP_FLOW
+                && tfFlowApprove.getSetup().intValue() >= 3) {
+            tbSopInfoService.sopProxySystemApprove(tfCustomFlowEntity.getFlowId(), tbSopInfo.getSopNo());
+        }
         return true;
     }