12 2019 档案
摘要:@Autowired注入的bean都为null,然后试了各种方法,什么生命周期啥的,试了各种,还是失败了; 最终请教大哥,说是可以这样: 调用类:@Autowired private UserService userService; if (null==userService) { userServ
阅读全文
摘要:https://es.quanke.name/document-apis/delete-api.html
阅读全文
摘要:Cnd cnd = Cnd.where("user_id", "=", userId) .and("current_id", "=", currentLineId) .and("device_id", "=", deviceId) .and("status","=",1); if (startTim
阅读全文
摘要:在使用程序向es库添加数据,但是连接超时,对es服务器重启后数据出现,什么原因???有可能已经写进去了,但是没来得及及刷新或者是在管道中???
阅读全文
摘要:一共两种配置,其中我第一种有效,第二种无效: 第一种:在配置类中添加以下方法 @PostConstruct void init() { System.setProperty("es.set.netty.runtime.available.processors", "false"); } 第二种:在启
阅读全文
摘要:作者:hoxis | 不正经程序员 出处:https://hoxis.github.io 欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 MySQL实战 | 02-MySQL 如何恢复到半个月内任意一秒的状态? 看到这个题目是不是觉得数据库再
阅读全文
摘要:1、查询: find、locate、which、whereis find: 搜索当前目录:find . 搜索某个目录下的所有子目录和文件:find /opt 搜索某个目录下的某个文件:find /home -name "lisi.txt" 不区分大小写:find /root -iname binar
阅读全文

浙公网安备 33010602011771号