2019年5月29日

@AutoConfigureBefore

摘要: @AutoConfigureBefore(Xxx.class)此注解用在类名上,标识在加载Xxx类前加载该配置类 阅读全文

posted @ 2019-05-29 18:50 风再起时9302 阅读(2563) 评论(0) 推荐(0)

mysql小技巧

摘要: 1.在知道查询结果只有一条的情况下在后面加上 limit 1 会大幅提升速度; 例如:test表1000w条数据 select * from test where name = 'Carl1' 执行时间为10.510s; select * from test where name = 'Carl1' 阅读全文

posted @ 2019-05-29 15:11 风再起时9302 阅读(94) 评论(0) 推荐(0)

导航