|
|
|
|
|
|
|
|
public List<InspectionVO> track(Integer id) { |
|
|
public List<InspectionVO> track(Integer id) { |
|
|
|
|
|
|
|
|
LambdaQueryWrapper<ThInspection> lambdaQueryWrapper=new LambdaQueryWrapper<>(); |
|
|
LambdaQueryWrapper<ThInspection> lambdaQueryWrapper=new LambdaQueryWrapper<>(); |
|
|
lambdaQueryWrapper.eq(ThInspection::getMissionId,id).orderByDesc(ThInspection::getFlyTime); |
|
|
|
|
|
|
|
|
lambdaQueryWrapper.eq(ThInspection::getMissionId,id).orderByDesc(ThInspection::getCreateTime); |
|
|
//lambdaQueryWrapper.eq(ThInspection::getTenantId, ShiroUtils.getTenantId()); |
|
|
//lambdaQueryWrapper.eq(ThInspection::getTenantId, ShiroUtils.getTenantId()); |
|
|
List<InspectionVO> result=new ArrayList<>(); |
|
|
List<InspectionVO> result=new ArrayList<>(); |
|
|
List<ThInspection> thInspections = inspectionMapper.selectList(lambdaQueryWrapper); |
|
|
List<ThInspection> thInspections = inspectionMapper.selectList(lambdaQueryWrapper); |