瀏覽代碼

凌云集团更改公司

peiguo 5 年之前
父節點
當前提交
9b11ba3307

+ 1 - 1
whepi-web/src/main/java/com/bofeng/service/ScanService.java

@@ -205,7 +205,7 @@ public class ScanService {
             ly2 = true;
             ly2 = true;
             startDate = s.format(outUser2.getStartDate());
             startDate = s.format(outUser2.getStartDate());
             Long day = (new Date().getTime() - outUser2.getStartDate().getTime()) / (1000 * 60 * 60 * 24);
             Long day = (new Date().getTime() - outUser2.getStartDate().getTime()) / (1000 * 60 * 60 * 24);
-            intSize = Integer.parseInt(Long.toString(day)) < 4 ? Integer.parseInt(Long.toString(day)) : 3;
+            intSize = Integer.parseInt(Long.toString(day)) < 3 ? Integer.parseInt(Long.toString(day)) : 3;
         }
         }
         MsReport msReport = msReportMapper.queryMsReportIsXG(userId);
         MsReport msReport = msReportMapper.queryMsReportIsXG(userId);
         if (msReport != null) {
         if (msReport != null) {

+ 2 - 2
whepi-web/src/main/java/com/bofeng/wx/controller/ScanController.java

@@ -192,7 +192,7 @@ public class ScanController {
                         ly2 = true;
                         ly2 = true;
                         startDate = s.format(outUser2.getStartDate());
                         startDate = s.format(outUser2.getStartDate());
                         Long day = (new Date().getTime() - outUser2.getStartDate().getTime()) /  (1000 * 60 * 60 * 24);
                         Long day = (new Date().getTime() - outUser2.getStartDate().getTime()) /  (1000 * 60 * 60 * 24);
-                        intSize =  Integer.parseInt(Long.toString(day)) < 4 ? Integer.parseInt(Long.toString(day)) : 3;
+                        intSize =  Integer.parseInt(Long.toString(day)) < 3 ? Integer.parseInt(Long.toString(day)) : 3;
                     }
                     }
                     if (!unit.getUptownId().equals(uptownDoor.getUptownId())) {
                     if (!unit.getUptownId().equals(uptownDoor.getUptownId())) {
                         model.put("collor", "red");
                         model.put("collor", "red");
@@ -674,7 +674,7 @@ public class ScanController {
                 ly2 = true;
                 ly2 = true;
                 startDate = s.format(outUser2.getStartDate());
                 startDate = s.format(outUser2.getStartDate());
                 Long day = (new Date().getTime() - outUser2.getStartDate().getTime()) /  (1000 * 60 * 60 * 24);
                 Long day = (new Date().getTime() - outUser2.getStartDate().getTime()) /  (1000 * 60 * 60 * 24);
-                intSize =  Integer.parseInt(Long.toString(day)) < 4 ? Integer.parseInt(Long.toString(day)) : 3;
+                intSize =  Integer.parseInt(Long.toString(day)) < 3 ? Integer.parseInt(Long.toString(day)) : 3;
             }
             }
             MsReport msReport = msReportMapper.queryMsReportIsXG(userId);
             MsReport msReport = msReportMapper.queryMsReportIsXG(userId);
             if (msReport != null) {
             if (msReport != null) {