摘要:
String转Long的两种方法 1、Long.valueOf("String")返回Long包装类型 2、Long.parseLong("String")返回long基本数据类型 String类型时间转Long类型时间戳 String time = ""; Long timestamp = new 阅读全文
摘要:
首先维护一张两点之间的表 tmp: | a | b | | | | | 1 | 2 | insert into tmp select * from tmp t where not exists ( select 1 from tmp where t.b=# and t.a=# ) and not e 阅读全文
摘要:
Spring boot中的注解@ConditionalOnProperty,可以通过配置文件中的属性值来判定configuration是否被注入. 配置类: @Configuration @ConditionalOnProperty(prefix = "x.y", name = "test", ha 阅读全文