jinpengyong
2020-05-06 3b50aa4a23bd3ccb2bf71109b84dea65bd9ffc07
update
1 files modified
5 ■■■■■ changed files
src/main/java/com/moral/controller/ReportController.java 5 ●●●●● patch | view | raw | blame | history
src/main/java/com/moral/controller/ReportController.java
@@ -160,6 +160,11 @@
            beginTime = time + " 00";
            endTime = timeb + " 23";
            i = Calendar.HOUR_OF_DAY;
        }else if(type.equals("hour")){
            dateFormat="yyyy-MM-dd HH:mm";
            beginTime=time+":00:00";
            endTime=timeb+":59:00";
            i=Calendar.MINUTE;
        }
        SimpleDateFormat sdf = new SimpleDateFormat(dateFormat);