wanghongzhi 1 tahun lalu
induk
melakukan
95e8b2b254

+ 2 - 2
easydo-chengfa/src/main/java/easydo/technology/service/FlowNoService.java

@@ -23,7 +23,7 @@ public class FlowNoService {
     DataSource dataSource;
 
 
-    public String getFlowNo(String type, Connection... connections) {
+    public String getFlowNo(String type, Connection... connections) throws Exception{
         Connection connection = null;
         try {
             if (connections.length > 0) {
@@ -51,7 +51,7 @@ public class FlowNoService {
             jdbcClient.jdbcUpdate(flowno, whereMap, connection);
             return no;
         } catch (Exception e) {
-            throw new BizException(e.getMessage());
+            throw e;
         } finally {
             if (connections.length == 0) {
                 jdbcClient.finallyExecute(connection);

File diff ditekan karena terlalu besar
+ 28 - 12
easydo-chengfa/src/main/java/easydo/technology/service/KafkaClient.java