![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MyBatis
风起了,嗯
这个作者很懒,什么都没留下…
展开
-
Mybatis出现org.apache.ibatis.binding.BindingException:Invalid bound statement (not found)问题
问题:访问MyBatis的时候报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)原因:排除过程中发现在target中的编译后的文件里,mapper.xml和mapper文件不在同一个包下,原来在起包名的时候出错了。...原创 2021-12-02 19:10:04 · 1078 阅读 · 0 评论 -
MyBatis传参对象包含List集合
问题:MyBatis传参对象包含List集合。dto实体类:public class CustomNetworkInfoDto { private String dnnName; private List<String> userLabels;}dao层:用@Param标签标示变量名。Integer queryTotalFlow(@Param("CustomNetworkDto") CustomNetworkInfoDto customNetworkInfoDto原创 2021-12-22 15:51:39 · 2588 阅读 · 2 评论 -
MyBatis实现批量修改的三种办法
MyBatis实现批量修改原创 2021-11-23 22:30:56 · 35222 阅读 · 0 评论