From 5911e94b65e45c98c81f64928232b5d8f824a19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Sat, 14 Jan 2023 01:01:13 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E5=88=A9?= =?UTF-8?q?=E7=94=A8=20resultMap=20=E8=87=AA=E5=8A=A8=E6=98=A0=E5=B0=84?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=20=E7=AE=80=E5=8C=96=20xml=20(=E9=9D=9E?= =?UTF-8?q?=E5=B5=8C=E5=A5=97)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/demo/TestDemoMapper.xml | 15 ------------ .../resources/mapper/demo/TestTreeMapper.xml | 17 +------------ .../mapper/generator/GenTableColumnMapper.xml | 24 +------------------ .../mapper/generator/GenTableMapper.xml | 4 ++-- .../mapper/system/SysConfigMapper.xml | 14 +---------- .../resources/mapper/system/SysDeptMapper.xml | 17 +------------ .../mapper/system/SysDictDataMapper.xml | 18 +------------- .../mapper/system/SysDictTypeMapper.xml | 13 +--------- .../mapper/system/SysLogininforMapper.xml | 14 +---------- .../resources/mapper/system/SysMenuMapper.xml | 24 ++----------------- .../mapper/system/SysNoticeMapper.xml | 15 +----------- .../mapper/system/SysOperLogMapper.xml | 21 +--------------- .../mapper/system/SysOssConfigMapper.xml | 20 ---------------- .../resources/mapper/system/SysOssMapper.xml | 13 ---------- .../resources/mapper/system/SysPostMapper.xml | 12 +--------- .../mapper/system/SysRoleDeptMapper.xml | 5 ---- .../resources/mapper/system/SysRoleMapper.xml | 16 +------------ .../mapper/system/SysRoleMenuMapper.xml | 5 ---- .../resources/mapper/system/SysUserMapper.xml | 8 +++---- .../mapper/system/SysUserPostMapper.xml | 5 ---- .../mapper/system/SysUserRoleMapper.xml | 4 ---- 21 files changed, 19 insertions(+), 265 deletions(-) diff --git a/ruoyi-demo/src/main/resources/mapper/demo/TestDemoMapper.xml b/ruoyi-demo/src/main/resources/mapper/demo/TestDemoMapper.xml index 3caf98a71..26f86bdb2 100644 --- a/ruoyi-demo/src/main/resources/mapper/demo/TestDemoMapper.xml +++ b/ruoyi-demo/src/main/resources/mapper/demo/TestDemoMapper.xml @@ -4,23 +4,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - - diff --git a/ruoyi-demo/src/main/resources/mapper/demo/TestTreeMapper.xml b/ruoyi-demo/src/main/resources/mapper/demo/TestTreeMapper.xml index 0943d5b14..77b4d93b2 100644 --- a/ruoyi-demo/src/main/resources/mapper/demo/TestTreeMapper.xml +++ b/ruoyi-demo/src/main/resources/mapper/demo/TestTreeMapper.xml @@ -4,19 +4,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - - - \ No newline at end of file + diff --git a/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml b/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml index fc44d8cbc..8d6f06466 100644 --- a/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml +++ b/ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml @@ -4,29 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml index f17d59377..1ebfad7af 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml @@ -4,20 +4,4 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - - - - \ No newline at end of file + diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml index 8857f3498..42b040532 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysDictTypeMapper.xml @@ -4,15 +4,4 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - \ No newline at end of file + diff --git a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml index a2e38bfbf..65ea938a7 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysLogininforMapper.xml @@ -4,16 +4,4 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - \ No newline at end of file + diff --git a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml index d308d8d0b..5983514bf 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysMenuMapper.xml @@ -4,30 +4,10 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - - - - - - - - + - select distinct m.menu_id, m.parent_id, m.menu_name, m.path, m.component, m.query_param, m.visible, m.status, m.perms, m.is_frame, m.is_cache, m.menu_type, m.icon, m.order_num, m.create_time from sys_menu m diff --git a/ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml index be3cd0857..e7aeaf989 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml @@ -4,17 +4,4 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - \ No newline at end of file + diff --git a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml index 9d40c6d94..af7025954 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysOperLogMapper.xml @@ -4,23 +4,4 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + diff --git a/ruoyi-system/src/main/resources/mapper/system/SysOssConfigMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysOssConfigMapper.xml index 77dc40e20..8af22fef6 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysOssConfigMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysOssConfigMapper.xml @@ -4,24 +4,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - - - - - - - diff --git a/ruoyi-system/src/main/resources/mapper/system/SysOssMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysOssMapper.xml index a1e4ca8ad..24714f6a7 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysOssMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysOssMapper.xml @@ -2,17 +2,4 @@ - - - - - - - - - - - - - diff --git a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml index 3863f66da..614a99be0 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml @@ -4,17 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - + select u.user_id from sys_user u inner join sys_user_role sur