enhancement #I5XWL2 数据库插件支持脚本的存储

This commit is contained in:
everywhere.z 2022-11-03 13:44:09 +08:00
parent aafc668d44
commit 657a557d7e
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ public class SQLWithXmlELSpringbootTest extends BaseTest {
private void changeData() {
LiteflowConfig liteflowConfig = LiteflowConfigGetter.get();
SQLParserVO sqlParserVO = JsonUtil.parseObject(liteflowConfig.getRuleSourceExtData(), SQLParserVO.class);
Connection connection = null;
Connection connection;
try {
connection = DriverManager.getConnection(sqlParserVO.getUrl(), sqlParserVO.getUsername(), sqlParserVO.getPassword());
Statement statement = connection.createStatement();
@ -84,7 +84,7 @@ public class SQLWithXmlELSpringbootTest extends BaseTest {
private void changeScriptData() {
LiteflowConfig liteflowConfig = LiteflowConfigGetter.get();
SQLParserVO sqlParserVO = JsonUtil.parseObject(liteflowConfig.getRuleSourceExtData(), SQLParserVO.class);
Connection connection = null;
Connection connection;
try {
connection = DriverManager.getConnection(sqlParserVO.getUrl(), sqlParserVO.getUsername(), sqlParserVO.getPassword());
Statement statement = connection.createStatement();