|
@@ -74,6 +74,7 @@ public class HealthPublicityController {
|
|
|
}
|
|
|
|
|
|
List<Map> itemList = new ArrayList<>();
|
|
|
+ int visitorNum = checkedVisitorNum;
|
|
|
|
|
|
for (int i = 0; i < personDeviceLogList1.size(); i++) {
|
|
|
PersonDeviceLog item = personDeviceLogList1.get(i);
|
|
@@ -81,7 +82,8 @@ public class HealthPublicityController {
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
|
|
|
if (item.getPerson() == null) {
|
|
|
- map.put("name", "访客" + (checkedVisitorNum - i));
|
|
|
+ map.put("name", "访客" + visitorNum);
|
|
|
+ visitorNum--;
|
|
|
} else {
|
|
|
map.put("name", item.getPerson().getName());
|
|
|
}
|