From aa2eae024f8f251c8e2b9eace5351dea7e315ed7 Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期一, 24 四月 2023 11:41:48 +0800 Subject: [PATCH] BUG --- hrt-modules/hrt-system/src/main/resources/mapper/system/user/SysMenuMapper.xml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hrt-modules/hrt-system/src/main/resources/mapper/system/user/SysMenuMapper.xml b/hrt-modules/hrt-system/src/main/resources/mapper/system/user/SysMenuMapper.xml index 3cef3c6..355695c 100644 --- a/hrt-modules/hrt-system/src/main/resources/mapper/system/user/SysMenuMapper.xml +++ b/hrt-modules/hrt-system/src/main/resources/mapper/system/user/SysMenuMapper.xml @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.hrt.system.mapper.user.SysMenuMapper"> - <resultMap type="SysMenu" id="SysMenuResult"> + <resultMap type="com.hrt.system.domain.poji.user.SysMenu" id="SysMenuResult"> <id property="menuId" column="menu_id" /> <result property="menuName" column="menu_name" /> <result property="parentName" column="parent_name" /> @@ -32,7 +32,7 @@ from sys_menu </sql> - <select id="selectMenuList" parameterType="SysMenu" resultMap="SysMenuResult"> + <select id="selectMenuList" parameterType="com.hrt.system.domain.poji.user.SysMenu" resultMap="SysMenuResult"> <include refid="selectMenuVo"/> <where> <if test="menuName != null and menuName != ''"> @@ -54,7 +54,7 @@ order by m.parent_id, m.order_num </select> - <select id="selectMenuListByUserId" parameterType="SysMenu" resultMap="SysMenuResult"> + <select id="selectMenuListByUserId" parameterType="com.hrt.system.domain.poji.user.SysMenu" resultMap="SysMenuResult"> select distinct m.menu_id, m.parent_id, m.menu_name, m.path, m.component, m.`query`, m.visible, m.status, ifnull(m.perms,'') as perms, m.is_frame, m.is_cache, m.menu_type, m.icon, m.order_num, m.create_time from sys_menu m left join sys_role_menu rm on m.menu_id = rm.menu_id @@ -127,12 +127,12 @@ select count(1) from sys_menu where parent_id = #{menuId} </select> - <select id="checkMenuNameUnique" parameterType="SysMenu" resultMap="SysMenuResult"> + <select id="checkMenuNameUnique" parameterType="com.hrt.system.domain.poji.user.SysMenu" resultMap="SysMenuResult"> <include refid="selectMenuVo"/> where menu_name=#{menuName} and parent_id = #{parentId} limit 1 </select> - <update id="updateMenu" parameterType="SysMenu"> + <update id="updateMenu" parameterType="com.hrt.system.domain.poji.user.SysMenu"> update sys_menu <set> <if test="menuName != null and menuName != ''">menu_name = #{menuName},</if> @@ -155,7 +155,7 @@ where menu_id = #{menuId} </update> - <insert id="insertMenu" parameterType="SysMenu"> + <insert id="insertMenu" parameterType="com.hrt.system.domain.poji.user.SysMenu"> insert into sys_menu( <if test="menuId != null and menuId != 0">menu_id,</if> <if test="parentId != null and parentId != 0">parent_id,</if> -- Gitblit v1.7.1