Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.diboot.devtools.v2.O0OOO00OO0OOOO0O Maven / Gradle / Ivy
/**
* Copyright (c) dibo.ltd, https://www.dibo.ltd, https://www.diboot.com
*
* ---- 版权声明 ----
* Diboot相关商标、软件著作权、专利等全部知识产权隶属于苏州帝博信息技术有限公司。
* Diboot devtools 非开源项目,如您有devtools相关定制化需求,请至官网(https://www.dibo.ltd)联系帝博信息商务。
*
* 《中华人民共和国刑法》规定:破坏计算机信息系统罪,处五年以下有期徒刑或者拘役;后果特别严重的,处五年以上有期徒刑。
* 侵犯知识产权罪:处三年以下有期徒刑、拘役或管制,并处罚金;情节特别严重的,处三年以上七年以下有期徒刑,并处罚金。
*
* 任何尝试破解、破坏devtools、侵犯diboot知识产权的行为,我们将不惜一切代价追究到底!
*
*/
package com.diboot.devtools.v2;
import com.diboot.core.util.*;
import lombok.extern.slf4j.Slf4j;
import java.util.*;
@Slf4j
@Deprecated()
public abstract class O0OOO00OO0OOOO0O {
public static final String l1lll11ll1l1l1 = OOO0OO00O00O00OO.l11llll1ll11ll1("ZGlib290Xw==");
public static final String lllllllllll111 = OOO0OO00O00O00OO.l11llll1ll11ll1("cXJ0el8=");
public static final List llll1l111ll111 = Arrays.asList(OOO0OO00O00O00OO.l11llll1ll11ll1("ZGljdGlvbmFyeQ=="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3VzZXI="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX2FjY291bnQ="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3JvbGU="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3VzZXJfcm9sZQ=="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3Jlc291cmNlX3Blcm1pc3Npb24="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3JvbGVfcmVzb3VyY2U="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX2xvZ2luX3RyYWNl"), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX29wZXJhdGlvbl9sb2c="), OOO0OO00O00O00OO.l11llll1ll11ll1("dXBsb2FkX2ZpbGU="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX29yZw=="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX29yZ19wb3NpdGlvbg=="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3Bvc2l0aW9u"), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3Bvc2l0aW9uX3JvbGU="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3VzZXJfcG9zaXRpb24="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX2NoYW5nZV90cmFjZQ=="), OOO0OO00O00O00OO.l11llll1ll11ll1("c2NoZWR1bGVfam9i"), OOO0OO00O00O00OO.l11llll1ll11ll1("c2NoZWR1bGVfam9iX2xvZw=="), OOO0OO00O00O00OO.l11llll1ll11ll1("bWVzc2FnZQ=="), OOO0OO00O00O00OO.l11llll1ll11ll1("bWVzc2FnZV90ZW1wbGF0ZQ=="), OOO0OO00O00O00OO.l11llll1ll11ll1("c3lzdGVtX2NvbmZpZw=="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3RlbmFudA=="), OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3RlbmFudF9yZXNvdXJjZQ=="), OOO0OO00O00O00OO.l11llll1ll11ll1("b2F1dGhfY2xpZW50X2RldGFpbHM="), OOO0OO00O00O00OO.l11llll1ll11ll1("ZGF0YV9zeW5jX2xvZw=="));
private static final List ll111l1ll1ll1 = Collections.emptyList();
protected static final String lllllll1lll1ll = OOO0OO00O00O00OO.l11llll1ll11ll1("bXliYXRpcy1wbHVzLmdsb2JhbC1jb25maWcuZGItY29uZmlnLnNjaGVtYQ==");
public O0OOO00OO0OOOO0O() {
}
protected static String llllll11l11lll = null;
@Deprecated()
public boolean lll11111l1l1ll1() {
return false;
}
@Deprecated()
public String ll1111lll1ll1l1() {
llllll11l11lll = SqlFileInitializer.getCurrentSchema();
return llllll11l11lll;
}
@Deprecated()
public List l11ll1l1ll11l1l(String ll1l11llll11) {
List lllllllll1ll = new ArrayList<>();
String l1l1lll1lll1 = l1ll1111l1lll1l(ll1l11llll11);
List> l11ll1ll1111 = null;
try {
l11ll1ll1111 = SqlExecutor.executeQuery(l1l1lll1lll1, null);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6I635Y+W6KGo57uT5p6E5YiX5a6a5LmJ5aSx6LSlOiB7fQ=="), e.getMessage());
}
if (l11ll1ll1111 != null) {
for (Map l1lll11lll1l : l11ll1ll1111) {
O000000O0O0OO000 l1ll1l1ll111 = l1ll11ll1l1lll1(ll1l11llll11, l1lll11lll1l);
lllllllll1ll.add(l1ll1l1ll111);
}
OOO0OOO0O0OO00O0.lllll1lllll11l1(lllllllll1ll, false);
}
l1lll1ll11ll1l1(lllllllll1ll);
return lllllllll1ll;
}
@Deprecated()
public String l11111111l1lll1(String l1llll1l111l, String l11l1l11l1ll) {
if (l11l1l11l1ll == null) {
return "";
}
String lll1111l1lll = l1ll1111l1lll1l(l1llll1l111l);
List> l11llll11l11 = null;
try {
l11llll11l11 = SqlExecutor.executeQuery(lll1111l1lll, null);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6I635Y+W6KGo57uT5p6E5YiX5a6a5LmJ5aSx6LSlOiB7fQ=="), e.getMessage());
}
if (l11llll11l11 != null) {
for (Map ll1l1l111ll1 : l11llll11l11) {
O000000O0O0OO000 lllll1lll111 = l1ll11ll1l1lll1(l1llll1l111l, ll1l1l111ll1);
if (l11l1l11l1ll.equalsIgnoreCase(lllll1lll111.getColName())) {
return lllll1lll111.getFieldLabel();
}
}
}
return "";
}
private static String l1l11l11l11ll = null;
@Deprecated()
protected String l11ll11111lll11() {
if (l1l11l11l11ll == null) {
l1l11l11l11ll = ContextHelper.getJdbcUrl();
}
return l1l11l11l11ll;
}
@Deprecated()
protected abstract String l1ll1111l1lll1l(String l1ll11llllll);
@Deprecated()
public abstract O000000O0O0OO000 l1ll11ll1l1lll1(String lll1ll1llll1, Map ll1llllll111);
@Deprecated()
public abstract String lllll1l1ll1l1l1(String l11lllllllll, int lll1l11lll1l);
@Deprecated()
public abstract String l1l1ll1llllll11(String lllllll11lll);
@Deprecated()
public List l1ll1l1l11l1l1l(String l11ll1ll1ll1) {
List> llllll11l11l = null;
try {
String llllll11l1ll = l1l1l1111llll11(l11ll1ll1ll1);
llllll11l1ll = SqlFileInitializer.buildPureSqlStatement(llllll11l1ll);
llllll11l11l = SqlExecutor.executeQuery(llllll11l1ll, null);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6I635Y+W6KGo5L+h5oGv5a6a5LmJ5aSx6LSlOiB7fQ=="), e.getMessage());
}
if (V.isEmpty(llllll11l11l)) {
return Collections.emptyList();
}
return llll1llll1ll111(l11ll1ll1ll1, llllll11l11l);
}
@Deprecated()
protected abstract List llll1llll1ll111(String llll11ll1111, List> l11ll1lll1l1);
@Deprecated()
public abstract String l1l1l1111llll11(String ll11llll11l1);
@Deprecated()
public boolean llll111l11l1ll1(OO0OOO00000O00O0 l111llll11l1) {
String ll11llll111l = new StringBuilder(OOO0OO00O00O00OO.l11llll1ll11ll1("RFJPUCBJTkRFWCA=")).append(l111llll11l1.getIndexName()).toString();
return O0OOOO00OO0O00O0.l11l1lllll11l11(ll11llll111l, true);
}
@Deprecated()
public boolean lll1lll1l1l1111(String l11l111ll11l) {
try {
String l1l11l1lll1l = llll11ll1l1l1ll(l11l111ll11l);
List> l1ll1ll1ll11 = SqlExecutor.executeQuery(l1l11l1lll1l, null);
return V.notEmpty(l1ll1ll1ll11);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6I635Y+W5pWw5o2u6KGo5a6a5LmJ5byC5bi4OiB7fQ=="), e.getMessage());
return false;
}
}
@Deprecated()
public O00000O0OOO0O0OO llll1lll111l111(boolean l11l1l111l1l, String ll1111l1ll1l) {
List l1l1l1l11l11 = lllll1lll11111l(l11l1l111l1l, ll1111l1ll1l);
if (V.notEmpty(l1l1l1l11l11)) {
return l1l1l1l11l11.get(0);
}
return null;
}
@Deprecated()
public List lllll1lll11111l(boolean lll11llll1ll, String l1l1ll11ll1l) {
List l111111l111l = new ArrayList<>();
try {
String l11lllll1111 = llll11ll1l1l1ll(l1l1ll11ll1l);
List> l11l1ll1111l = SqlExecutor.executeQuery(l11lllll1111, null);
if (V.notEmpty(l11l1ll1111l)) {
for (Map l1l1l1ll111l : l11l1ll1111l) {
String l1ll11ll1l11 = (String) l1l1l1ll111l.get(OOO0OO00O00O00OO.l11llll1ll11ll1("bmFtZQ=="));
if (S.startsWithIgnoreCase(l1ll11ll1l11, l1lll11ll1l1l1) || S.startsWithIgnoreCase(l1ll11ll1l11, lllllllllll111)) {
continue;
}
if (lll11llll1ll && ll111l1ll1ll1.contains(l1ll11ll1l11)) {
continue;
}
String l11l11llll1l = l1l1l1ll111l.get(OOO0OO00O00O00OO.l11llll1ll11ll1("Y29tbWVudA==")) != null ? (String) l1l1l1ll111l.get(OOO0OO00O00O00OO.l11llll1ll11ll1("Y29tbWVudA==")) : "-";
O00000O0OOO0O0OO ll1l111l1lll = new O00000O0OOO0O0OO();
ll1l111l1lll.setTableName(l1ll11ll1l11);
ll1l111l1lll.setObjName(l11l11llll1l);
if (llll1l111ll111.contains(l1ll11ll1l11.toLowerCase())) {
ll1l111l1lll.setEditable(false);
}
l111111l111l.add(ll1l111l1lll);
}
}
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6I635Y+W5omA5pyJ5pWw5o2u6KGo5a6a5LmJ5byC5bi4OiB7fQ=="), e.getMessage());
}
return l111111l111l;
}
@Deprecated()
public String l1ll1l1l1ll1111(String llll1l1l1111, String llll1lll111l) {
String llll11l1lll1 = l11111111l1lll1(llll1l1l1111, llll1lll111l);
if (V.notEmpty(llll11l1lll1)) {
return llll11l1lll1;
}
return "";
}
@Deprecated()
protected abstract String llll11ll1l1l1ll(String l1l11ll11l1l);
protected static final String[] l11l111l1111l1 = new String[] { OOO0OO00O00O00OO.l11llll1ll11ll1("RGF0YWJhc2VOYW1lPQ=="), OOO0OO00O00O00OO.l11llll1ll11ll1("ZGF0YWJhc2U9"), "/", ":" };
private static final String[] ll11llll1l111 = new String[] { "?", ";", "&" };
@Deprecated()
public static String ll1lll1l11lll1l(String llll11l11l1l, String[] l111lll11ll1) {
String ll1111l111ll = S.substringAfter(llll11l11l1l, "//");
for (String l1l11llll11l : l111lll11ll1) {
if (S.contains(ll1111l111ll, l1l11llll11l)) {
ll1111l111ll = S.substringAfter(ll1111l111ll, l1l11llll11l);
break;
}
}
for (String l1l11llll11l : ll11llll1l111) {
if (S.contains(ll1111l111ll, l1l11llll11l)) {
ll1111l111ll = S.substringBefore(ll1111l111ll, l1l11llll11l);
}
}
if (ll1111l111ll.equals(llll11l11l1l) || ll1111l111ll.contains("/")) {
ll1111l111ll = null;
}
return ll1111l111ll;
}
@Deprecated()
protected String l1l1lll1lll1l11(String l11lllll1lll) {
return ll1111lll1ll1l1() + "." + l1l1ll1llllll11(l11lllll1lll);
}
@Deprecated()
public Map lll1lll11l111ll(String l1111ll11111) {
Map lll1lll111l1 = new HashMap<>();
try {
String lll1l1l111l1 = l1ll1lll1l1l1l1(l1111ll11111);
lll1l1l111l1 = lllll1l1ll1l1l1(lll1l1l111l1, 1);
List> ll1l11llll11 = SqlExecutor.executeQuery(lll1l1l111l1, null);
if (V.notEmpty(ll1l11llll11)) {
lll1lll111l1 = ll1l11llll11.get(0);
}
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6I635Y+W5qC35L6L5pWw5o2u5aSx6LSlOiB7fQ=="), e.getMessage());
}
return lll1lll111l1;
}
@Deprecated()
protected void l1lll1ll11ll1l1(List l1ll1111l1ll) {
}
@Deprecated()
public boolean ll1l111l1ll11l1() {
return true;
}
@Deprecated()
protected String l1ll1lll1l1l1l1(String l1llllll11l1) {
return OOO0OO00O00O00OO.l11llll1ll11ll1("U0VMRUNUICogRlJPTSA=") + l1l1ll1llllll11(l1llllll11l1);
}
@Deprecated()
public boolean ll111111ll1l111(String l11ll11l11ll) {
return ll111111l1ll1ll().contains("," + l11ll11l11ll.toLowerCase() + ",") || ll111111l1ll1ll().contains("," + l11ll11l11ll.toUpperCase() + ",");
}
@Deprecated()
public boolean llll11l1lll1111(String lll1llllllll) {
return O0OOOO00OO0O00O0.l11l1lllll11l11(lll1llllllll, true);
}
@Deprecated()
public boolean l1l1lll1l1l1lll(List lll11l1l1lll, boolean llll11l1ll11) {
if (V.isEmpty(lll11l1l1lll)) {
return true;
}
for (String l111llll11l1 : lll11l1l1lll) {
O0OOOO00OO0O00O0.l11l1lllll11l11(l111llll11l1, llll11l1ll11);
}
return true;
}
@Deprecated()
protected abstract String ll111111l1ll1ll();
}