Browse Source

记录次数bugfix

10.0
alex.sung 6 years ago
parent
commit
1942bbc2ca
  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()) {
FunctionRecord functionRecord = getOneRecord(focusPoint);
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);
} else {
map.put(focusPoint.getId(), functionRecord);

Loading…
Cancel
Save