All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.diboot.devtools.v2.O0O0OOOOO0OO000O Maven / Gradle / Ivy

The newest version!
/**
 * 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.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; @Slf4j @Deprecated() public class O0O0OOOOO0OO000O extends O0OOO00OO0OOOO0O { private static final String[] lll1l11111lll = { "((", "(" }; private static final String[] ll111llll1lll = { "))", ")" }; private static final String l1ll11ll1l11l = OOO0OO00O00O00OO.l11llll1ll11ll1("LGFic29sdXRlLGlzLGFjdGlvbixicmVhayxpc29sYXRpb24sYWRhLGpvaW4sYWRkLGtleSxhbGwsbGFuZ3VhZ2UsYWxsb2NhdGUsbGFzdCxhbHRlcixsZWFkaW5nLGFuZCxsZWZ0LGFueSxsZXZlbCxhcmUsbGlrZSxhcyxsb2NhbCxhc2MsbG93ZXIsYXNzZXJ0aW9uLG1hdGNoLGF0LG1heCxhdXRob3JpemF0aW9uLG1pbixhdmcsbWludXRlLGJlZ2luLG1vZHVsZSxiZXR3ZWVuLG1vbnRoLGJpdCxuYW1lcyxiaXRfbGVuZ3RoLG5hdGlvbmFsLGJvdGgsbmF0dXJhbCxieSxuY2hhcixjYXNjYWRlLG5leHQsY2FzY2FkZW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lLGVzY2FwZSxzcWxlcnJvcixleGNlcHQsc3Fsc3RhdGUsZXhjZXB0aW9uLHNxbHdhcm5pbmcsZXhlYyxzdWJzdHJpbmcsZXhlY3V0ZUFjdGlvbixzdW0sZXhpc3RzLHN5c3RlbV91c2VyLGV4dGVybmFsLHRhYmxlLGV4dHJhY3QsdGVtcG9yYXJ5LGZhbHNlLHRoZW4sZmV0Y2gsdGltZSxmaXJzdCx0aW1lc3RhbXAsZmxvYXQsdGltZXpvbmVfaG91cixmb3IsdGltZXpvbmVfbWludXRlLGZvcmVpZ24sdG8sZm9ydHJhbix0cmFpbGluZyxmb3VuZCx0cmFuc2FjdGlvbixmcm9tLHRyYW5zbGF0ZSxmdWxsLHRyYW5zbGF0aW9uLGdldCx0cmltLGdsb2JhbCx0cnVlLGdvLHVuaW9uLGdvdG8sdW5pcXVlLGdyYW50LHVua25vd24sZ3JvdXAsdXBkYXRlLGhhdmluZyx1cHBlcixob3VyLHVzYWdlLGlkZW50aXR5LHVzZXIsaW1tZWRpYXRlLHVzaW5nLGluLHZhbHVlLGluY2x1ZGUsdmFsdWVzLGluZGV4LHZhcmNoYXIsaW5kaWNhdG9yLHZhcnlpbmcsaW5pdGlhbGx5LHZpZXcsaW5uZXIsd2hlbixpbnB1dCx3aGVuZXZlcixpbnNlbnNpdGl2ZSx3aGVyZSxpbnNlcnQsd2l0aCxpbnQsd29yayxpbnRlZ2VyLHdyaXRlLGludGVyc2VjdCx5ZWFyLGludGVydmFsLHpvbmUsaW50byw="); public O0O0OOOOO0OO000O() { super(); } @Override @Deprecated() protected String llll11ll1l1l1ll(String l1ll1l1l1lll) { if (V.notEmpty(l1ll1l1l1lll)) { return OOO0OO00O00O00OO.l11llll1ll11ll1("U0VMRUNUIHQubmFtZSBBUyBuYW1lLCBleHQuW3ZhbHVlXSBBUyBjb21tZW50IEZST00gc3lzLnNjaGVtYXMgcywgc3lzLnRhYmxlcyB0IExFRlQgSk9JTiBzeXMuZXh0ZW5kZWRfcHJvcGVydGllcyBleHQgT04gKHQub2JqZWN0X2lkID0gZXh0Lm1ham9yX2lkIEFORCBleHQubWlub3JfaWQ9IDAgQU5EIGV4dC5uYW1lPSAnTVNfRGVzY3JpcHRpb24nKSA=") + OOO0OO00O00O00OO.l11llll1ll11ll1("V0hFUkUgcy5zY2hlbWFfaWQgPSB0LnNjaGVtYV9pZCBBTkQgdC50eXBlID0gJ1UnIEFORCBzLm5hbWUgPSAn") + ll1111lll1ll1l1() + OOO0OO00O00O00OO.l11llll1ll11ll1("JyBBTkQgdC5uYW1lPSc=") + l1ll1l1l1lll + "'"; } else { return OOO0OO00O00O00OO.l11llll1ll11ll1("U0VMRUNUIHQubmFtZSBBUyBuYW1lLCBleHQuW3ZhbHVlXSBBUyBjb21tZW50IEZST00gc3lzLnNjaGVtYXMgcywgc3lzLnRhYmxlcyB0IExFRlQgSk9JTiBzeXMuZXh0ZW5kZWRfcHJvcGVydGllcyBleHQgT04gKHQub2JqZWN0X2lkID0gZXh0Lm1ham9yX2lkIEFORCBleHQubWlub3JfaWQ9IDAgQU5EIGV4dC5uYW1lPSAnTVNfRGVzY3JpcHRpb24nKSA=") + OOO0OO00O00O00OO.l11llll1ll11ll1("V0hFUkUgcy5zY2hlbWFfaWQgPSB0LnNjaGVtYV9pZCBBTkQgdC50eXBlID0gJ1UnIEFORCBzLm5hbWUgPSAn") + ll1111lll1ll1l1() + OOO0OO00O00O00OO.l11llll1ll11ll1("JyBPUkRFUiBCWSB0Lm5hbWUgQVND"); } } @Override @Deprecated() protected String l1ll1111l1lll1l(String l1ll1l111l1l) { if (V.isEmpty(l1ll1l111l1l)) { return null; } String l111ll1ll1l1 = OOO0OO00O00O00OO.l11llll1ll11ll1("U0VMRUNUIGEubmFtZSBBUyAnZmllbGQnLCBiLm5hbWUgQVMgJ3R5cGUnLCBDT0xVTU5QUk9QRVJUWShhLmlkLGEubmFtZSwnUFJFQ0lTSU9OJykgQVMgJ2xlbmd0aCcsIGlzbnVsbChDT0xVTU5QUk9QRVJUWShhLmlkLGEubmFtZSwnU2NhbGUnKSwwKSBBUyAnc2NhbGVfbGVuJywg") + OOO0OO00O00O00OO.l11llll1ll11ll1("Q0FTRSBXSEVOIHAuaWQgSVMgTk9UIE5VTEwgVEhFTiAnUFJJJyBFTFNFICcnIEVORCAna2V5JywgQ0FTRSBXSEVOIENPTFVNTlBST1BFUlRZKGEuaWQsIGEubmFtZSwgJ0lzSWRlbnRpdHknKSA9IDEgVEhFTiAnQVVUTycgRUxTRSAnJyBFTkQgQVMgJ2V4dHJhJywg") + OOO0OO00O00O00OO.l11llll1ll11ll1("Q0FTRSBXSEVOIGEuaXNudWxsYWJsZT0xIFRIRU4gJ1lFUycgRUxTRSAnTk8nIEVORCBBUyAnbnVsbGFibGUnLCBlLnRleHQgQVMgJ2RlZmF1bHRfdmFsJywgZy5bdmFsdWVdIEFTICdjb21tZW50JyA=") + OOO0OO00O00O00OO.l11llll1ll11ll1("RlJPTSBzeXMuc2NoZW1hcyBjLCBzeXMudGFibGVzIHQsIHN5c2NvbHVtbnMgYSA=") + OOO0OO00O00O00OO.l11llll1ll11ll1("TEVGVCBKT0lOIHN5c3R5cGVzIGIgT04gYS54dXNlcnR5cGUgPSBiLnh1c2VydHlwZSA=") + OOO0OO00O00O00OO.l11llll1ll11ll1("TEVGVCBKT0lOIHN5c2NvbW1lbnRzIGUgT04gYS5jZGVmYXVsdCA9IGUuaWQg") + OOO0OO00O00O00OO.l11llll1ll11ll1("TEVGVCBKT0lOIHN5cy5leHRlbmRlZF9wcm9wZXJ0aWVzIGcgT04gKGEuaWQgPSBnLm1ham9yX2lkIEFORCBhLmNvbGlkID0gZy5taW5vcl9pZCkg") + OOO0OO00O00O00OO.l11llll1ll11ll1("TEVGVCBKT0lOIChTRUxFQ1Qgcy5pZCBBUyB0aWQsIHMubmFtZSwgcy5wYXJlbnRfb2JqLCBrLmlkIEFTIGlkLCBrLmNvbGlkIEZST00gc3lzaW5kZXhrZXlzIGssIHN5c2luZGV4ZXMgaSwgc3lzb2JqZWN0cyBzIA==") + OOO0OO00O00O00OO.l11llll1ll11ll1("V0hFUkUgay5pbmRpZCA9IGkuaW5kaWQgQU5EIHMubmFtZSA9IGkubmFtZSBBTkQgcy54dHlwZSA9ICdQSycpIHAgT04gKHAuaWQgPSBhLmlkIEFORCBwLmNvbGlkID0gYS5jb2xpZCBBTkQgcC50aWQgPSBhLmlkKSA=") + OOO0OO00O00O00OO.l11llll1ll11ll1("V0hFUkUgYy5zY2hlbWFfaWQgPSB0LnNjaGVtYV9pZCBBTkQgdC5vYmplY3RfaWQgPSBhLmlkIEFORCB0LnR5cGUgPSAnVScg") + OOO0OO00O00O00OO.l11llll1ll11ll1("QU5EIGMubmFtZT0n") + ll1111lll1ll1l1() + OOO0OO00O00O00OO.l11llll1ll11ll1("JyBBTkQgdC5uYW1lPSc=") + l1ll1l111l1l + "'" + OOO0OO00O00O00OO.l11llll1ll11ll1("T1JERVIgQlkgYS5jb2xvcmRlcg=="); return l111ll1ll1l1; } @Override @Deprecated() public O000000O0O0OO000 l1ll11ll1l1lll1(String l1ll11l1l11l, Map l11111ll11ll) { String l11l1lll1l11 = (String) l11111ll11ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("ZmllbGQ=")); String ll1lll11l11l = (String) l11111ll11ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("dHlwZQ==")); Integer l1l11lll1lll = (Integer) l11111ll11ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("bGVuZ3Ro")); int lll1lll11111 = (Integer) l11111ll11ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("c2NhbGVfbGVu")); String llll1lll1111 = (String) l11111ll11ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("bnVsbGFibGU=")); String ll11l1l11lll = (String) l11111ll11ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("a2V5")); String l111111ll1ll = (String) l11111ll11ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("ZGVmYXVsdF92YWw=")); if (V.notEmpty(l111111ll1ll)) { for (int ll11l11l11ll = 0; ll11l11l11ll < lll1l11111lll.length; ll11l11l11ll++) { String l1l111llllll = lll1l11111lll[ll11l11l11ll]; if (l111111ll1ll.startsWith(l1l111llllll)) { l111111ll1ll = S.substringAfter(l111111ll1ll, l1l111llllll); l111111ll1ll = S.substringBeforeLast(l111111ll1ll, ll111llll1lll[ll11l11l11ll]); } } } String l111l11ll111 = (String) l11111ll11ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("Y29tbWVudA==")); String llll1l111l1l = (String) l11111ll11ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("ZXh0cmE=")); O000000O0O0OO000 lll1lll1l1ll = new O000000O0O0OO000(); lll1lll1l1ll.setTableName(l1ll11l1l11l); lll1lll1l1ll.setColName(l11l1lll1l11); lll1lll1l1ll.setColType(ll1lll11l11l); lll1lll1l1ll.setNotnull("NO".equalsIgnoreCase(llll1lll1111)); lll1lll1l1ll.setFieldLabel(l111l11ll111); if (l1l11lll1lll == null) { l1l11lll1lll = 0; } lll1lll1l1ll.setColLength(l1l11lll1lll); lll1lll1l1ll.setDecimal(lll1lll11111); if (OOO0OO00O00O00OO.l11llll1ll11ll1("UFJJ").equalsIgnoreCase(ll11l1l11lll)) { lll1lll1l1ll.setKeyType(O0OO00OO0O0OO000.PRIMARY.name()); } if (O00000O0OOO0O0OO.PK_TP.AUTO.name().equalsIgnoreCase(llll1l111l1l)) { lll1lll1l1ll.setAutoIncrement(true); } else { if (V.notEmpty(l111111ll1ll) && l111111ll1ll.contains("()")) { } else { lll1lll1l1ll.setDefaultValue(l111111ll1ll); } } Map ll11l1111111 = new HashMap<>(); if (OOO0OO00O00O00OO.l11llll1ll11ll1("Q0hBUg==").equalsIgnoreCase(ll1lll11l11l) || OOO0OO00O00O00OO.l11llll1ll11ll1("TkNIQVI=").equalsIgnoreCase(ll1lll11l11l)) { List lll1lll11lll = new ArrayList<>(); lll1lll11lll.add(OOO0OO00O00O00OO.l11llll1ll11ll1("Zml4ZWQ=")); ll11l1111111.put(OOO0OO00O00O00OO.l11llll1ll11ll1("Y29uZmlnTGlzdA=="), lll1lll11lll); } else if (S.containsIgnoreCase(l111111ll1ll, OOO0OO00O00O00OO.l11llll1ll11ll1("Z2V0ZGF0ZQ==")) || ll1lll11l11l.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("dGltZXN0YW1w")) || ll1lll11l11l.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("ZGF0ZXRpbWU="))) { ll11l1111111.put(OOO0OO00O00O00OO.l11llll1ll11ll1("Zm9ybWF0dGVy"), D.FORMAT_DATETIME_Y4MDHM); } else if (ll1lll11l11l.startsWith(OOO0OO00O00O00OO.l11llll1ll11ll1("ZGF0ZQ=="))) { ll11l1111111.put(OOO0OO00O00O00OO.l11llll1ll11ll1("Zm9ybWF0dGVy"), D.FORMAT_DATE_Y4MD); } else if (ll1lll11l11l.startsWith(OOO0OO00O00O00OO.l11llll1ll11ll1("dGltZQ=="))) { ll11l1111111.put(OOO0OO00O00O00OO.l11llll1ll11ll1("Zm9ybWF0dGVy"), D.FORMAT_TIME_HHmmss); } lll1lll1l1ll.setExtensionMap(ll11l1111111); return lll1lll1l1ll; } @Override @Deprecated() public String lllll1l1ll1l1l1(String l11l11ll1111, int l1llll1l1l11) { l11l11ll1111 = S.removeDuplicateBlank(l11l11ll1111); String llllll11111l = OOO0OO00O00O00OO.l11llll1ll11ll1("U0VMRUNUIFRPUCA=") + l1llll1l1l11 + " "; return llllll11111l + l11l11ll1111.substring(OOO0OO00O00O00OO.l11llll1ll11ll1("c2VsZWN0IA==").length()); } @Override @Deprecated() protected void l1lll1ll11ll1l1(List l1l11llll11l) { if (V.isEmpty(l1l11llll11l)) { return; } String l1l1111l1111 = l1l11llll11l.get(0).getTableName(); if (V.isEmpty(l1l1111l1111)) { return; } String l111l1lllll1 = "SELECT COLUMN_NAME\n" + "FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE\n" + "WHERE OBJECTPROPERTY(OBJECT_ID(CONSTRAINT_SCHEMA + '.' + QUOTENAME(CONSTRAINT_NAME)), 'IsPrimaryKey') = 1\n" + OOO0OO00O00O00OO.l11llll1ll11ll1("QU5EIFRBQkxFX05BTUUgPSAn") + l1l1111l1111 + OOO0OO00O00O00OO.l11llll1ll11ll1("JyBBTkQgVEFCTEVfU0NIRU1BID0gJw==") + ll1111lll1ll1l1() + "'"; try { List> ll1ll11ll11l = SqlExecutor.executeQuery(l111l1lllll1, null); if (V.notEmpty(ll1ll11ll11l)) { List ll111l11lll1 = new ArrayList<>(); for (Map l111l111l111 : ll1ll11ll11l) { Object l1ll11l1ll1l = l111l111l111.get(OOO0OO00O00O00OO.l11llll1ll11ll1("Q09MVU1OX05BTUU=")); if (l1ll11l1ll1l != null) { ll111l11lll1.add(String.valueOf(l1ll11l1ll1l)); } } if (V.notEmpty(ll111l11lll1)) { for (O000000O0O0OO000 l1lll11l1111 : l1l11llll11l) { if (V.notEmpty(l1lll11l1111.getColName()) && ll111l11lll1.contains(l1lll11l1111.getColName())) { l1lll11l1111.setPrimaryKey(true); l1lll11l1111.setKeyType(O0OO00OO0O0OO000.PRIMARY.name()); } } } } } catch (Exception e) { log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6I635Y+W6KGo5Li76ZSu5Ye66ZSZOiB7fQ=="), e.getMessage()); } } @Override @Deprecated() public String l1l1l1111llll11(String l1l1ll11lll1) { return OOO0OO00O00O00OO.l11llll1ll11ll1("ZXhlYyBzcF9oZWxwaW5kZXggJw==") + l1l1ll11lll1 + "'"; } @Override @Deprecated() protected List llll1llll1ll111(String l1111ll11l11, List> l111l1ll1lll) { List l1l11ll11l1l = new ArrayList<>(); for (Map ll1l11lll1ll : l111l1ll1lll) { String ll1l1l1ll1l1 = S.valueOf(ll1l11lll1ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("aW5kZXhfbmFtZQ=="))); String l1lll1l1ll1l = S.valueOf(ll1l11lll1ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("aW5kZXhfZGVzY3JpcHRpb24="))); String ll11l1lll1l1 = S.valueOf(ll1l11lll1ll.get(OOO0OO00O00O00OO.l11llll1ll11ll1("aW5kZXhfa2V5cw=="))); if (l1lll1l1ll1l != null && l1lll1l1ll1l.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("b24gUFJJTUFSWQ==")) || "id".equalsIgnoreCase(ll11l1lll1l1)) { ll1l1l1ll1l1 = OOO0OO00O00O00OO.l11llll1ll11ll1("UFJJTUFSWQ=="); } OO0OOO00000O00O0 ll1l11l11111 = new OO0OOO00000O00O0(l1111ll11l11, ll1l1l1ll1l1); ll1l11l11111.setColumns(S.splitToList(ll11l1lll1l1)); l1l11ll11l1l.add(ll1l11l11111); } return l1l11ll11l1l; } @Override @Deprecated() public boolean ll1l111l1ll11l1() { return false; } @Override @Deprecated() public String l1l1ll1llllll11(String l1l11l11l1l1) { return "[" + l1l11l11l1l1 + "]"; } @Override @Deprecated() protected String ll111111l1ll1ll() { return l1ll11ll1l11l; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy