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.OOOO00O00OOO00O0 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.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.diboot.core.exception.BusinessException;
import com.diboot.core.util.*;
import com.diboot.core.vo.JsonResult;
import com.diboot.core.vo.LabelValue;
import com.diboot.core.vo.Status;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;
import java.util.*;
import java.util.stream.Collectors;
@Slf4j
@Service
@Primary
@Deprecated()
public class OOOO00O00OOO00O0 implements O0O00OO000O00000 {
@Autowired
private O0O0000O00O00O0O l1l11llllllll;
@Autowired
private O0000O0O00000000 ll11lll1111l1;
@Autowired
private OOO0OOO00OO0O00O ll1ll1111l111;
@Autowired
private OO0O00O00OOO00OO ll11ll11llll1;
@Override
@Deprecated()
public void lll111ll1lll1l1(O00000O0OOO0O0OO l11lll1lll11) throws Exception {
String lll111ll1lll = this.llll1l1l1l1ll11(l11lll1lll11);
if (V.notEmpty(lll111ll1lll)) {
throw new BusinessException(Status.FAIL_OPERATION, lll111ll1lll);
}
if (V.isEmpty(l11lll1lll11.getSql())) {
if (V.notEmpty(l11lll1lll11.getTableName()) && OOOO0O0OO0OO0000.llll11lllll1l1l().lll1lll1l1l1111(l11lll1lll11.getTableName())) {
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("6K+l5pWw5o2u6KGo5ZCN5bey57uP5a2Y5Zyo77yB"));
}
}
if (V.notEmpty(l11lll1lll11.getSql())) {
try {
String[] llll1lll1ll1 = S.split(l11lll1lll11.getSql(), ";");
for (String l1ll1lllll11 : llll1lll1ll1) {
if (V.isEmpty(l1ll1lllll11)) {
continue;
}
O0OOOO00OO0O00O0.l1llll1lll11111(l1ll1lllll11, true);
}
} catch (Exception e) {
String ll11l11111ll = e.getMessage();
if (ll11l11111ll.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("YWxyZWFkeSBleGlzdHM="))) {
ll11l11111ll = OOO0OO00O00O00OO.l11llll1ll11ll1("5pWw5o2u6KGo6YeN5aSN77yM6K+35p+l55yL5ZCO5Y+w5pel5b+X77yB");
} else if (ll11l11111ll.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("amF2YS5zcWwuU1FMU3ludGF4RXJyb3JFeGNlcHRpb24="))) {
ll11l11111ll = OOO0OO00O00O00OO.l11llll1ll11ll1("U1FM5omn6KGM5aSx6LSl77yM6K+35p+l55yL5ZCO5Y+w5pel5b+X77yB");
}
throw new BusinessException(Status.FAIL_OPERATION, ll11l11111ll);
}
} else if (V.notEmpty(l11lll1lll11.getReferenceTables())) {
this.lllll1ll11lll(l11lll1lll11.getReferenceTables());
} else {
O0O0OO000000OOO0 l111111l1lll = null;
try {
O00OOO0O0OO0O0OO ll1lll11l11l = new O00OOO0O0OO0O0OO().setModule("db").setCommand(OOO0OO00O00O00OO.l11llll1ll11ll1("Q3JlYXRlVGFibGU=")).setModelObject(l11lll1lll11);
l111111l1lll = O00O00OOOO00000O.ll11l1lll111l1l(ll1lll11l11l);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6Q6KGo57uT5p6E5pu05pS55aSx6LSlOiB7fQ=="), e.getMessage());
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6Q6KGo57uT5p6E5pu05pS55aSx6LSl77yM6K+35qOA5p+l572R57uc6L+e5o6l77yB"));
}
if (l111111l1lll != null) {
if (V.notEmpty(l111111l1lll.getErrorMsg()) && (l111111l1lll.getErrorMsg().contains("登录") || l111111l1lll.getErrorMsg().contains("账号"))) {
log.warn(l111111l1lll.getErrorMsg());
throw new BusinessException(Status.FAIL_OPERATION, l111111l1lll.getErrorMsg());
}
String l1ll11lll11l = l111111l1lll.l11lllll1l1lll1();
if (V.notEmpty(l1ll11lll11l)) {
log.warn(l1ll11lll11l);
throw new BusinessException(Status.FAIL_OPERATION, l1ll11lll11l);
}
OO00OOO00O0O00OO l11lll1l1111 = new OO00OOO00O0O00OO();
BeanUtils.copyProperties(l11lll1lll11, l11lll1l1111);
String l1lll11llll1 = OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX3VzZXI="), ll111lll1111 = OOO0OO00O00O00OO.l11llll1ll11ll1("aWFtX29yZw==");
if (OOOO0O0OO0OO0000.llll11lllll1l1l().lll11111l1l1ll1()) {
l11lll1l1111.setTableName(l11lll1l1111.getTableName().toUpperCase());
l1lll11llll1 = l1lll11llll1.toUpperCase();
ll111lll1111 = ll111lll1111.toUpperCase();
}
ll11lll1111l1.createEntity(l11lll1l1111);
if (l11lll1lll11.getFields() != null) {
List l1111111llll = l1111ll11ll1ll1(l11lll1l1111.getTableName());
List l1l1lll1l1ll = new ArrayList<>(l1111111llll.size());
if (V.notEmpty(l1111111llll)) {
for (O000000O0O0OO000 l1l1l111l11l : l1111111llll) {
if (l1l1l111l11l.getColName().equalsIgnoreCase(OOO0OO00O00O00OO.l11llll1ll11ll1("cGFyZW50X2lk"))) {
O0O00OO00O0O0OO0 lllll1l1lll1 = l1l1l111l11l.getColumnExt();
if (lllll1l1lll1 == null) {
lllll1l1lll1 = new O0O00OO00O0O0OO0();
lllll1l1lll1.setTableName(l11lll1l1111.getTableName()).setColName(l1l1l111l11l.getColName()).setRefType("T").setRefRelationship(OOO0OO00O00O00OO.l11llll1ll11ll1("bi0x")).setRefTable(l11lll1l1111.getTableName()).setRefColumn("id").setAsColumn(OOO0OO00O00O00OO.l11llll1ll11ll1("bmFtZQ==")).setRefTreeStruct(true).setObjectBind(OOO0OO00O00O00OO.l11llll1ll11ll1("UkVGX1RBUkdFVF9CSU5EX0xJU1Q=")).setFormType(OOO0OO00O00O00OO.l11llll1ll11ll1("U19TRUxFQ1Q=")).setExtensions("{\"refTargetBindListFieldName\":\"children\",\"selfBindObjectFieldName\":\"parent\",\"showFieldName\":\"parentName\"}");
l1l1lll1l1ll.add(lllll1l1lll1);
}
} else if (l1l1l111l11l.getColName().equalsIgnoreCase(OOO0OO00O00O00OO.l11llll1ll11ll1("b3JnX2lk"))) {
O0O00OO00O0O0OO0 lllll1l1lll1 = l1l1l111l11l.getColumnExt();
if (lllll1l1lll1 == null) {
lllll1l1lll1 = new O0O00OO00O0O0OO0();
lllll1l1lll1.setTableName(l11lll1l1111.getTableName()).setColName(l1l1l111l11l.getColName()).setRefType("T").setRefRelationship(OOO0OO00O00O00OO.l11llll1ll11ll1("bi0x")).setRefTable(ll111lll1111).setRefColumn("id").setAsColumn(OOO0OO00O00O00OO.l11llll1ll11ll1("bmFtZQ==")).setFormType(OOO0OO00O00O00OO.l11llll1ll11ll1("U19TRUxFQ1Q=")).setExtensions("{\"refTargetBindListFieldName\":\"orgList\",\"selfBindObjectFieldName\":\"org\",\"showFieldName\":\"orgName\"}");
l1l1lll1l1ll.add(lllll1l1lll1);
}
} else if (l1l1l111l11l.getColName().equalsIgnoreCase(OOO0OO00O00O00OO.l11llll1ll11ll1("Y3JlYXRlX2J5")) || l1l1l111l11l.getColName().equalsIgnoreCase(OOO0OO00O00O00OO.l11llll1ll11ll1("dXBkYXRlX2J5"))) {
String lllllll111l1 = l1l1l111l11l.getColName().equalsIgnoreCase(OOO0OO00O00O00OO.l11llll1ll11ll1("Y3JlYXRlX2J5")) ? "{\"refTargetBindListFieldName\":\"createByList\",\"selfBindObjectFieldName\":\"createByUser\",\"showFieldName\":\"createByName\"}" : "{\"refTargetBindListFieldName\":\"updateByList\",\"selfBindObjectFieldName\":\"updateByUser\",\"showFieldName\":\"updateByName\"}";
O0O00OO00O0O0OO0 lllll1l1lll1 = l1l1l111l11l.getColumnExt();
if (lllll1l1lll1 == null) {
lllll1l1lll1 = new O0O00OO00O0O0OO0();
lllll1l1lll1.setTableName(l11lll1l1111.getTableName()).setColName(l1l1l111l11l.getColName()).setRefType("T").setRefRelationship(OOO0OO00O00O00OO.l11llll1ll11ll1("bi0x")).setRefTable(l1lll11llll1).setRefColumn("id").setAsColumn(OOO0OO00O00O00OO.l11llll1ll11ll1("cmVhbG5hbWU=")).setFormType(OOO0OO00O00O00OO.l11llll1ll11ll1("U19TRUxFQ1Q=")).setExtensions(lllllll111l1);
l1l1lll1l1ll.add(lllll1l1lll1);
}
}
}
if (V.notEmpty(l1l1lll1l1ll)) {
l1l11llllllll.createEntities(l1l1lll1l1ll);
}
}
}
O0O00OO000O0OO0O.llll111l1l1l11l(l11lll1l1111);
}
}
}
@Override
@Deprecated()
public String l1l1l111l111l11(String l1l11111111l, String l1l1l11lll1l, boolean ll11l1ll1ll1, boolean llll1ll1l111) {
if (V.isEmpty(l1l1l11lll1l)) {
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("5Y+C5pWw5Ye66ZSZ77yM5L+d5a2Y5aSx6LSl"));
}
List ll11llll11l1 = JSON.parseArray(l1l1l11lll1l, O000000O0O0OO000.class);
if (V.isEmpty(ll11llll11l1)) {
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("5Y+C5pWw5Ye66ZSZ77yM5L+d5a2Y5aSx6LSl"));
}
String l1ll1llllll1 = lll1ll11111l1(ll11llll11l1);
if (V.notEmpty(l1ll1llllll1)) {
throw new BusinessException(Status.FAIL_OPERATION, l1ll1llllll1);
}
OOO0OOO0O0OO00O0.lll11lll1l1ll1l(ll11llll11l1, l1l11111111l);
List llll1lll1111 = this.l1l1111ll11lll1(l1l11111111l);
List l11l11ll1111 = new ArrayList<>(), lll1ll11llll = new ArrayList<>();
O00000O0OOO0O0OO l1lllll1ll1l = l1l111llll1llll(l1l11111111l);
String ll1lll1lllll = V.notEmpty(l1lllll1ll1l) ? l1lllll1ll1l.getModule() : null;
O0O0OO000000OOO0 l11111llll11 = ll11ll1l1ll11(ll11llll11l1, llll1lll1111, l11l11ll1111, lll1ll11llll, ll1lll1lllll);
boolean llllllll1l1l = false;
if (ll11l1ll1ll1) {
if (l1lllll1ll1l != null) {
l1lllll1ll1l.setSchema(OOOO0O0OO0OO0000.llll11lllll1l1l().ll1111lll1ll1l1());
String l1111l111111 = ll1ll1111l111.l11111l111ll1l1(l1lllll1ll1l);
if (V.notEmpty(l1111l111111)) {
lll1ll11llll.add(OOO0OO00O00O00OO.l11llll1ll11ll1("55Sf5oiQ5Z+656GA5Luj56CB5aSx6LSlOiA=") + l1111l111111);
} else {
l11l11ll1111.add(OOO0OO00O00O00OO.l11llll1ll11ll1("55Sf5oiQ5Z+656GA5Luj56CB5oiQ5Yqf77yB77yI5ZCO56uv6YeN5ZCv5ZCO55Sf5pWI77yJ"));
}
}
}
if (llll1ll1l111 && (l11111llll11.l11l11l1ll1ll11() || l11111llll11.l11ll11l111llll())) {
OOOOOO000000OOO0 lll1111lll1l = OOO00O00OOOOO0O0.ll1111l1l111111(l11111llll11.getModifyJavaAction(), OOOOOO000000OOO0.class);
String l1l11llll11l = ll1ll1111l111.l1l1l11lll111l1(l1lllll1ll1l, ll11llll11l1, lll1111lll1l);
if (l1l11llll11l != null) {
lll1ll11llll.add(l1l11llll11l);
}
llllllll1l1l = true;
}
if (ll11l1ll1ll1 || llll1ll1l111) {
if (l11111llll11.l11ll11l111llll() || !llllllll1l1l) {
OOOOOO000000OOO0 lll1111lll1l = OOO00O00OOOOO0O0.ll1111l1l111111(l11111llll11.getModifyJavaAction(), OOOOOO000000OOO0.class);
if (lll1111lll1l.isModifyTargetBind() || !llllllll1l1l) {
String l1ll1llll1l1 = ll1ll1111l111.ll111l11l111l1l(llll1lll1111, ll11llll11l1, lll1111lll1l, llllllll1l1l);
if (V.notEmpty(l1ll1llll1l1)) {
lll1ll11llll.add(OOO0OO00O00O00OO.l11llll1ll11ll1("5Zyo55uu5qCH5Lit57uR5a6a5aSx6LSl77ya") + l1ll1llll1l1);
}
}
}
}
if (V.notEmpty(l11111llll11.getCreateMiddleAction()) && V.notEmpty(l11111llll11.getCreateMiddleAction().getDibootTableExtList())) {
List l1l11l1l1111 = l11111llll11.getCreateMiddleAction().getDibootTableExtList();
for (OO00OOO00O0O00OO l11lll1l1111 : l1l11l1l1111) {
if (V.notEmpty(l11lll1l1111.getOldTableName())) {
ll11lll1111l1.updateEntity(Wrappers.lambdaUpdate().set(V.notEmpty(l11lll1l1111.getTableName()), OO00OOO00O0O00OO::getTableName, l11lll1l1111.getTableName()).set(OO00OOO00O0O00OO::getClassName, l11lll1l1111.getClassName()).eq(OO00OOO00O0O00OO::getTableName, l11lll1l1111.getOldTableName()));
OO00OOO0OOO0OOOO ll11ll111l11 = O0O00OO000O0OO0O.ll1l1111111111l(l11lll1l1111.getOldTableName());
if (V.notEmpty(ll11ll111l11)) {
ll11ll111l11.setTableName(l11lll1l1111.getTableName());
O0O00OO000O0OO0O.l111lll1111l1ll(l11lll1l1111.getTableName(), ll11ll111l11);
}
continue;
}
l11lll1l1111.setTreeStruct(false);
ll11lll1111l1.createEntity(l11lll1l1111);
O0O00OO000O0OO0O.llll111l1l1l11l(l11lll1l1111);
}
}
String l1lll11l111l = null;
if (V.notEmpty(lll1ll11llll)) {
String l1111l111111 = S.join(lll1ll11llll, OOO0OO00O00O00OO.l11llll1ll11ll1("PGJyPg=="));
if (V.notEmpty(l11l11ll1111)) {
l1111l111111 += OOO0OO00O00O00OO.l11llll1ll11ll1("PGJyPg==") + S.join(l11l11ll1111);
}
throw new BusinessException(Status.FAIL_OPERATION, l1111l111111);
} else {
String ll11llll11ll = this.l1l11l1l111l1(l11111llll11);
if (V.notEmpty(ll11llll11ll)) {
l11l11ll1111.add(ll11llll11ll);
}
this.lll11111l111l(ll11llll11l1);
l1lll11l111l = V.notEmpty(l11l11ll1111) ? S.join(l11l11ll1111, OOO0OO00O00O00OO.l11llll1ll11ll1("PGJyPg==")) : OOO0OO00O00O00OO.l11llll1ll11ll1("5pWw5o2u5bqT6KGo5pu05paw5oiQ5Yqf77yB");
}
return l1lll11l111l;
}
@Override
@Deprecated()
public O00000O0OOO0O0OO l1l111llll1llll(String lllllll1111l) {
O00000O0OOO0O0OO l1l1111lll1l = OOOO0O0OO0OO0000.llll11lllll1l1l().llll1lll111l111(true, lllllll1111l);
if (l1l1111lll1l == null) {
return null;
}
OO00OOO0OOO0OOOO l111111l11ll = O0O00OO000O0OO0O.ll1l1111111111l(lllllll1111l);
if (l111111l11ll != null) {
l1l1111lll1l.setModule(l111111l11ll.getModule());
l1l1111lll1l.setClassName(l111111l11ll.getClassName());
}
return l1l1111lll1l;
}
@Override
@Deprecated()
public String llll1l1l1l1ll11(O00000O0OOO0O0OO l1l1111llll1) {
if (V.notEmpty(l1l1111llll1.getReferenceTables())) {
return "";
}
List l1l1ll111lll = new ArrayList<>();
if (V.isEmpty(l1l1111llll1.getSql())) {
List l1ll1lll11l1 = new ArrayList<>();
if (V.isEmpty(l1l1111llll1.getTableName())) {
l1ll1lll11l1.add(OOO0OO00O00O00OO.l11llll1ll11ll1("5pWw5o2u5bqT6KGo5ZCN"));
}
if (V.isEmpty(l1l1111llll1.getObjName())) {
l1ll1lll11l1.add(OOO0OO00O00O00OO.l11llll1ll11ll1("5Lia5Yqh5a+56LGh5ZCN"));
}
if (V.isEmpty(l1l1111llll1.getIdType())) {
l1ll1lll11l1.add(OOO0OO00O00O00OO.l11llll1ll11ll1("5Li76ZSu57G75Z6L"));
}
if (l1ll1lll11l1.size() > 0) {
l1l1ll111lll.add(S.join(l1ll1lll11l1, "、") + OOO0OO00O00O00OO.l11llll1ll11ll1("5LiN6IO95Li656m6"));
}
} else {
if (V.isEmpty(l1l1111llll1.getSql())) {
l1l1ll111lll.add(OOO0OO00O00O00OO.l11llll1ll11ll1("U1FM6K+t5Y+l5LiN5Y+v5Li656m6"));
}
}
return S.join(l1l1ll111lll, ';');
}
@Override
@Deprecated()
public List> ll111l1l111l11l(String l1ll1l1l1l1l, int l11lllllll1l) throws Exception {
String ll1l11ll11l1 = OOO0OO00O00O00OO.l11llll1ll11ll1("U0VMRUNUICogRlJPTSA=") + OOOO0O0OO0OO0000.llll11lllll1l1l().l1l1ll1llllll11(l1ll1l1l1l1l);
ll1l11ll11l1 = OOOO0O0OO0OO0000.llll11lllll1l1l().lllll1l1ll1l1l1(ll1l11ll11l1, l11lllllll1l);
List> l1ll1lllll11 = SqlExecutor.executeQuery(ll1l11ll11l1, null);
return l1ll1lllll11;
}
@Override
@Deprecated()
public List l1l111ll11l1111(String l11l11111lll, LabelValue l1lllll11ll1, int ll1llll1ll1l) {
List lll1l11111ll = new ArrayList<>();
try {
String l111ll111l11 = OOO0OO00O00O00OO.l11llll1ll11ll1("U0VMRUNUIA==") + l1lllll11ll1.getLabel() + ", " + l1lllll11ll1.getValue() + OOO0OO00O00O00OO.l11llll1ll11ll1("IEZST00g") + OOOO0O0OO0OO0000.llll11lllll1l1l().l1l1ll1llllll11(l11l11111lll);
l111ll111l11 = OOOO0O0OO0OO0000.llll11lllll1l1l().lllll1l1ll1l1l1(l111ll111l11, ll1llll1ll1l);
List> ll111l11l11l = SqlExecutor.executeQuery(l111ll111l11, null);
if (V.notEmpty(ll111l11l11l)) {
for (Map l11l1l11ll1l : ll111l11l11l) {
Object lll11lllll11 = l11l1l11ll1l.get(l1lllll11ll1.getLabel());
Object ll1l111ll1ll = l11l1l11ll1l.get(l1lllll11ll1.getValue());
LabelValue l1l11111l1l1 = new LabelValue();
if (lll11lllll11 != null) {
l1l11111l1l1.setLabel(String.valueOf(lll11lllll11));
}
if (ll1l111ll1ll != null) {
l1l11111l1l1.setValue(String.valueOf(ll1l111ll1ll));
}
lll1l11111ll.add(l1l11111l1l1);
}
}
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6I635Y+W5YiX6KGo5pWw5o2u5aSx6LSlOiB7fQ=="), e.getMessage());
}
return lll1l11111ll;
}
@Override
@Deprecated()
public List l1lll1ll1ll11ll(boolean ll1l11l1lll1) {
List ll111lll11ll = OOOO0O0OO0OO0000.llll11lllll1l1l().lllll1lll11111l(ll1l11l1lll1, null);
this.l1l111111l11l(ll111lll11ll);
return ll111lll11ll;
}
@Override
@Deprecated()
public List l1111ll11ll1ll1(String l11lllll1111) {
List l111l1lll1l1 = OOOO0O0OO0OO0000.llll11lllll1l1l().l11ll1l1ll11l1l(l11lllll1111);
return l111l1lll1l1;
}
@Override
@Deprecated()
public List l1l1111ll11lll1(String l11111l11l1l) {
List l1111ll11111 = l1111ll11ll1ll1(l11111l11l1l);
LambdaQueryWrapper l1111ll1l1ll = new LambdaQueryWrapper<>();
l1111ll1l1ll.eq(O0O00OO00O0O0OO0::getTableName, l11111l11l1l);
List l111l1ll11l1 = l1l11llllllll.getEntityList(l1111ll1l1ll);
if (V.notEmpty(l111l1ll11l1)) {
List ll11l1ll11l1 = l111l1ll11l1.stream().filter(ll1lllllll11 -> {
return V.equals("T", ll1lllllll11.getRefType()) && V.notEmpty(ll1lllllll11.getRefTable());
}).map(O0O00OO00O0O0OO0::getRefTable).collect(Collectors.toList());
if (V.notEmpty(ll11l1ll11l1)) {
List lll11llll1l1 = ll11lll1111l1.getEntityList(Wrappers.lambdaQuery().in(OO00OOO00O0O00OO::getTableName, ll11l1ll11l1));
Map llll11l11ll1 = null;
if (V.notEmpty(lll11llll1l1)) {
llll11l11ll1 = BeanUtils.convertToStringKeyObjectMap(lll11llll1l1, OO00OOO00O0O00OO::getTableName);
} else {
llll11l11ll1 = Collections.emptyMap();
}
for (O0O00OO00O0O0OO0 ll1111l1lll1 : l111l1ll11l1) {
if (V.equals("T", ll1111l1lll1.getRefType()) && V.notEmpty(ll1111l1lll1.getRefTable())) {
OO00OOO00O0O00OO l1l1l11l111l = llll11l11ll1.get(ll1111l1lll1.getRefTable());
if (l1l1l11l111l != null) {
ll1111l1lll1.setRefTreeStruct(l1l1l11l111l.getTreeStruct());
}
}
}
}
}
if (V.notEmpty(l111l1ll11l1)) {
Map ll1l11l111l1 = BeanUtils.convertToStringKeyObjectMap(l111l1ll11l1, BeanUtils.convertToFieldName(O0O00OO00O0O0OO0::getColName));
for (O000000O0O0OO000 l1lll1ll11l1 : l1111ll11111) {
String ll1l11lllll1 = l1lll1ll11l1.getDefaultValue();
if (V.notEmpty(ll1l11lllll1) && ll1l11lllll1.startsWith("'") && ll1l11lllll1.endsWith("'")) {
l1lll1ll11l1.setDefaultValue(ll1l11lllll1.substring(1, ll1l11lllll1.lastIndexOf("'")));
}
l1lll1ll11l1.setTableName(l11111l11l1l);
if (V.notEmpty(ll1l11l111l1) && ll1l11l111l1.containsKey(l1lll1ll11l1.getColName())) {
O0O00OO00O0O0OO0 llll11l1l11l = ll1l11l111l1.get(l1lll1ll11l1.getColName());
if (llll11l1l11l.getRefRelationship() == null) {
llll11l1l11l.setRefRelationship("");
}
l1lll1ll11l1.setColumnExt(llll11l1l11l);
}
}
}
String lll1l1l1ll1l = null;
O000000O0O0OO000 l1llll1llll1 = null;
for (O000000O0O0OO000 l1lll1ll11l1 : l1111ll11111) {
if (l1lll1ll11l1.isPrimaryKey()) {
lll1l1l1ll1l = l1lll1ll11l1.getColName();
l1llll1llll1 = l1lll1ll11l1;
break;
}
}
if (V.notEmpty(lll1l1l1ll1l)) {
Map ll111111l1l1 = OOOO0O0OO0OO0000.llll11lllll1l1l().lll1lll11l111ll(l11111l11l1l);
if (V.notEmpty(ll111111l1l1)) {
l1llll1llll1.setExample(String.valueOf(ll111111l1l1.get(lll1l1l1ll1l)));
}
}
return l1111ll11111;
}
@Override
@Deprecated()
public List l1ll11111ll1l11(String l1l1llllll1l) {
List l1llllll11ll = l1l1111ll11lll1(l1l1llllll1l);
Map l11lll11l1l1 = OOOO0O0OO0OO0000.llll11lllll1l1l().lll1lll11l111ll(l1l1llllll1l);
if (V.notEmpty(l11lll11l1l1)) {
for (O000000O0O0OO000 lllll11lllll : l1llllll11ll) {
if (l11lll11l1l1.containsKey(lllll11lllll.getColName())) {
Object l1ll11l1l1l1 = l11lll11l1l1.get(lllll11lllll.getColName());
O00O00OO0000OO0O.l1ll1l1lll111ll(lllll11lllll, l1ll11l1l1l1);
}
}
} else {
log.info(l1l1llllll1l + OOO0OO00O00O00OO.l11llll1ll11ll1("5pqC5peg5qC35L6L5pWw5o2u77yB"));
}
return l1llllll11ll;
}
@Override
@Deprecated()
public boolean lll111ll11l11l1(String l11lll11lll1) {
return l1l11llllllll.lll111ll11l11l1(l11lll11lll1);
}
@Override
@Deprecated()
public O000000O0O0OO000 l11l111llll1ll1(String lll1111l1ll1) {
List lll11111111l = l1111ll11ll1ll1(lll1111l1ll1);
if (V.isEmpty(lll11111111l)) {
return null;
}
List l1l11l11ll11 = lll11111111l.stream().filter(l1ll111111l1 -> {
return l1ll111111l1.isPrimaryKey();
}).collect(Collectors.toList());
if (V.isEmpty(l1l11l11ll11)) {
return null;
}
return l1l11l11ll11.get(0);
}
@Override
@Deprecated()
public O000000O0O0OO000 ll11ll11l1l1l1l(String ll1ll1ll111l, String l11l11l1111l) {
return null;
}
@Override
@Deprecated()
public Map llll11l111l11l1(String ll111l11ll1l) {
List l1l11l1ll1ll = l1l11llllllll.l11lll1ll11l1l1(ll111l11ll1l);
if (V.isEmpty(l1l11l1ll1ll)) {
return Collections.emptyMap();
}
OO00OOO0OOO0OOOO lll111l11lll = O0O00OO000O0OO0O.ll1l1111111111l(ll111l11ll1l);
Map llll11l1l1l1 = new HashMap<>();
List l111l11111l1 = new ArrayList<>(l1l11l1ll1ll.size());
llll11l1l1l1.put(lll111l11lll.getClassName() + OOO0OO00O00O00OO.l11llll1ll11ll1("RGV0YWlsVk8="), OOO0OO0O00OO00O0.l11ll1ll11l1l11(lll111l11lll.getClassName(), lll111l11lll.getModule()));
for (O0O00OO00O0O0OO0 lll1111l1ll1 : l1l11l1ll1ll) {
String l1l1ll1l11l1 = lll1111l1ll1.getRefTable();
String l1llll111lll = lll1111l1ll1.getAsColumnFieldName();
String l1l11ll111l1 = lll1111l1ll1.getObjectBind();
OO0000O0O0OOOOOO lll11ll11ll1 = new OO0000O0O0OOOOOO();
lll11ll11ll1.setColName(lll1111l1ll1.getColName());
OO00OOO0OOO0OOOO ll1111llll11 = O0O00OO000O0OO0O.ll1l1111111111l(l1l1ll1l11l1);
lll11ll11ll1.setRefClassName(ll1111llll11.getClassName());
if (V.notEmpty(l1llll111lll)) {
lll11ll11ll1.setShowFieldName(OOO0OO00O00O00OO.l11llll1ll11ll1("c2hvd0ZpZWxkTmFtZQ=="));
lll11ll11ll1.setAsColumnField(l1llll111lll);
}
if (V.notEmpty(l1l11ll111l1)) {
if (l1l11ll111l1.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("U0VMRl9CSU5EX09CSkVDVA=="))) {
lll11ll11ll1.setSelfBindObjectFieldName(OOO0OO00O00O00OO.l11llll1ll11ll1("c2VsZkJpbmRPYmplY3RGaWVsZE5hbWU="));
}
if (l1l11ll111l1.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("U0VMRl9CSU5EX0xJU1Q="))) {
lll11ll11ll1.setSelfBindListFieldName(OOO0OO00O00O00OO.l11llll1ll11ll1("c2VsZkJpbmRMaXN0RmllbGROYW1l"));
}
if (l1l11ll111l1.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("UkVGX1RBUkdFVF9CSU5EX0xJU1Q="))) {
lll11ll11ll1.setRefTargetBindListFieldName(OOO0OO00O00O00OO.l11llll1ll11ll1("cmVmVGFyZ2V0QmluZExpc3RGaWVsZE5hbWU="));
llll11l1l1l1.put(ll1111llll11.getClassName() + OOO0OO00O00O00OO.l11llll1ll11ll1("RGV0YWlsVk8="), OOO0OO0O00OO00O0.l11ll1ll11l1l11(ll1111llll11.getClassName(), ll1111llll11.getModule()));
}
}
l111l11111l1.add(lll11ll11ll1);
}
Map ll1l1l1llll1 = new HashMap<>(8);
for (Map.Entry l11llll1llll : llll11l1l1l1.entrySet()) {
String llll1l111111 = OO0OOOO0OOO0000O.ll111l1llllll11(l11llll1llll.getValue());
if (V.isEmpty(llll1l111111) && !OOO0OOO0O0OO00O0.l1ll11lll11l1l1(ll111l11ll1l)) {
log.warn(OOO0OO00O00O00OO.l11llll1ll11ll1("e30uamF2YSDmlofku7bkuI3lrZjlnKjjgII="), l11llll1llll.getKey());
continue;
}
ll1l1l1llll1.put(l11llll1llll.getKey(), llll1l111111);
}
O00OOO0O0OO0O0OO, ?, Map, List, String> lllll1l1l111 = new O00OOO0O0OO0O0OO().lllllll1l1lllll().setAdditionalObj1(ll1l1l1llll1).setAdditionalObj2(l111l11111l1).setAdditionalObj3(lll111l11lll.getClassName());
l111l11111l1 = O0O00O00OO00O0OO.ll1llllllll1l1l(lllll1l1l111);
if (V.isEmpty(l111l11111l1)) {
return Collections.emptyMap();
}
List l1l1ll1lll1l = BeanUtils.convertList(l111l11111l1, OO0O0O00000OOO0O.class);
Map l11lll1lll11 = BeanUtils.convertToStringKeyObjectMap(l1l1ll1lll1l, OO0O0O00000OOO0O::getColName);
if (V.notEmpty(l11lll1lll11)) {
Map l1111111ll1l = BeanUtils.convertToStringKeyObjectMap(l1l11l1ll1ll, O0O00OO00O0O0OO0::getColName);
for (Map.Entry ll111ll11l1l : l11lll1lll11.entrySet()) {
OO0O0O00000OOO0O lll1lllllll1 = ll111ll11l1l.getValue();
;
O0O00OO00O0O0OO0 lll1111l1ll1 = l1111111ll1l.get(ll111ll11l1l.getKey());
if (V.isEmpty(lll1lllllll1.getShowFieldName())) {
lll1lllllll1.setShowFieldName(lll1111l1ll1.getFromExtensions(OOO0OO00O00O00OO.l11llll1ll11ll1("c2hvd0ZpZWxkTmFtZQ==")));
}
if (V.isEmpty(lll1lllllll1.getSelfBindObjectFieldName())) {
lll1lllllll1.setSelfBindObjectFieldName(lll1111l1ll1.getFromExtensions(OOO0OO00O00O00OO.l11llll1ll11ll1("c2VsZkJpbmRPYmplY3RGaWVsZE5hbWU=")));
}
if (V.isEmpty(lll1lllllll1.getSelfBindListFieldName())) {
lll1lllllll1.setSelfBindListFieldName(lll1111l1ll1.getFromExtensions(OOO0OO00O00O00OO.l11llll1ll11ll1("c2VsZkJpbmRMaXN0RmllbGROYW1l")));
}
if (V.isEmpty(lll1lllllll1.getRefTargetBindListFieldName())) {
lll1lllllll1.setRefTargetBindListFieldName(lll1111l1ll1.getFromExtensions(OOO0OO00O00O00OO.l11llll1ll11ll1("cmVmVGFyZ2V0QmluZExpc3RGaWVsZE5hbWU=")));
}
}
}
return l11lll1lll11;
}
@Override
@Deprecated()
public List llllll111l1ll11(String l11l111ll1l1) {
return OOOO0O0OO0OO0000.llll11lllll1l1l().l1ll1l1l11l1l1l(l11l111ll1l1);
}
@Override
@Deprecated()
public boolean ll1l11ll1l1l1l1(OO0OOO00000O00O0 l1llll1l1111) {
O0O0OO000000OOO0 llll1ll1111l = null;
try {
O00OOO0O0OO0O0OO l11ll11l1l11 = new O00OOO0O0OO0O0OO("db", "CI").setModelObject(l1llll1l1111.getTableName()).setAdditionalObj2(l1llll1l1111);
llll1ll1111l = O00O00OOOO00000O.l1l1l1111l111l1(l11ll11l1l11);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6QU1FM5aSx6LSlOiB7fQ=="), e.getMessage());
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6Q5omn6KGMU1FM5aSx6LSl77yM6K+35qOA5p+l572R57uc6L+e5o6l5oiW56iN5ZCO6YeN6K+V77yB"));
}
if (llll1ll1111l != null) {
try {
List l1ll11111111 = llll1ll1111l.getExecuteSqlAction().getStmts();
return OOOO0O0OO0OO0000.llll11lllll1l1l().l1l1lll1l1l1lll(l1ll11111111, true);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("5omn6KGMU1FM5aSx6LSlOiB7fQ=="), e.getMessage());
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("5omn6KGMU1FM5aSx6LSl77yM6K+35qOA5p+l5ZCO5Y+w5pel5b+X77yB"));
}
}
return false;
}
@Override
@Deprecated()
public boolean llll111l11l1ll1(OO0OOO00000O00O0 l1l11lll1l1l) {
return OOOO0O0OO0OO0000.llll11lllll1l1l().llll111l11l1ll1(l1l11lll1l1l);
}
@Override
@Deprecated()
public String llll11l1lll1111(String lll1l1l11l11) {
if (lll1l1l11l11 == null || OOO0OOO0O0OO00O0.l1ll11lll11l1l1(lll1l1l11l11) || lll1l1l11l11.startsWith(O0OOO00OO0OOOO0O.l1lll11ll1l1l1) || lll1l1l11l11.startsWith(O0OOO00OO0OOOO0O.lllllllllll111)) {
return OOO0OO00O00O00OO.l11llll1ll11ll1("5LiN5pSv5oyB55u05o6l5Yig6Zmk57O757uf6KGo77yB");
}
O0O0OO000000OOO0 l1111l111lll = null;
try {
O00OOO0O0OO0O0OO l1ll111ll1l1 = new O00OOO0O0OO0O0OO("db", "DT").setModelObject(lll1l1l11l11);
l1111l111lll = O00O00OOOO00000O.l1l1l1111l111l1(l1ll111ll1l1);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6QU1FM5aSx6LSlOiB7fQ=="), e.getMessage());
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6QU1FM5aSx6LSl77yM6K+35qOA5p+l572R57uc6L+e5o6l5oiW56iN5ZCO6YeN6K+V77yB"));
}
if (l1111l111lll != null) {
String ll11lll11111 = l1111l111lll.getExecuteSqlAction().getStmts().get(0);
boolean ll1111lll1ll = OOOO0O0OO0OO0000.llll11lllll1l1l().llll11l1lll1111(ll11lll11111);
if (ll1111lll1ll) {
LambdaQueryWrapper ll11111ll1ll = Wrappers.lambdaQuery().eq(O0O00OO00O0O0OO0::getTableName, lll1l1l11l11);
l1l11llllllll.deleteEntities(ll11111ll1ll);
return ll1ll1111l111.ll1ll1ll111l1ll(lll1l1l11l11);
}
}
return OOO0OO00O00O00OO.l11llll1ll11ll1("5pON5L2c5aSx6LSl77yM6K+35omL5Yqo5omn6KGM44CC");
}
@Override
@Deprecated()
public String lll1ll1ll1llll1(String ll1llllll111, O00000O0OOO0O0OO l1l11l1l11ll) {
if (ll1llllll111 == null || OOO0OOO0O0OO00O0.l1ll11lll11l1l1(ll1llllll111) || ll1llllll111.startsWith(O0OOO00OO0OOOO0O.l1lll11ll1l1l1) || ll1llllll111.startsWith(O0OOO00OO0OOOO0O.lllllllllll111)) {
return OOO0OO00O00O00OO.l11llll1ll11ll1("5LiN5pSv5oyB55u05o6l5L+u5pS557O757uf6KGo77yB");
}
O0O0OO000000OOO0 l111lll11111 = null;
try {
O00OOO0O0OO0O0OO ll1l1l11l11l = new O00OOO0O0OO0O0OO("db", "RT").setModelObject(ll1llllll111).setAdditionalObj1(l1l11l1l11ll);
l111lll11111 = O00O00OOOO00000O.l1l1l1111l111l1(ll1l1l11l11l);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6QU1FM5aSx6LSlOiB7fQ=="), e.getMessage());
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6QU1FM5aSx6LSl77yM6K+35qOA5p+l572R57uc6L+e5o6l5oiW56iN5ZCO6YeN6K+V77yB"));
}
if (l111lll11111 != null) {
O00000O0OOO0O0OO l11ll1l1l11l = l1l111llll1llll(ll1llllll111);
List lll11l1ll11l = l111lll11111.getExecuteSqlAction().getStmts();
boolean ll1111111111 = OOOO0O0OO0OO0000.llll11lllll1l1l().l1l1lll1l1l1lll(lll11l1ll11l, true);
if (ll1111111111) {
LambdaUpdateWrapper llllll1ll1l1 = Wrappers.lambdaUpdate().eq(O0O00OO00O0O0OO0::getTableName, ll1llllll111).set(O0O00OO00O0O0OO0::getTableName, l1l11l1l11ll.getTableName());
l1l11llllllll.updateEntity(llllll1ll1l1);
return ll1ll1111l111.l111ll1llllll11(l11ll1l1l11l, l1l11l1l11ll);
}
}
return OOO0OO00O00O00OO.l11llll1ll11ll1("5pON5L2c5aSx6LSl77yM6K+35omL5Yqo5omn6KGM44CC");
}
@Deprecated()
private void l1l111111l11l(List l11l1l1lll1l) {
if (V.isEmpty(l11l1l1lll1l)) {
return;
}
List lll1ll111ll1 = l11l1l1lll1l.stream().map(O00000O0OOO0O0OO::getTableName).collect(Collectors.toList());
List llll1lll1l11 = ll11lll1111l1.getEntityList(Wrappers.lambdaQuery().in(OO00OOO00O0O00OO::getTableName, lll1ll111ll1));
if (V.isEmpty(llll1lll1l11)) {
return;
}
Map l1lll1111lll = BeanUtils.convertToStringKeyObjectMap(llll1lll1l11, OO00OOO00O0O00OO::getTableName);
for (O00000O0OOO0O0OO llll1l1l11ll : l11l1l1lll1l) {
if (V.notEmpty(llll1l1l11ll.getTableName()) && l1lll1111lll.get(llll1l1l11ll.getTableName()) != null) {
llll1l1l11ll.setModule(l1lll1111lll.get(llll1l1l11ll.getTableName()).getModule());
}
}
}
@Deprecated()
private String l1l11l1l111l1(O0O0OO000000OOO0 l1ll1l11ll11) {
if (!l1ll1l11ll11.l11ll11l111llll()) {
return null;
}
OO0OOOO0OO0O00O0 lll11l1ll11l = new OO0OOOO0OO0O00O0();
List lll11lll1l1l = l1ll1l11ll11.getModifyJavaAction().getUpdateFields();
l111lllll1l1l(lll11lll1l1l, lll11l1ll11l);
List l1l1l1l1ll11 = l1ll1l11ll11.getModifyJavaAction().getRemoveFields();
llll1l1l1111l(l1l1l1l1ll11, lll11l1ll11l);
if (lll11l1ll11l.isAllEmpty()) {
return null;
}
String l1111l1ll1l1 = "";
if (V.notEmpty(lll11lll1l1l)) {
l1111l1ll1l1 = lll11lll1l1l.get(0).getTableName();
}
if (V.isEmpty(l1111l1ll1l1) && V.notEmpty(l1l1l1l1ll11)) {
l1111l1ll1l1 = l1l1l1l1ll11.get(0).getTableName();
}
if (V.isEmpty(l1111l1ll1l1)) {
return null;
}
List lllll1l11111 = ll1ll1111l111.l11l11ll1l11l11(lll11l1ll11l, l1111l1ll1l1);
return V.notEmpty(lllll1l11111) ? OOO0OO00O00O00OO.l11llll1ll11ll1("ZGV2dG9vbHPmm7TmlLnkuobor6XlhbPogZTlrZfmrrXnm7jlhbPnmoTms6jop6PvvIzor7fmo4Dmn6Xnoa7orqTkv67mlLnnu5PmnpzvvIE=") : null;
}
@Deprecated()
private void l111lllll1l1l(List lll11ll1lll1, OO0OOOO0OO0O00O0 ll11llll11l1) {
if (V.isEmpty(lll11ll1lll1)) {
return;
}
boolean l1ll1ll1111l = false;
for (O000000O0O0OO000 l111l11l1l11 : lll11ll1lll1) {
if (V.notEmpty(l111l11l1l11.getOldColName()) && !l111l11l1l11.getOldColName().equals(l111l11l1l11.getColName())) {
l1ll1ll1111l = true;
break;
}
}
LambdaQueryWrapper l111l1l11l1l = new LambdaQueryWrapper<>();
l111l1l11l1l.eq(O0O00OO00O0O0OO0::getRefType, "T").eq(O0O00OO00O0O0OO0::getRefTable, lll11ll1lll1.get(0).getTableName());
if (l1ll1ll1111l) {
l111l1l11l1l.and(l11111llll11 -> {
lll11ll1lll1.forEach(l111l11l1l11 -> {
if (V.notEmpty(l111l11l1l11.getOldColName()) && !l111l11l1l11.getOldColName().equals(l111l11l1l11.getColName())) {
l11111llll11.or().eq(O0O00OO00O0O0OO0::getRefColumn, l111l11l1l11.getOldColName()).or().eq(O0O00OO00O0O0OO0::getAsColumn, l111l11l1l11.getOldColName());
}
});
});
}
List ll11111l1l11 = l1l11llllllll.getEntityList(l111l1l11l1l);
if (V.isEmpty(ll11111l1l11)) {
return;
}
Map l111lll1lll1 = BeanUtils.convertToStringKeyObjectMap(lll11ll1lll1, BeanUtils.convertToFieldName(O000000O0O0OO000::getOldColName));
Set ll11ll111l11 = l111lll1lll1.keySet();
for (O0O00OO00O0O0OO0 ll1111ll1lll : ll11111l1l11) {
String lll1ll11ll1l = ll1111ll1lll.getTableName();
O0O00OO00O0O0OO0 lll11l1ll1l1 = BeanUtils.convert(ll1111ll1lll, O0O00OO00O0O0OO0.class);
ll11llll11l1.setUpdateColumn(OOO0OO00O00O00OO.l11llll1ll11ll1("b2xk"), lll1ll11ll1l, lll11l1ll1l1);
if (ll11ll111l11.contains(ll1111ll1lll.getRefColumn())) {
ll1111ll1lll.setRefColumn(l111lll1lll1.get(ll1111ll1lll.getRefColumn()).getColName());
}
if (ll11ll111l11.contains(ll1111ll1lll.getAsColumn())) {
ll1111ll1lll.setAsColumn(l111lll1lll1.get(ll1111ll1lll.getAsColumn()).getColName());
}
ll11llll11l1.setDetailVOTable(lll1ll11ll1l).setListVOTable(lll1ll11ll1l);
if (V.notEmpty(ll1111ll1lll.getAsColumn())) {
ll11llll11l1.setDTOTable(lll1ll11ll1l);
}
l1l11llllllll.updateEntity(ll1111ll1lll);
ll11llll11l1.setUpdateColumn(OOO0OO00O00O00OO.l11llll1ll11ll1("bmV3"), lll1ll11ll1l, ll1111ll1lll);
String l1l1lll1l1l1 = ll1111ll1lll.getObjectBind();
if (V.notEmpty(l1l1lll1l1l1) && l1l1lll1l1l1.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("UkVGX1RBUkdFVF9CSU5EX0xJU1Q="))) {
ll11llll11l1.setDetailVOTable(ll1111ll1lll.getRefTable()).setTargetBindTable(ll1111ll1lll.getRefTable());
}
}
}
@Deprecated()
private void llll1l1l1111l(List l1lll1llllll, OO0OOOO0OO0O00O0 ll1111l11l1l) {
if (V.isEmpty(l1lll1llllll)) {
return;
}
List ll1l1lll11l1 = l1lll1llllll.stream().filter(l11lll111111 -> V.notEmpty(l11lll111111.getColName())).map(O000000O0O0OO000::getColName).collect(Collectors.toList());
if (V.isEmpty(ll1l1lll11l1)) {
return;
}
LambdaQueryWrapper l1lllll1l111 = Wrappers.lambdaQuery().eq(O0O00OO00O0O0OO0::getRefType, "T").eq(O0O00OO00O0O0OO0::getRefTable, l1lll1llllll.get(0).getTableName()).and(l11l1lll1ll1 -> {
l11l1lll1ll1.in(O0O00OO00O0O0OO0::getRefColumn, ll1l1lll11l1).or().in(O0O00OO00O0O0OO0::getAsColumn, ll1l1lll11l1);
});
List l11ll1lll111 = l1l11llllllll.getEntityList(l1lllll1l111);
if (V.isEmpty(l11ll1lll111)) {
return;
}
for (O0O00OO00O0O0OO0 l1l11llll1ll : l11ll1lll111) {
String l1l11l1l111l = l1l11llll1ll.getTableName();
ll1111l11l1l.setDetailVOTable(l1l11l1l111l).setListVOTable(l1l11l1l111l);
if (V.notEmpty(l1l11llll1ll.getAsColumn())) {
ll1111l11l1l.setDTOTable(l1l11l1l111l);
}
String l1llllll111l = l1l11llll1ll.getObjectBind();
if (V.notEmpty(l1llllll111l) && l1llllll111l.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("UkVGX1RBUkdFVF9CSU5EX0xJU1Q="))) {
ll1111l11l1l.setDetailVOTable(l1l11llll1ll.getRefTable());
}
if (ll1l1lll11l1.contains(l1l11llll1ll.getAsColumn())) {
l1l11llll1ll.setAsColumn("");
}
if (ll1l1lll11l1.contains(l1l11llll1ll.getRefColumn())) {
l1l11llll1ll.setRefColumn("");
}
l1l11llll1ll.setObjectBind("");
l1l11llllllll.updateEntity(l1l11llll1ll);
ll1111l11l1l.setRemoveColumn(l1l11l1l111l, l1l11llll1ll);
}
}
@Deprecated()
private String lll1ll11111l1(List ll1l1l1l1ll1) {
if (V.isEmpty(ll1l1l1l1ll1)) {
return null;
}
String l1l111l11ll1 = ll1l1l1l1ll1.get(0).getTableName();
if (OOO0OOO0O0OO00O0.l1ll11lll11l1l1(l1l111l11ll1)) {
return OOO0OO00O00O00OO.l11llll1ll11ll1("6K+l6KGo5Li657O757uf5YaF572u6KGo77yM5LiN5Y+v6KKr5pu05pS5");
}
return null;
}
@Deprecated()
private O0O0OO000000OOO0 ll11ll1l1ll11(List ll1111111lll, List lll1lllll111, List l11llll11lll, List lll1l1l111l1, String ll1111l111l1) {
O0O0OO000000OOO0 l1l1l1ll1ll1 = null;
try {
O00OOO0O0OO0O0OO, ?, List, String, ?> ll111lll1l1l = new O00OOO0O0OO0O0OO().lllllll1l1lllll().llllll1lll1ll1l().setModule("db").setCommand(OOO0OO00O00O00OO.l11llll1ll11ll1("TW9kaWZ5VGFibGU=")).setModelObject(ll1111111lll).setAdditionalObj1(lll1lllll111).setAdditionalObj2(ll1111l111l1);
l1l1l1ll1ll1 = O00O00OOOO00000O.lll111l11l11l1l(ll111lll1l1l);
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6Q6KGo57uT5p6E5pu05pS55aSx6LSlOiB7fQ=="), e.getMessage());
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("6Kej5p6Q6KGo57uT5p6E5pu05pS55aSx6LSl77yM6K+35qOA5p+l572R57uc6L+e5o6l77yB"));
}
if (l1l1l1ll1ll1 != null) {
if (V.notEmpty(l1l1l1ll1ll1.getErrorMsg()) && (l1l1l1ll1ll1.getErrorMsg().contains("登录") || l1l1l1ll1ll1.getErrorMsg().contains("账号"))) {
log.warn(l1l1l1ll1ll1.getErrorMsg());
lll1l1l111l1.add(l1l1l1ll1ll1.getErrorMsg());
}
String ll1ll1l1111l = l1l1l1ll1ll1.l11lllll1l1lll1();
if (V.notEmpty(ll1ll1l1111l)) {
log.warn(ll1ll1l1111l);
lll1l1l111l1.add(ll1ll1l1111l);
} else if (l1l1l1ll1ll1.l11l11l1ll1ll11()) {
l11llll11lll.add(OOO0OO00O00O00OO.l11llll1ll11ll1("U1FM5pu05paw5oiQ5Yqf"));
}
}
try {
List ll11l1l11l11 = OOO0OOO0O0OO00O0.l1l1lllll1ll111(ll1111111lll);
boolean l111111l11ll = l1l11llllllll.l11111111ll1l11(ll11l1l11l11);
if (!l111111l11ll) {
lll1l1l111l1.add(OOO0OO00O00O00OO.l11llll1ll11ll1("5Yi35paw6KGo57uT5p6E5Y+K6YWN572u5pWw5o2u5aSx6LSl77yM6K+35qOA5p+l5pel5b+X77yB"));
}
} catch (Exception e) {
log.warn(OOO0OO00O00O00OO.l11llll1ll11ll1("5Yi35paw6KGo57uT5p6E5Y+K6YWN572u5pWw5o2u5aSx6LSl"), e);
}
return l1l1l1ll1ll1;
}
@Deprecated()
private void lll11111l111l(List l1lllll11l11) {
if (V.isEmpty(l1lllll11l11)) {
return;
}
String lll11111l1ll = l1lllll11l11.get(0).getTableName();
boolean ll11l1111l1l = l1lllll11l11.stream().filter(ll11ll1l11l1 -> {
return V.notEmpty(ll11ll1l11l1.getColumnExt()) && V.notEmpty(ll11ll1l11l1.getColumnExt().getRefType()) && "T".equals(ll11ll1l11l1.getColumnExt().getRefType()) && V.equals(lll11111l1ll, ll11ll1l11l1.getColumnExt().getRefTable());
}).findFirst().isPresent();
OO00OOO00O0O00OO l111111l1l11 = ll11lll1111l1.getSingleEntity(Wrappers.lambdaQuery().eq(OO00OOO00O0O00OO::getTableName, lll11111l1ll));
if (l111111l1l11 != null) {
l111111l1l11.setTreeStruct(ll11l1111l1l);
ll11lll1111l1.updateEntity(l111111l1l11);
}
}
@Deprecated()
private void lllll1ll11lll(String ll1l1ll1l1ll) {
OOOOO000O0OO0000 l1l11111111l = ll11ll11llll1.l1ll11lll11l111();
JsonResult lllll1l1ll1l = O00O00OOOO00000O.l111111ll111l1l(ll1l1ll1l1ll, l1l11111111l.getUid());
if (lllll1l1ll1l.getCode() != 0) {
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("5Y+C6ICD5bu66KGo5aSx6LSl"));
}
List l11lll11lll1 = (List) lllll1l1ll1l.getData();
try {
for (Object ll11ll11l111 : l11lll11lll1) {
OO0OOO000OO0OO0O ll1lll1l1ll1 = JSON.parseObject(JSON.toJSONString(ll11ll11l111), OO0OOO000OO0OO0O.class);
if (V.notEmpty(ll1lll1l1ll1.getCreateDdl())) {
this.lll1l11ll111l(ll1lll1l1ll1.getCreateDdl(), true);
}
if (V.notEmpty(ll1lll1l1ll1.getInitDataSql())) {
this.lll1l11ll111l(ll1lll1l1ll1.getInitDataSql(), true);
}
if (V.notEmpty(ll1lll1l1ll1.getInitSqlFile())) {
String ll1ll111lll1 = O0OO00OO00OO0O0O.ll11ll1l11lll11(ll1lll1l1ll1.getInitSqlFile());
if (V.notEmpty(ll1ll111lll1)) {
this.lll1l11ll111l(ll1ll111lll1, true);
}
}
if (V.notEmpty(ll1lll1l1ll1.getRelationsSql())) {
this.lll1l11ll111l(ll1lll1l1ll1.getRelationsSql(), true);
}
}
} catch (Exception e) {
throw new BusinessException(Status.FAIL_OPERATION, OOO0OO00O00O00OO.l11llll1ll11ll1("5Y+C6ICD5bu66KGo5omn6KGM5aSx6LSl"));
}
}
@Deprecated()
private void lll1l11ll111l(String ll1llll11l1l, boolean l11l1111ll1l) throws Exception {
if (V.isEmpty(ll1llll11l1l)) {
return;
}
String[] lllllll111l1 = S.split(ll1llll11l1l, ";");
for (String l1lll1111l11 : lllllll111l1) {
if (V.isEmpty(l1lll1111l11)) {
continue;
}
O0OOOO00OO0O00O0.l1llll1lll11111(l1lll1111l11, l11l1111ll1l);
}
}
}