Authored by 胡古飞

fix sortListBySortField

... ... @@ -134,9 +134,9 @@ public class AggCommonHelper {
return 0;
}
if (fieldSortOrder.isDesc()) {
return value1 - value2 > 0 ? 1 : -1;
} else {
return value1 - value2 > 0 ? -1 : 1;
} else {
return value1 - value2 > 0 ? 1 : -1;
}
} catch (Exception e) {
logger.error(e.getMessage(), e);
... ...