Skip to content

Commit 0a74350

Browse files
author
core-lib
committed
bug修复
1 parent 04a3644 commit 0a74350

File tree

3 files changed

+1
-23
lines changed

3 files changed

+1
-23
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.sqlman</groupId>
88
<artifactId>sqlman</artifactId>
9-
<version>v0.0.3-alpha</version>
9+
<version>v0.0.4-alpha</version>
1010

1111
<name>sqlman</name>
1212

src/main/resources/sqlman/v5.2.0-仓库平均成本价.sql

-15
This file was deleted.

src/test/java/io/sqlman/test/BasicExecutorTests.java

-7
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22

33
import com.alibaba.druid.pool.DruidDataSource;
44
import io.sqlman.executor.BasicExecutor;
5-
import net.sf.jsqlparser.parser.CCJSqlParser;
65
import org.junit.Test;
76

8-
import java.io.InputStream;
9-
107
/**
118
* @author Payne [email protected]
129
* 2019/5/22 16:27
@@ -15,10 +12,6 @@ public class BasicExecutorTests {
1512

1613
@Test
1714
public void test() throws Exception {
18-
InputStream in = this.getClass().getResourceAsStream("/sqlman/v5.2.0-仓库平均成本价.sql");
19-
CCJSqlParser parser = new CCJSqlParser(in);
20-
parser.Statements();
21-
2215
DruidDataSource dataSource = new DruidDataSource();
2316
dataSource.setUrl("jdbc:mysql://new-alpha.juniusoft.com:23306/new_mf_pro_bak_0408?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8");
2417
dataSource.setUsername("new_mf");

0 commit comments

Comments
 (0)