浏览代码

大气列表倒序排序

tags/V1.0.1
chengwang 1年前
父节点
当前提交
9b086afc1f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/query/QueryAirDataListService.java

+ 2
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/query/QueryAirDataListService.java 查看文件

@@ -61,7 +61,8 @@ public class QueryAirDataListService {
public JsonResult list(String id) {
List<AirData> airDataList = airDataMapper.selectList(Wrappers.<AirData>lambdaQuery()
.eq(AirData::getMark, MarkEnum.VALID.getCode())
.eq(AirData::getInspectionId, id));
.eq(AirData::getInspectionId, id)
.orderByDesc(AirData::getCreateTime));

return JsonResult.success(airDataList);
}

正在加载...
取消
保存