|
@@ -14,6 +14,7 @@ import org.eco.als.listener.AircraftImportListener;
|
|
|
import org.eco.als.mapper.AircraftMapper;
|
|
|
import org.eco.als.service.IAircraftService;
|
|
|
import org.eco.common.core.core.domain.model.LoginUser;
|
|
|
+import org.eco.common.core.service.AircraftService;
|
|
|
import org.eco.common.core.utils.MapstructUtils;
|
|
|
import org.eco.common.core.utils.SpringUtils;
|
|
|
import org.eco.common.core.utils.TreeBuildUtils;
|
|
@@ -39,7 +40,7 @@ import static org.eco.als.domain.table.AircraftTableDef.AIRCRAFT;
|
|
|
*/
|
|
|
@Service
|
|
|
@Slf4j
|
|
|
-public class AircraftServiceImpl extends BaseServiceImpl<AircraftMapper, Aircraft> implements IAircraftService {
|
|
|
+public class AircraftServiceImpl extends BaseServiceImpl<AircraftMapper, Aircraft> implements IAircraftService, AircraftService {
|
|
|
@Resource
|
|
|
private AircraftMapper aircraftMapper;
|
|
|
|
|
@@ -207,4 +208,9 @@ public class AircraftServiceImpl extends BaseServiceImpl<AircraftMapper, Aircraf
|
|
|
return this.removeByIds(Arrays.asList(ids));
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public String selectAircraftNoById(Long aircraftId) {
|
|
|
+ AircraftVo aircraft = selectById(aircraftId);
|
|
|
+ return ObjectUtil.isNull(aircraft) ? null : aircraft.getName();
|
|
|
+ }
|
|
|
}
|