Mybatis
熊一族
xiongyizhu.github.io
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mybatis plus 实体字段为自定义类 查询为null解决办法
1.字段写法 /** * 索引 */ @ApiModelProperty(value = "索引" ) @TableField(value = "INDEXS_" ,typeHandler = JacksonTypeHandler.class) private List<IndexVO> indexs;原创 2021-06-11 18:48:02 · 1847 阅读 · 0 评论 -
Mybatis in ids foreach 使用注意事项
官方文档中的例子是这样的List<Post> selectPostIn(List<String> list);<select id="selectPostIn" resultType="domain.blog.Post"> SELECT * FROM POST P WHERE ID in <foreach item="item" index="index" collection="list" open="(" separator="原创 2021-04-28 19:50:28 · 698 阅读 · 0 评论
分享