摘要:
springboot启动流程简述 程序入口 @SpringBootApplication public class App { public static void main(String[] args) { SpringApplication application = new SpringApp 阅读全文
摘要:
select * from treenodes where find_in_set(id, '1,2,3,4,5'); 而不是 select * from treenodes where id = find_in_set(id, '1,2,3,4,5'); 错误 错误 错误 SELECT id,na 阅读全文
摘要:
当前ID为5,读取上一条记录: SELECT * FROM A WHERE ID < 5 ORDER BY ID DESC LIMIT 0,1; ps: select * from table1 where id<$id order by id desc limit 1 当前ID为5,读取下一条记录 阅读全文