|
|
@ -1240,6 +1240,12 @@ public class DataStatsServiceImpl implements DataStatsService { |
|
|
|
return o2.getGroupSelfGovernRatio().compareTo(o1.getGroupSelfGovernRatio()); |
|
|
|
} else if ("grid".equals(formDTO.getType())) { |
|
|
|
return o2.getGridSelfGovernRatio().compareTo(o1.getGridSelfGovernRatio()); |
|
|
|
} else if ("community".equals(formDTO.getType())) { |
|
|
|
return o2.getCommunityResolvedRatio().compareTo(o1.getCommunityResolvedRatio()); |
|
|
|
} else if ("department".equals(formDTO.getType())) { |
|
|
|
return o2.getDistrictDeptResolvedRatio().compareTo(o1.getDistrictDeptResolvedRatio()); |
|
|
|
} else if ("street".equals(formDTO.getType())) { |
|
|
|
return o2.getStreetResolvedRatio().compareTo(o1.getStreetResolvedRatio()); |
|
|
|
} else { |
|
|
|
return o2.getProblemResolvedCount().compareTo(o1.getProblemResolvedCount()); |
|
|
|
} |
|
|
|