Commit a9e0c7d0 authored by ZWT's avatar ZWT

得到的

parent b8e8677b
......@@ -26,7 +26,10 @@ import java.util.stream.Stream;
*/
public class BaseUtils {
private static final String databaseId = XStartup.getCurrent().getProperty("x.db.databaseId");
/**
* 数据库类型
*/
private static final String DATA_BASE_ID = XStartup.getCurrent().getProperty("x.db.databaseId");
/**
* 获取唯一一条
......@@ -34,7 +37,7 @@ public class BaseUtils {
* @return {@link String }
*/
public static String getLastLimit() {
switch (databaseId) {
switch (DATA_BASE_ID) {
case "Oracle":
return BusinessConstant.LAST_LIMIT_ORACLE;
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment