当前使用版本(必填,否则不予处理)

3.3.2

该问题是如何引起的?(确定最新版也有问题再提!!!)

` public interface InvJobMapper extends BaseMapper { @Override

// @Select("select * from jc_inv_job") @Results({ @Result(id = true, column = "id", property = "id"), @Result(column = "id", property = "department", many = @Many(select = "com.xx.InvDepartmentMapper.findByJobId")) }) > E selectPage(E page, @Param(Constants.WRAPPER) Wrapper queryWrapper); } `

重现步骤(如果有就写完整)

加上@Select注解时,可以查询到many关联的表,不加@Select注解时,many关联不起作用。

报错信息

Comment From: miemieYaho

不止分页,都不支持,MappedStatement是mp自动注入的,不支持单独替换里面的属性