|
|
@@ -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);
|