mybatis 返回 对象中属性 封装成List<String>
1、实体public class User { private Long id; private String name; private List<Integer> resIds;}2、resultMap<resultMap id="detail" type="com.wmt.common.bean.plain.system.Role" autoMapping="true"> <id column="id" property="id"
原创
2021-08-09 12:05:07 ·
904 阅读 ·
0 评论