wangliang 1 éve
szülő
commit
3bc7d39f52

+ 4 - 0
sop-business/src/main/java/com/qmth/sop/business/service/impl/TBCrmDetailServiceImpl.java

@@ -74,6 +74,9 @@ public class TBCrmDetailServiceImpl extends ServiceImpl<TBCrmDetailMapper, TBCrm
     @Resource
     TFFlowApproveService tfFlowApproveService;
 
+    @Resource
+    TBDingService tbDingService;
+
     /**
      * 查找派单sop信息
      *
@@ -299,6 +302,7 @@ public class TBCrmDetailServiceImpl extends ServiceImpl<TBCrmDetailMapper, TBCrm
                     setupMap.put(flowTaskResult.getTaskKey(), flowTaskResult);
                     tfCustomFlowEntity.setFlowProcessVar(JacksonUtil.parseJson(flowResult));
                     tfCustomFlowEntityService.updateById(tfCustomFlowEntity);
+                    tbDingService.resetDingExceptionBySopNo(tbCrmDetail.getSopNo());
                 }
             }
             return tbCrmDetailService.saveOrUpdate(tbCrmDetail);