- 博客(19)
- 资源 (49)
- 收藏
- 关注
原创 MongoDB 排序数字字符串
Java 的 BigDecimal 转换到 MongoDB 时会变成 StringSpring Data 排序:Sort sort = Sort.by(Sort.Direction.DESC, "pay_money");query.with(sort) // String to Number sort .collation(Collation.parse("en_US").numericOrdering(true)); JS Shell 排序:db.t_instance_order.fi.
2022-04-25 18:15:44 1578
原创 MongoDB 统计月份多了个月的 Bug 解决
解决方案:给 $dateToString加时区Java: Criteria criteria = this.statsCriteria(request); Aggregation agg = Aggregation.newAggregation( Aggregation.match(criteria), Aggregation.project() .and("payMo.
2022-03-24 19:32:11 1885
原创 IDEA 不能打开终端(Terminal)
报错示例Cannot open Local TerminalFailed to start [cmd.exe] in M:/project/hunter/code/HunterPlusJavaError starting winpty: ConnectNamedPipe failed: Windows error 232This error can occur due to antivirus blocking winpty from creating a pty. Please exclude
2020-06-10 10:40:35 3882
原创 Spring @RabbitListener 原理 -- 个人见解
原文参考 https://blog.csdn.net/zidongxiangxi/article/details/100623548调用层RabbitAutoConfiguration // 这个是自动配置引入RabbitAnnotationDrivenConfiguration@EnableRabbitRabbitBootstrapConfigurationRabbitListenerAnnotationBeanPostProcessorxx 略说明:加 @RabbitLis.
2020-06-05 12:31:58 1289
原创 Java 8 Stream 原理 - 调试笔记
Java 8 Stream 原理——调试笔记 理解的前提:对流的执行步骤有基本认识——中间操作和终止操作 示例程序:Stream stream = Stream.of( "a", "bdd", "bdd" );stream.filter( s -> s.length() > 1 )// .sorted()// .mapToInt( S
2017-05-19 17:33:58 1446 1
原创 MongoChef malformed UTF-8 character sequence at offset 89
MongoChef IntelliShell 存在中文时出现 :malformed UTF-8 character sequence at offset 89 错误
2016-07-29 16:06:52 3789
原创 eclipse error resource does not exist
eclipse error resource does not exist
2016-07-23 15:57:22 1706 1
原创 自己网页跳转到其他网站下出现问题:URL前自动加上了自己当前的URL
自己网页跳转到其他网站下出现问题:URL前自动加上了自己当前的URL。原因理解了也就很简单
2016-04-17 23:15:08 2616
原创 浏览器IFrame出Refused to display 'URL' in a frame because it set 'X-Frame-Options' to 'DENY' 的错
Refused to display 'URL' in a frame because it set 'X-Frame-Options' to 'DENY'
2016-04-08 23:19:58 27318 8
原创 MyEclipse10用方法句柄出错
0x00 错误Exception in thread "main" java.lang.invoke.WrongMethodTypeException: (II)Ljava/lang/String; cannot be called with a different arity as ([Ljava/lang/Object;)Ljava/lang/Object;at cn.temp.t
2015-08-18 10:44:07 373
windows debug-exe
2017-09-06
阿里巴巴Java开发手册.pdf
2017-02-21
oolong.jar
2016-01-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人