浏览代码

feature(总线申请报错删除申请单): 总线申请报错删除申请单

总线申请报错删除申请单
mazq 3 年之前
父节点
当前提交
4c8718570e

+ 3 - 0
dcuc-auth-service/src/main/java/com/dragoninfo/dcuc/auth/auth/business/impl/ServiceAuthBusinessImpl.java

@@ -185,6 +185,9 @@ public class ServiceAuthBusinessImpl implements IServiceAuthBusiness {
         } catch (Exception e) {
         } catch (Exception e) {
             log.error("work flow push error.", e);
             log.error("work flow push error.", e);
             responseDTO = new ResponseDTO(ResponseStatus.FAIL_CODE, "push to work flow error", null);
             responseDTO = new ResponseDTO(ResponseStatus.FAIL_CODE, "push to work flow error", null);
+            //删除工单
+            workFlowService.delById(workFlow.getId());
+            serviceAuthContentService.delByAuthApplyId(workFlow.getId());
         }
         }
         return responseDTO;
         return responseDTO;
     }
     }