![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
coderblue
这个作者很懒,什么都没留下…
展开
-
工作中常用的mybatis
本文旨在记录我在idea中使用mybatis时的经验总结 基本规范: Base_Column <sql id="Base_Column"> ID,USER_NAME,PASSWORD,CREATE_TIME,UPDATE_TIME,HEAD_PORTRAIT,STATUS </sql> Base_Where <sql id="Base_Where"&...原创 2020-03-27 00:22:04 · 110 阅读 · 0 评论 -
逆向工程
1.MBGTest package cn.blue.test; import org.mybatis.generator.api.MyBatisGenerator; import org.mybatis.generator.config.Configuration; import org.mybatis.generator.config.xml.ConfigurationParser; impo...原创 2019-12-25 10:39:11 · 109 阅读 · 0 评论 -
Parameter 'name' not found. Available parameters are [role,param1]
原因:入参找不到, 解决方案: 需要 role.name,且需要在接口中设置别名,否则会报错 mapper里写name,接口中直接Role role原创 2019-11-15 11:12:51 · 1375 阅读 · 0 评论