zhaops 4 年之前
父节点
当前提交
577404f44c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/diagbot/facade/ConsoleExportFacade.java

+ 2 - 2
src/main/java/com/diagbot/facade/ConsoleExportFacade.java

@@ -226,7 +226,7 @@ public class ConsoleExportFacade {
         Date startDate = qcResultShortPageVO.getStartDate();
         Date endDate = qcResultShortPageVO.getEndDate();
         //时间间隔90天
-        long interval = 90 * 24 * 60 * 60 * 1000;
+        long interval = 90l * 24l * 60l * 60l * 1000l;
         if (endDate.getTime() < startDate.getTime()) {
             throw new CommonException(CommonErrorCode.PARAM_ERROR, "截止时间不能小于起始时间");
         }
@@ -294,7 +294,7 @@ public class ConsoleExportFacade {
         Date startDate = qcResultShortPageVO.getStartDate();
         Date endDate = qcResultShortPageVO.getEndDate();
         //时间间隔7天
-        long interval = 90 * 24 * 60 * 60 * 1000;
+        long interval = 90l * 24l * 60l * 60l * 1000l;
         if (endDate.getTime() < startDate.getTime()) {
             throw new CommonException(CommonErrorCode.PARAM_ERROR, "截止时间不能小于起始时间");
         }