排除文件修改
parent
8587eafee4
commit
09cdc32bf8
|
@ -16,7 +16,7 @@ log
|
|||
*.ipa
|
||||
*.apk
|
||||
.idea/
|
||||
.gitignore
|
||||
#.gitignore
|
||||
!.gitignore
|
||||
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
|
||||
# should NOT be excluded as they contain compiler settings and other important
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
package baseTest;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import weaver.conn.RecordSet;
|
||||
import weaver.general.GCONST;
|
||||
|
||||
/**
|
||||
* @author EBU7-dev1-ayh
|
||||
* create 2021/12/13 0013 23:08
|
||||
*/
|
||||
|
||||
|
||||
public class BaseTest {
|
||||
@Before
|
||||
public void before() {
|
||||
GCONST.setServerName("ecology");
|
||||
GCONST.setRootPath("F:\\wxr\\e9-project-ebu7-dev1\\src\\main\\resources\\");
|
||||
GCONST.setSystemFilePath("F:\\wxr\\e9-project-ebu7-dev1\\src\\main\\resources\\file");
|
||||
// GCONST.setLogPath("/Users/aoey.oct.22/company/Fan_wei/code/idea/ecology9-project/log");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void with() {
|
||||
String sql = "select COMPANYNAME,LICENSE,EXPIREDATE,CVERSION from license ";
|
||||
RecordSet rs = new RecordSet();
|
||||
rs.executeQuery(sql);
|
||||
if (rs.next()) {
|
||||
System.out.println("公司名称:" + rs.getString(1));
|
||||
System.out.println("LICENSE:" + rs.getString(2));
|
||||
System.out.println("授权到期日期:" + rs.getString(3));
|
||||
System.out.println("版本:" + rs.getString(4));
|
||||
Console.log(sql);
|
||||
System.out.println(GCONST.getSysFilePath());
|
||||
// 打印文件位置
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue