Browse Source

Merge branch 'dev' of lyr/patient-co-management into dev

lyr 8 năm trước cách đây
mục cha
commit
23694382f1

+ 4 - 4
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/statistics/StatisticsAllService.java

@ -709,12 +709,12 @@ public class StatisticsAllService extends BaseService {
        Collections.sort(resultList, new Comparator<Map<String, Object>>() {
            public int compare(Map<String, Object> o1, Map<String, Object> o2) {
                long map1value = (long) o1.get("amount");
                long map2value = (long) o2.get("amount");
                String map1value = o1.get("rate").toString();
                String map2value = o2.get("rate").toString();
                if (map1value - map2value > 0) {
                if (map1value.compareTo(map2value) > 0) {
                    return sort == 1 ? -1 : 1;
                } else if (map1value - map2value < 0) {
                } else if (map1value.compareTo(map2value) < 0) {
                    return sort == 1 ? 1 : -1;
                } else {
                    return 0;