src/main/resources/mapper/system/SysRoleDeptMapper.xml
文件名从 src/main/resources/mybatis/system/SysRoleDeptMapper.xml 修改 @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.ruoyi.project.system.mapper.SysRoleDeptMapper"> <resultMap type="SysRoleDept" id="SysRoleDeptResult"> <resultMap type="com.ruoyi.project.system.domain.SysRoleDept" id="SysRoleDeptResult"> <result property="roleId" column="role_id" /> <result property="deptId" column="dept_id" /> </resultMap>