摘要:
实现查找并删除目录或文件 #方式1 find . -type f -delete或find . -type f -exec rm -f {} \; #方式2 find . -type f | xargs rm -f #方式3 rm-f `find . -type f` find . -name '* 阅读全文
摘要:
1、Map map:对集合中的元素逐个进行函数操作映射成另外一个 List<String> nidList = resultList.stream().map(TrackNoOverTimeDto::getNid).collect(Collectors.toist()); //String类型转In 阅读全文
摘要:
1、下载mysql的repo源 wget http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm 2、安装YUM库 yum localinstall -y mysql57-community-release-el7-7. 阅读全文
摘要:
声明Bean的注解 /** * ConfigurableBeanFactory#SCOPE_PROTOTYPE * @see ConfigurableBeanFactory#SCOPE_SINGLETON * @see org.springframework.web.context.WebAppli 阅读全文
摘要:
#先按置顶时间排序,置顶时间为NULL时排在最后,然后按创建时间排序 SELECT * FROM p_org_share_info ORDER BY top_time IS NULL ASC, top_time DESC ,create_time DESC INSERT INTO c_credit_ 阅读全文
摘要:
DOS查看文件MD5 certutil -hashfile D:\1.exe MD5certutil -hashfile D:\1.exe SHA1certutil -hashfile D:\1.exe SHA256 Linux查看MD5 md5sum feilName.war 阅读全文
摘要:
Android Studio Q1: Gradle '×××' project refresh failed. re-download dependencies and sync project (requires network) Q2: Installation failed with mess 阅读全文
摘要:
若还不了解sql的执行顺序,建议先看下sql执行顺序 “聚合函数”?像sum()、count()、avg()等都是“聚合函数”或组函数 order by 是对行的排序方式,默认的为升序。 order by 后面必须列出排序的字段名,可以是多个字段名。 group by 为分组函数,一般和聚合函数配合 阅读全文