随笔 - 72  文章 - 0  评论 - 0  阅读 - 5401
  2025年1月20日
摘要: 参考:https://blog.csdn.net/qq_20919883/article/details/111144221 阅读全文
posted @ 2025-01-20 20:30 or追梦者 阅读(4) 评论(0) 推荐(0) 编辑
  2024年10月27日
摘要: 切面修改注解内部属性值 注解 @Target(ElementType.METHOD) // 运行时 @Retention(RetentionPolicy.RUNTIME) // 可以出现在 生成的doc文档上 @Documented public @interface RepeatSubmit { 阅读全文
posted @ 2024-10-27 15:55 or追梦者 阅读(6) 评论(0) 推荐(0) 编辑
  2024年4月22日
摘要: @EqualsAndHashCode 和@Build用法 @EqualsAndHashCode 生成hashCode和equals方法 可以指定字段:在字段上加@EqualsAndHashCode.Include 表示指定参与的字段,配合类上的@EqualsAndHashCode(onlyExpli 阅读全文
posted @ 2024-04-22 22:45 or追梦者 阅读(9) 评论(0) 推荐(0) 编辑
  2023年9月14日
摘要: 去掉尾随0 BigDecimal decimal = new BigDecimal("100.00"); System.out.println(decimal.stripTrailingZeros().toPlainString()); 阅读全文
posted @ 2023-09-14 22:22 or追梦者 阅读(8) 评论(0) 推荐(0) 编辑
  2023年9月3日
摘要: 介绍 https://www.cnblogs.com/ysocean/p/7289529.html 类似于与JSTL 基于OGNL表达式 if choose(when,otherwise) trim(where,set) foreach 一:if 在动态 SQL 中所做的最通用的事情是包含部分 wh 阅读全文
posted @ 2023-09-03 21:00 or追梦者 阅读(878) 评论(0) 推荐(0) 编辑
  2023年8月18日
摘要: 自动映射 参考:http://www.mybatis.cn/archives/810.html 自动映射忽略大小写 一:mysql字段名与POJO属性名一致 直接映射 二:mysql字段名与POJO属性名不一致 1.用as设置别名 as可以省略 select user_type as userTyp 阅读全文
posted @ 2023-08-18 20:26 or追梦者 阅读(88) 评论(0) 推荐(0) 编辑
  2023年8月13日
摘要: 参考菜鸟教程:https://www.runoob.com/linux/linux-file-content-manage.html 简介 linux是多用户系统,不同用户处于不同地位 主要目录结构 文件和属组 于文件来说,它都有一个特定的所有者,也就是对该文件具有所有权的用户。同时,在Linux系 阅读全文
posted @ 2023-08-13 15:00 or追梦者 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 重启/关闭系统 reboot 直接重启 shutdown 可以指定时间 shutdown -r now 立即重启shutdown -r 23:30 指定时间重启 shutdown -h now 立即关机 shutdown -h 小时:分钟 定时关机 shutdown [-t seconds] [-r 阅读全文
posted @ 2023-08-13 12:22 or追梦者 阅读(11) 评论(0) 推荐(0) 编辑
  2023年7月24日
摘要: 数组转字符串 @Test public void testString() { List<String> list = new ArrayList<>(Arrays.asList("1","2","3")); System.out.println(StringUtils.join(list, "," 阅读全文
posted @ 2023-07-24 22:18 or追梦者 阅读(7) 评论(0) 推荐(0) 编辑
  2023年7月23日
摘要: 树节点 @Data public class Tree { /** * 节点id */ private String id; /** * 节点父id */ private String pid; /** * 节点名称 */ private String name; @Override public 阅读全文
posted @ 2023-07-23 19:42 or追梦者 阅读(11) 评论(0) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示