Преглед изворни кода

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

tags/v1.0.0^2
chengwang пре 1 година
родитељ
комит
f4c61fee7d
2 измењених фајлова са 3 додато и 2 уклоњено
  1. +2
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/QueryInspectionListService.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/InspectionFileServiceImpl.java

+ 2
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/query/QueryInspectionListService.java Прегледај датотеку

@@ -59,7 +59,8 @@ public class QueryInspectionListService {
.eq(Inspection::getMark, 1)
.eq(Inspection::getDeptId, deptId)
.eq(Inspection::getAirportId, dto.getAirportId())
.in(Inspection::getStatus, 10, 15));
.in(Inspection::getStatus, 10, 15)
.orderByDesc(Inspection::getCreateTime));

return JsonResult.success(inspections);
}

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/InspectionFileServiceImpl.java Прегледај датотеку

@@ -121,7 +121,7 @@ public class InspectionFileServiceImpl implements IInspectionFileService {
List<InspectionFile> inspectionFileList = inspectionFileMapper.selectList(Wrappers.<InspectionFile>lambdaQuery()
.eq(InspectionFile::getMark, 1)
.eq(InspectionFile::getTenantId, tenantId));
if (null == inspectionFileList) {
if (CollectionUtil.isEmpty(inspectionFileList)) {
return JsonResult.error("该覆盖区域范围内没有问题");
}
for (InspectionFile inspectionFile : inspectionFileList) {

Loading…
Откажи
Сачувај