From ecdac8a738f254db2b2ea28cbe3248f7a6a7eb2b Mon Sep 17 00:00:00 2001
From: mrzcc <121184950@qq.com>
Date: 星期五, 06 三月 2020 16:18:27 +0800
Subject: [PATCH] 优化采购申请组件

---
 java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java b/java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java
index 1cb6c22..3dcb909 100644
--- a/java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java
+++ b/java110-event/src/main/java/com/java110/event/service/BusinessServiceDataFlowEventPublishing.java
@@ -1,11 +1,11 @@
 package com.java110.event.service;
 
-import com.java110.common.constant.CommonConstant;
-import com.java110.common.constant.ResponseConstant;
-import com.java110.common.exception.BusinessException;
-import com.java110.common.factory.ApplicationContextFactory;
-import com.java110.common.log.LoggerEngine;
-import com.java110.common.util.Assert;
+import com.java110.utils.constant.CommonConstant;
+import com.java110.utils.constant.ResponseConstant;
+import com.java110.utils.exception.BusinessException;
+import com.java110.utils.factory.ApplicationContextFactory;
+import com.java110.utils.log.LoggerEngine;
+import com.java110.utils.util.Assert;
 import com.java110.core.context.DataFlowContext;
 import com.java110.event.center.DataFlowListenerOrderComparator;
 
@@ -115,7 +115,8 @@
 
             multicastEvent(businessTypeCd,targetDataFlowEvent, asyn);
         }catch (Exception e){
-            throw new BusinessException(ResponseConstant.RESULT_CODE_INNER_ERROR,"鍙戝竷渚﹀惉澶辫触锛屽け璐ュ師鍥犱负锛�"+e);
+            logger.error("鍙戝竷渚﹀惉澶辫触",e);
+            throw new BusinessException(ResponseConstant.RESULT_CODE_INNER_ERROR,e.getMessage());
         }
 
     }
@@ -168,7 +169,7 @@
             listener.soService(event);
         }catch (Exception e){
             LoggerEngine.error("鍙戝竷渚﹀惉澶辫触",e);
-            throw new RuntimeException("鍙戝竷渚﹀惉澶辫触,"+listener+ event + e);
+            throw new RuntimeException(e.getMessage());
         }
     }
 }

--
Gitblit v1.8.0