Pārlūkot izejas kodu

大气列表倒序排序

tags/V1.0.1
chengwang pirms 1 gada
vecāks
revīzija
9b086afc1f
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt