RuoYi
2020-08-13 3b534a8d3fe5a982159b8b542e6770fa80df91c7
src/main/resources/mybatis/system/SysRoleMapper.xml
@@ -80,12 +80,12 @@
   
   <select id="checkRoleNameUnique" parameterType="String" resultMap="SysRoleResult">
      <include refid="selectRoleVo"/>
       where r.role_name=#{roleName}
       where r.role_name=#{roleName} limit 1
   </select>
   
   <select id="checkRoleKeyUnique" parameterType="String" resultMap="SysRoleResult">
      <include refid="selectRoleVo"/>
       where r.role_key=#{roleKey}
       where r.role_key=#{roleKey} limit 1
   </select>
   
    <insert id="insertRole" parameterType="SysRole" useGeneratedKeys="true" keyProperty="roleId">