1,有的时候,咱们想删除某个文件时,会报说路径过长,删除不了的问题。解决办法有:html
将文件压缩,在压缩的时候,选择将源文件删除。而后再删除压缩包便可。这个方法简单快捷。java
参考:http://www.xitongcheng.com/jiaocheng/dnrj_article_14047.htmlsql
2.在线编辑好用:http://www.atool.org/ (不少功能,好比xml格式化等)ide
3.如何查询当天的最后时间:23:59:59( //转换结束时间为当天的23:59:59)orm
(1)直接用java转换:xml
A.Date endDate = param.getEndDate();
if(endDate != null){
endDate.setHours(23);
endDate.setMinutes(59);
endDate.setSeconds(59);
param.setEndDate(endDate);
}htm
B.SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
if(paramEnity.getEndDate() != null){
String endDateS = simpleDateFormat.format(paramEnity.getEndDate()).replaceAll(" 00:00:00", " 23:59:59");
Date endDate = simpleDateFormat.parse(endDateS);
paramEnity.setEndDate(endDate);
}ci
(2)直接使用sql:使用时间+1,小于便可get
select sr.creation_date,sr.incident_number
from a sr
where sr.org_id = 304
and sr.creation_date >= to_date('2019-02-11', 'yyyy-mm-dd')
and sr.creation_date<to_date('2019-02-11', 'yyyy-mm-dd')+1; it