jzkai 10 months ago
parent
commit
a5a4c3aede

+ 3 - 3
web/src/main/java/com/jpsoft/insurance/modules/base/controller/AdvisoryController.java

@@ -233,7 +233,7 @@ public class AdvisoryController {
         if (createTime.length > 0) {
             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
             searchParams.put("startTime", simpleDateFormat.format(createTime[0]) + " 00:00:00");
-            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + "23:59:59");
+            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + " 23:59:59");
         }
         if (StringUtils.isNotEmpty(insuredArea)) {
             searchParams.put("insuredArea", insuredArea);
@@ -277,7 +277,7 @@ public class AdvisoryController {
         if (createTime.length > 0) {
             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
             searchParams.put("startTime", simpleDateFormat.format(createTime[0]) + " 00:00:00");
-            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + "23:59:59");
+            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + " 23:59:59");
         }
         if (StringUtils.isNotEmpty(insuredArea)) {
             String[] arrayInsuredArea = insuredArea.split(",");
@@ -359,7 +359,7 @@ public class AdvisoryController {
         if (createTime.length > 0) {
             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
             searchParams.put("startTime", simpleDateFormat.format(createTime[0]) + " 00:00:00");
-            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + "23:59:59");
+            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + " 23:59:59");
         }
         if (StringUtils.isNotEmpty(insuredArea)) {
             String[] arrayInsuredArea = insuredArea.split(",");

+ 3 - 3
web/src/main/java/com/jpsoft/insurance/modules/base/controller/ReportController.java

@@ -243,7 +243,7 @@ public class ReportController {
         if (createTime.length > 0) {
             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
             searchParams.put("startTime", simpleDateFormat.format(createTime[0]) + " 00:00:00");
-            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + "23:59:59");
+            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + " 23:59:59");
         }
         if (StringUtils.isNotEmpty(insuredArea)) {
             searchParams.put("insuredArea", insuredArea);
@@ -297,7 +297,7 @@ public class ReportController {
         if (createTime.length > 0) {
             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
             searchParams.put("startTime", simpleDateFormat.format(createTime[0]) + " 00:00:00");
-            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + "23:59:59");
+            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + " 23:59:59");
         }
 
         if (StringUtils.isNotEmpty(insuredArea)) {
@@ -396,7 +396,7 @@ public class ReportController {
         if (createTime.length > 0) {
             SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
             searchParams.put("startTime", simpleDateFormat.format(createTime[0]) + " 00:00:00");
-            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + "23:59:59");
+            searchParams.put("endTime", simpleDateFormat.format(createTime[1]) + " 23:59:59");
         }
         if (StringUtils.isNotEmpty(insuredArea)) {
             String[] arrayInsuredArea = insuredArea.split(",");