|
|
@@ -192,8 +192,6 @@ public class BusJcebController extends BaseController {
|
|
|
@ApiOperation(value = "汇总列表")
|
|
|
@GetMapping(value = "listAll")
|
|
|
public TableDataInfo listAll(JcebQueryVo query) {
|
|
|
- SortTypeEnum sortType = SortTypeEnum.ofValue(query.getIsAsc());
|
|
|
- query.setOrderBy(null);
|
|
|
List<JcebCountVo> list = new ArrayList<>();
|
|
|
for (JcebTypeEnum jcebTypeEnum : JcebTypeEnum.values()) {
|
|
|
JcebCountVo jcebRecordVo = null;
|
|
|
@@ -243,6 +241,7 @@ public class BusJcebController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
// 汇总结果按日期排序
|
|
|
+ SortTypeEnum sortType = SortTypeEnum.ofValue(query.getIsAsc());
|
|
|
JcebCountComparator comparator = new JcebCountComparator();
|
|
|
if (null == sortType || sortType == SortTypeEnum.DESC) {
|
|
|
comparator.setIsAsc(SortTypeEnum.DESC);
|