From 16aff7930d4a2b8e1034f8f3d6caafb5f422b363 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期六, 29 十月 2022 17:03:44 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/config/InitConfig.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/lf/server/config/InitConfig.java b/src/main/java/com/lf/server/config/InitConfig.java index 3598e2d..c5a998d 100644 --- a/src/main/java/com/lf/server/config/InitConfig.java +++ b/src/main/java/com/lf/server/config/InitConfig.java @@ -11,6 +11,7 @@ import com.lf.server.helper.AesHelper; import com.lf.server.helper.PathHelper; import com.lf.server.mapper.bd.DlgAgnpMapper; +import com.lf.server.service.all.BaseQueryService; import com.lf.server.service.all.PermsService; import com.lf.server.service.sys.ArgsService; import com.lf.server.service.sys.BlacklistService; @@ -49,6 +50,9 @@ @Autowired BlacklistService blacklistService; + @Autowired + BaseQueryService baseQueryService; + @Override public void run(ApplicationArguments args) { // noinspection AlibabaRemoveCommentedCode @@ -81,7 +85,8 @@ } private void testMybatisPlus() { - List<String> list0 = dlgAgnpMapper.selectFuzzy("bd.dlg_agnp", "name", "%鍘�%"); + String tabName = baseQueryService.getTabName(dlgAgnpMapper); + List<String> list0 = dlgAgnpMapper.selectFuzzy(tabName, "name", "%鍘�%"); DlgAgnpEntity dlg = dlgAgnpMapper.selectById(1); String wkt = dlgAgnpMapper.selectWktById("bd.dlg_agnp", 2); -- Gitblit v1.9.3