com.diboot.devtools.v2.O0O00OO000O0OO0O 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.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.diboot.core.cache.StaticMemoryCacheManager;
import com.diboot.core.util.ContextHelper;
@Deprecated()
public class O0O00OO000O0OO0O {
private static StaticMemoryCacheManager l11l1111l1111;
private static final String ll11ll11lll11 = OOO0OO00O00O00OO.l11llll1ll11ll1("REVWVF9UQl9Q");
@Deprecated()
private static StaticMemoryCacheManager l1l1lll1ll11l() {
if (l11l1111l1111 == null) {
l11l1111l1111 = new StaticMemoryCacheManager(ll11ll11lll11);
}
return l11l1111l1111;
}
@Deprecated()
public static OO00OOO0OOO0OOOO ll1l1111111111l(String ll1lll1l11l1) {
OO00OOO0OOO0OOOO l1ll11lll111 = l1l1lll1ll11l().getCacheObj(ll11ll11lll11, ll1lll1l11l1, OO00OOO0OOO0OOOO.class);
if (l1ll11lll111 == null) {
LambdaQueryWrapper lll1l111ll11 = Wrappers.lambdaQuery().eq(OO00OOO00O0O00OO::getTableName, ll1lll1l11l1);
OO00OOO00O0O00OO ll1lll11llll = ContextHelper.getBean(O0000O0O00000000.class).getSingleEntity(lll1l111ll11);
l1ll11lll111 = new OO00OOO0OOO0OOOO(ll1lll1l11l1);
if (ll1lll11llll == null) {
l1ll11lll111.setClassName(O00O00OO0000OO0O.l1l11l11111l111(ll1lll1l11l1));
l1ll11lll111.setModule(null);
O00000O0OOO0O0OO ll1l11llllll = OOOO0O0OO0OO0000.llll11lllll1l1l().llll1lll111l111(false, ll1lll1l11l1);
if (ll1l11llllll != null) {
l1ll11lll111.setComment(ll1l11llllll.getObjName());
}
} else {
l1ll11lll111.setClassName(ll1lll11llll.getClassName());
l1ll11lll111.setModule(ll1lll11llll.getModule());
l1ll11lll111.setComment(ll1lll11llll.getObjName());
}
l1l1lll1ll11l().putCacheObj(ll11ll11lll11, ll1lll1l11l1, l1ll11lll111);
}
return l1ll11lll111;
}
@Deprecated()
public static void llll111l1l1l11l(OO00OOO00O0O00OO l1ll1l1l1l1l) {
OO00OOO0OOO0OOOO ll111l11ll1l = new OO00OOO0OOO0OOOO();
ll111l11ll1l.setTableName(l1ll1l1l1l1l.getTableName());
ll111l11ll1l.setClassName(l1ll1l1l1l1l.getClassName());
ll111l11ll1l.setModule(l1ll1l1l1l1l.getModule());
O0O00OO000O0OO0O.l111lll1111l1ll(l1ll1l1l1l1l.getTableName(), ll111l11ll1l);
}
@Deprecated()
public static void l111lll1111l1ll(String ll1ll1l111l1, OO00OOO0OOO0OOOO l1llllll1lll) {
l1l1lll1ll11l().putCacheObj(ll11ll11lll11, ll1ll1l111l1, l1llllll1lll);
}
@Deprecated()
public static void ll1l11llll1l111(String l1ll11ll1l1l) {
l1l1lll1ll11l().putCacheObj(ll11ll11lll11, l1ll11ll1l1l, null);
}
}