![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
QQ_1094428625
这个作者很懒,什么都没留下…
展开
-
用mybatis映射的mapper.xml没有找到错误
{"status":500,"msg":"org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.taotao.search.mapper.ItemMapper.getItemList\r\n\tat org.apache.ibatis.binding.MapperMethod$Sql原创 2018-01-26 21:36:50 · 1588 阅读 · 0 评论 -
mybatis递归查询所有子节点
mybatis递归查询所有子节点总结2018年04月01日 16:58:23 MeKane 阅读数:459查找所有资讯种类,并将他们映射到对应节点中,然后找出子节点,返给前端。数据库结构:NewsType: public class NewsType{ private String TypeId; private String ParentId; ...转载 2018-09-19 09:29:41 · 2297 阅读 · 0 评论 -
Mybatis递归查询
在实体类中提供children属性 和setter getter提供接口方法注意:两个resultMap必须返回的是集合原创 2018-09-19 11:20:17 · 241 阅读 · 0 评论