新增航线AI绑定、自动开启

This commit is contained in:
sdy 2026-06-18 16:06:06 +08:00
parent 5ac4eb1043
commit d14da94715
1 changed files with 7 additions and 0 deletions

View File

@ -173,6 +173,13 @@ public class RouteServiceImpl extends CrudServiceImpl<RouteDao, RouteEntity, Rou
}
routeDTO.setRouteWaypointList(routeWaypointDTOList);
//智眸AI
RouteAiEntity routeAiEntity = routeAiDao.selectOne(new QueryWrapper<RouteAiEntity>().eq("route_id", id));
if (routeAiEntity != null) {
routeDTO.setZhimouAppId(routeAiEntity.getZhimouAppId());
routeDTO.setZhimouChildId(routeAiEntity.getZhimouChildId());
}
return routeDTO;
}