- 博客(3)
- 收藏
- 关注
原创 使用mongoTemplate实现多条件加分组查询
先来一个常见的错误信息:Due to limitations of the com.mongodb.BasicDocument, you can't add a second '$and' expression specified as '$and : 错误原因:在一个 Criteria 对象中调用了多次 andOperator() 方法 使用mongoTemplate实现...
2018-11-30 16:21:47 17418 2
原创 myBatis插入操作获取不到返回的自增id问题
myBatis插入操作后想返回自增 id 有多种方式其中一种使用率较高的就是:在<insert></insert> 标签中添加 useGeneratedKeys 和 keyProperty 属性具体操作可以看我另一篇博客但是就是没有返回出来,结果是因为 我在 mapper 接口中入参时使用了 @Param 注解当使用了 @Param 注解后,想把 ins...
2018-11-12 17:45:25 6671 7
原创 Windows各种实用快捷键
快捷键1:ctrl + w :关闭窗口,浏览器页面等快捷键2:ctrl + shift + t:和 ctrl + w 相反,可以重新打开刚刚关闭的浏览器页面快捷键3:ctrl + z:撤销快捷键4:ctrl + y:和 ctrl + z 相反,可以恢复撤销 长期更新记录希望能够帮助到你over ...
2018-11-03 16:43:06 264
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人