Sfoglia il codice sorgente

流程文件删除BUG修复

wangliang 3 anni fa
parent
commit
f7012b8970

+ 1 - 0
distributed-print-business/src/main/java/com/qmth/distributed/print/business/service/impl/ActivitiServiceImpl.java

@@ -455,6 +455,7 @@ public class ActivitiServiceImpl implements ActivitiService {
         } else {
             UpdateWrapper<TFFlow> tfFlowUpdateWrapper = new UpdateWrapper<>();
             tfFlowUpdateWrapper.lambda().eq(TFFlow::getFlowKey, SystemConstant.GDYKDX_FLOW_KEY)
+                    .eq(TFFlow::getActFlowId, tfFlow.getActFlowId())
                     .set(TFFlow::getEnable, false);
             tfFlowService.update(tfFlowUpdateWrapper);
         }