摘要: 和普通字段差不多 <if test="flag==true"> <if test="flag"> <if test="!flag"> 阅读全文
posted @ 2023-02-10 15:34 aaacarrot 阅读(26) 评论(0) 推荐(0) 编辑
摘要: mysql 只有三种 join方式 参考: https://www.jianshu.com/p/76c90b03b7bd mysql 只有三种 join方式,但通过组合可以达到各种效果而已 join 就是 inner join left join right join full join(oracl 阅读全文
posted @ 2023-02-10 15:32 aaacarrot 阅读(49) 评论(0) 推荐(0) 编辑
摘要: | 中间件名称 |介绍| 优点 | 缺点 | | | | | | | sharding-JDBC | 当当应用框架ddframe中,从关系型数据库模块dd-rdb中分离出来的数据库水平分片框架,实现透明化数据库分库分表访问 | (1)旧代码迁移成本几乎为零 (2)可适用于任何基于Java的ORM框架 阅读全文
posted @ 2023-02-10 11:24 aaacarrot 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 比较器 Comparator 接口 lamda 表达式定法 和 比较器类写法 public class StringComparator implements Comparator<String> { @Override public int compare(String s1, String s2 阅读全文
posted @ 2023-02-10 11:19 aaacarrot 阅读(28) 评论(0) 推荐(0) 编辑