mybatis
ldlly0505
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
org.apache.ibatis.binding.BindingException: Mapper method 'com.example.demo.mapper.UserMapper.findCo
<select id="findCountByContditon" resultMap="user" parameterType="com.example.demo.po.User"> select count(id) from user <where> <if test="na...原创 2019-12-13 20:04:19 · 4449 阅读 · 0 评论 -
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.Persiste
<select id="getCountByCondition" resultType="int" > select * from user <where> <if test="name != null and name != ''"> name = #{name} ...原创 2019-12-13 10:52:57 · 1111 阅读 · 0 评论 -
mybatis学习笔记三
1.找出今天以前的user数据mapper文件:@Mapperpublic interface UserMapper { public List<User> findByDate(Date createTime);}隐射文件:<select id="findByDate" resultMap="user"> selec...原创 2019-12-12 20:38:47 · 534 阅读 · 0 评论
分享