|
@@ -192,7 +192,7 @@ public class ScanController {
|
|
|
ly2 = true;
|
|
|
startDate = s.format(outUser2.getStartDate());
|
|
|
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())) {
|
|
|
model.put("collor", "red");
|
|
@@ -674,7 +674,7 @@ public class ScanController {
|
|
|
ly2 = true;
|
|
|
startDate = s.format(outUser2.getStartDate());
|
|
|
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);
|
|
|
if (msReport != null) {
|