Browse Source

记录次数bugfix

final/10.0
alex.sung 6 years ago
parent
commit
3e57d8a624
  1. 3
      designer-realize/src/main/java/com/fr/design/mainframe/InformationCollector.java

3
designer-realize/src/main/java/com/fr/design/mainframe/InformationCollector.java

@ -285,7 +285,8 @@ public class InformationCollector implements XMLReadable, XMLWriter {
for(FocusPoint focusPoint : focusPoints.getList()) { for(FocusPoint focusPoint : focusPoints.getList()) {
FunctionRecord functionRecord = getOneRecord(focusPoint); FunctionRecord functionRecord = getOneRecord(focusPoint);
if (map.containsKey(focusPoint.getId())) { if (map.containsKey(focusPoint.getId())) {
functionRecord.setTimes(functionRecord.getTimes() + 1); int times = ((FunctionRecord)map.get(focusPoint.getId())).getTimes() + 1;
functionRecord.setTimes(times);
map.put(focusPoint.getId(), functionRecord); map.put(focusPoint.getId(), functionRecord);
} else { } else {
map.put(focusPoint.getId(), functionRecord); map.put(focusPoint.getId(), functionRecord);

Loading…
Cancel
Save