From 79fc16eeb704bbcdf5af7e62f0bb762665b2bfa1 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 13 十二月 2021 10:02:32 +0800 Subject: [PATCH] fix 修复代码生成 导出注解错误 --- ruoyi-demo/src/main/java/com/ruoyi/demo/service/impl/TestTreeServiceImpl.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-demo/src/main/java/com/ruoyi/demo/service/impl/TestTreeServiceImpl.java b/ruoyi-demo/src/main/java/com/ruoyi/demo/service/impl/TestTreeServiceImpl.java index 2cb93ad..daff12b 100644 --- a/ruoyi-demo/src/main/java/com/ruoyi/demo/service/impl/TestTreeServiceImpl.java +++ b/ruoyi-demo/src/main/java/com/ruoyi/demo/service/impl/TestTreeServiceImpl.java @@ -23,7 +23,7 @@ * @author Lion Li * @date 2021-07-26 */ -//@DataSource(DataSourceType.SLAVE) // 鍒囨崲浠庡簱鏌ヨ +// @DS("slave") // 鍒囨崲浠庡簱鏌ヨ @Service public class TestTreeServiceImpl extends ServicePlusImpl<TestTreeMapper, TestTree, TestTreeVo> implements ITestTreeService { @@ -32,8 +32,8 @@ return getVoById(id); } -// @DataSource(DataSourceType.SLAVE) // 鍒囨崲浠庡簱鏌ヨ - @DataScope(isUser = true) +// @DS("slave") // 鍒囨崲浠庡簱鏌ヨ + @DataScope(isUser = true) @Override public List<TestTreeVo> queryList(TestTreeBo bo) { LambdaQueryWrapper<TestTree> lqw = buildQueryWrapper(bo); -- Gitblit v1.9.3