Browse Source

大气列表倒序排序

tags/V1.0.1
chengwang 1 year ago
parent
commit
9b086afc1f
1 changed files with 2 additions and 1 deletions
  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 View File

@@ -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);
}

Loading…
Cancel
Save