Skip to content

Commit 326c438

Browse files
committed
feat(线路API视图): 增加车队字段
1 parent 02af8ef commit 326c438

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mysql8/initdb/03-cbus-init-table.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4560,8 +4560,7 @@ CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_api_direction` AS s
45604560
-- View structure for view_api_route
45614561
-- ----------------------------
45624562
DROP VIEW IF EXISTS `view_api_route`;
4563-
CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_api_route` AS select `basic_route`.`id` AS `id`,`basic_route`.`company_id` AS `company_id`,`basic_route`.`route_code` AS `route_code`,`basic_route`.`route_id` AS `route_id`,`basic_route`.`route_name` AS `route_name`,`basic_route`.`category` AS `category`,`basic_route`.`create_time` AS `create_time`,`basic_route`.`update_time` AS `update_time` from `basic_route` where (`basic_route`.`is_deleted` = 0);
4564-
4563+
CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_api_route` AS select `basic_route`.`id` AS `id`,`basic_route`.`company_id` AS `company_id`,`basic_route`.`route_code` AS `route_code`,`basic_route`.`route_id` AS `route_id`,`basic_route`.`route_name` AS `route_name`,`basic_route`.`category` AS `category`,`basic_route`.`fleet_id` AS `fleet_id`,`basic_fleet`.`fleet_name` AS `fleet_name`,`basic_route`.`create_time` AS `create_time`,`basic_route`.`update_time` AS `update_time` from (`basic_route` left join `basic_fleet` on(((`basic_route`.`company_id` = `basic_fleet`.`company_id`) and (`basic_route`.`fleet_id` = `basic_fleet`.`fleet_id`)))) where (`basic_route`.`is_deleted` = 0);
45654564
-- ----------------------------
45664565
-- View structure for view_api_station
45674566
-- ----------------------------

0 commit comments

Comments
 (0)