Commit de102148 by zhangkb

标签分析逻辑修改

parent 7baf72d6
...@@ -399,7 +399,7 @@ public class TagService { ...@@ -399,7 +399,7 @@ public class TagService {
public int compare(Map<String, Object> o1, Map<String, Object> o2) { public int compare(Map<String, Object> o1, Map<String, Object> o2) {
String total1 = o1.get("total").toString(); String total1 = o1.get("total").toString();
String total2 = o2.get("total").toString(); String total2 = o2.get("total").toString();
return total1.compareTo(total2); return total2.compareTo(total1);
} }
}); });
} }
...@@ -410,7 +410,7 @@ public class TagService { ...@@ -410,7 +410,7 @@ public class TagService {
public int compare(Map<String, Object> o1, Map<String, Object> o2) { public int compare(Map<String, Object> o1, Map<String, Object> o2) {
String total1 = o1.get("total").toString(); String total1 = o1.get("total").toString();
String total2 = o2.get("total").toString(); String total2 = o2.get("total").toString();
return total1.compareTo(total2); return total2.compareTo(total1);
} }
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment