Browse Source

修改状态

tags/v1.1.0
qiujinyang 2 years ago
parent
commit
ec49572d97
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/entity/domain/Report.java
  2. +2
    -2
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ThInspectionServiceImpl.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/entity/domain/Report.java View File

@@ -64,7 +64,7 @@ public class Report extends BaseEntity implements Serializable {
/**
* 巡检机场
*/
private String airportId;
private Integer airportId;

/**
* 巡检机场名称

+ 2
- 2
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ThInspectionServiceImpl.java View File

@@ -51,9 +51,9 @@ public class ThInspectionServiceImpl extends BaseServiceImpl<ThInspectionMapper,
@Override
public List<InspectionVO> track(Integer id) {

LambdaQueryWrapper<ThInspection> lambdaQueryWrapper=new LambdaQueryWrapper();
LambdaQueryWrapper<ThInspection> lambdaQueryWrapper=new LambdaQueryWrapper<>();
lambdaQueryWrapper.eq(ThInspection::getMissionId,id);
lambdaQueryWrapper.eq(ThInspection::getTenantId, ShiroUtils.getTenantId());
//lambdaQueryWrapper.eq(ThInspection::getTenantId, ShiroUtils.getTenantId());
List<InspectionVO> result=new ArrayList<>();
List<ThInspection> thInspections = inspectionMapper.selectList(lambdaQueryWrapper);


Loading…
Cancel
Save