上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 57 下一页
摘要: 参考:https://www.cnblogs.com/shipengzhi/archive/2012/09/20/2695825.html OR、in和union all 查询效率到底哪个快。 网上很多的声音都是说union all 快于 or、in,因为or、in会导致全表扫描,他们给出了很多的实 阅读全文
posted @ 2019-03-05 17:40 毛会懂 阅读(6099) 评论(0) 推荐(1) 编辑
摘要: WHY? IN 和 NOT IN 是比较常用的关键字,为什么要尽量避免呢? 1、效率低 项目中遇到这么个情况: t1表 和 t2表 都是150w条数据,600M的样子,都不算大。 但是这样一句查询 select * from t1 where phone not in (select phone f 阅读全文
posted @ 2019-03-05 17:30 毛会懂 阅读(17613) 评论(0) 推荐(1) 编辑
摘要: 1 方法一:SELECT CAST('123' AS SIGNED); 2 方法二:SELECT CONVERT('123',SIGNED); 3 方法三:select '123'+1 阅读全文
posted @ 2019-03-01 19:18 毛会懂 阅读(9845) 评论(1) 推荐(1) 编辑
摘要: 下载gitlab上的代码: git clone ssh://git@47.xx.xx.xx:4xx/xxx.git 查看git代码状态: git status 不提交的代码文件: git checkout 文件路径 将代码添加到工作区: git add . 提交本地仓库: git commit -m 阅读全文
posted @ 2019-02-28 11:51 毛会懂 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 转载于:http://blog.csdn.net/jun55xiu/article/details/43051627 1 应用场景:SYS-UTIL(系统工具)项目部署、构建成JAR包(SYS-UTIL-XXX.jar)存储到Nexus私服上,以供其它项目(依赖)使用 2 目的:通过Nexus网页服 阅读全文
posted @ 2019-02-26 19:16 毛会懂 阅读(3896) 评论(0) 推荐(0) 编辑
摘要: 昨天有个项目部署在阿里云 想远程调试不知道怎么弄。看日志需要账户密码很不方便呀。今天加班特意baidu了下。 1.先在远程的resin修改conf中resin.xml配置文件 在server-default标签中添加 红色的两行 <server-default> <!-- 在本行注释下面添加JVM标 阅读全文
posted @ 2019-02-25 18:43 毛会懂 阅读(1364) 评论(0) 推荐(0) 编辑
摘要: 1. 打开postman, 在Tests输入以下内容: var jsonData =JSON.parse(responseBody);//获取body中返回的所有参数 postman.setGlobalVariable("token",jsonData.data.token);//把返回参数中的ke 阅读全文
posted @ 2019-02-22 13:26 毛会懂 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: 对List中每个对象元素按时间顺序排序 https://blog.csdn.net/qq_24505127/article/details/53837559 阅读全文
posted @ 2019-02-20 11:38 毛会懂 阅读(1895) 评论(0) 推荐(0) 编辑
摘要: Collections.sort(resList, new Comparator<LoanApplyLogRes>() { @Override public int compare(LoanApplyLogRes o1, LoanApplyLogRes o2) { SimpleDateFormat 阅读全文
posted @ 2019-02-20 11:31 毛会懂 阅读(1413) 评论(1) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_41983010/article/details/82562975 阅读全文
posted @ 2019-02-20 09:29 毛会懂 阅读(161) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 57 下一页