ruoyi-system/src/main/resources/mapper/system/SysUserPostMapper.xml
文件名从 ruoyi/src/main/resources/mybatis/system/SysUserPostMapper.xml 修改 @@ -2,7 +2,7 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.ruoyi.project.system.mapper.SysUserPostMapper"> <mapper namespace="com.ruoyi.system.mapper.SysUserPostMapper"> <resultMap type="SysUserPost" id="SysUserPostResult"> <result property="userId" column="user_id" />