From 21cf165ac6ccbe19de72d7c62961495d6de1a500 Mon Sep 17 00:00:00 2001 From: Lin <220340138@cauc.edu.cn> Date: Sun, 24 Nov 2024 16:09:02 +0800 Subject: [PATCH] sql --- ...件开发项目的个人自评报告.xlsx | Bin 11996 -> 13352 bytes src/db_struct.sql | 101 ++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 src/db_struct.sql diff --git a/other/06_软件开发项目的个人自评报告.xlsx b/other/06_软件开发项目的个人自评报告.xlsx index 285d9a4a60e54875982d0a63f9919c4fe56e076d..ff5e64ef885f7437ca9e89445747976ee83ca67c 100644 GIT binary patch delta 7065 zcmc(kXFOcrzQ#xIHKKPWdhac|=td91L??RhMsLx_=$#5$PRr4x`#v@D!Y|XN_5)}Y2!2|$^004l$GoPQE zr<0YNn-j0Ui*vc5xekJ#ETrfI^7V}jt2PwGtcRZQ1~y`lL}0j+pQ!i-lT1=_o-Mgl&$E&^xr?7 zIfXoF__e(8Gi&~xD3MSd12LdVaxl8Z@Ze5_%U|s$i@66zW``)SrBMX0uO7cLz}($c zV?S0t^&0pT*AM%B08vcg492$NRBk#KBAk-qOb8xih_2bpgsDCM#JOw*l;S51rcMg`U|Lt6+D%kCZ05>DpFbVF(^lY3QdiCJ z!5fxNsb-3(dG)f;{+hBiaLkX-Dp6D4Tv#DOBr(u3;=bQ#`Ux6M)qTf@RrWVG?~EYi z<*gMDCMGRkv!XFc%8LHzu;9nKVX>lbepEG4x4(#5K^0N4^Uv1K$xP?FKHufc*YnV! zkh80H>7P1>q3)NgA{8SuI>@exeP7g>^=YB-3-7DgKXD?i9UVML{Yi6+ofCVz`;*8E z|2?oLXjoJIxah7Yl=$)m+uF_Wa6AR%BBp6cMd0w#^rzDN=JN|93K1VjZjwj58hfS1`lv)(DJUA9z-Gf!04-<&r{uuu)D%m9FijqJ|g{56u>`>qgtow#W83=N+ zFE{mAZ{JlbX6fqC5{#4ZvCsCfJi#$K>Ig7bi>{`OLQH<9edxqKZ z9!R3>LD@#1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705HTx_%Kq#hjfh8Cp0Kqg;A0MEy*!2qWBD(z_W>(FORU_ zY3d>By6dyN>WF(irmDFXgZJMt1m>=2(Y%r=ecV z0B-)17_4oLJ}Z-{YLWz&;cyyqIpez$xuOVJ-KRWtfXRkCuAkgvV7iA#EjBYe$8{}~ zh&)Rwtit%|?jx93&N*j;xpp-MZ3ACAr#r6Me}QGPVY4LMyj2l#tGB9!KfE@Y#AZrX zWuL7y^|;NRXZ5!AMZ6HJ#_LoOvKgtIei_N>Jg+}xRBnk!P9bJ*(Nfd0$-62OP}_nq zbdn|Vk5&lpN*N|B5QfZ*;v#O?r!-JRhURVh!?IQ0;J%FeSG9x10Um=t70 zzgfb5Bhd5e7l&W}AziP|wE=#^s(-cI(R(}7`fvKqnaBzp<7Xkefg(QoH}IVdzMKFf{-~~+DEy^poMt~!*{_!#=n@4nGE9GpFHPdaO#{#+%U{NiwoVp zC6Qg77%NQ1h*v<_wt(r-X5U|)ika6`aAslQ{N3Y3=<%sx;^6`Sh;bZhL>C_s=%2O@ z06=*sGXD%UJOnWwH3FBP2=sS_b7wsNI}|{C7a~Wf@{@!97UKU3eIWfEis$D+|3r@X z!q39`fA#5~UF|@>Td==n3ZV`m2mSLV0swci^{>$nM!*><5YHe)puZ2!-Q!98uLuCJ d&4loWNTA!XBHAG0=n@==YX}R_oAZy%{{WuPi^l)} diff --git a/src/db_struct.sql b/src/db_struct.sql new file mode 100644 index 0000000..422b533 --- /dev/null +++ b/src/db_struct.sql @@ -0,0 +1,101 @@ +/* + Navicat Premium Data Transfer + + Source Server : tencent + Source Server Type : MySQL + Source Server Version : 80039 + Source Host : localhost:8989 + Source Schema : fly_ticket + + Target Server Type : MySQL + Target Server Version : 80039 + File Encoding : 65001 + + Date: 24/11/2024 16:07:53 +*/ + +SET NAMES utf8mb4; +SET FOREIGN_KEY_CHECKS = 0; + +-- ---------------------------- +-- Table structure for admin_user +-- ---------------------------- +DROP TABLE IF EXISTS `admin_user`; +CREATE TABLE `admin_user` ( + `user` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '管理员用户名', + `pwd` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '管理员密码', + PRIMARY KEY (`user`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '管理员用户表' ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for flight +-- ---------------------------- +DROP TABLE IF EXISTS `flight`; +CREATE TABLE `flight` ( + `f_n` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '航班号', + `f_s_p` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '航班起点', + `f_a_p` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '航班终点', + `f_s_a` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '航班起飞机场', + `f_a_a` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '航班到达机场', + `f_s_t` time(6) NOT NULL COMMENT '起飞时间', + `f_a_t` time(6) NOT NULL COMMENT '到达时间', + `f_p` double(50, 0) NULL DEFAULT NULL COMMENT '票价', + `f_Date` date NOT NULL, + `f_delay` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL, + `f_food` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL, + `f_wide` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL, + `f_depcode` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL, + `f_dstcode` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL, + PRIMARY KEY (`f_n`, `f_Date`, `f_s_a`) USING BTREE, + INDEX `f_n`(`f_n`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '航班信息' ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for p_inf +-- ---------------------------- +DROP TABLE IF EXISTS `p_inf`; +CREATE TABLE `p_inf` ( + `p_id` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '', + `p_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, + `p_tel` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, + `p_sex` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '', + `p_work` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '', + `p_pwd` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账号密码', + PRIMARY KEY (`p_tel`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for ptp +-- ---------------------------- +DROP TABLE IF EXISTS `ptp`; +CREATE TABLE `ptp` ( + `p_id` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '关联者身份证号', + `p_id2` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '被关联者身份证号', + PRIMARY KEY (`p_id`, `p_id2`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for ticket +-- ---------------------------- +DROP TABLE IF EXISTS `ticket`; +CREATE TABLE `ticket` ( + `t_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'ticket_id 机票编号', + `f_n` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'flight_num 航班号', + `t_d` date NULL DEFAULT NULL COMMENT 'ticket_day 机票日期', + `t_s` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'ticket_seat 座位号', + `t_b` tinyint(1) NULL DEFAULT NULL COMMENT 'ticket_buy 0代表已被购买,1代表没有被购买', + `p_id` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'passenger_id 持票人身份证号', + `p_id2` varchar(30) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'passenger_id2 订票人身份证号', + `t_pay` tinyint(1) NULL DEFAULT NULL COMMENT 'ticket_pay 0代表未付款,1代表已付款', + PRIMARY KEY (`t_id`) USING BTREE, + INDEX `f_n`(`f_n`) USING BTREE, + CONSTRAINT `ticket_ibfk_1` FOREIGN KEY (`f_n`) REFERENCES `flight` (`f_n`) ON DELETE CASCADE ON UPDATE CASCADE +) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- View structure for ticket_view +-- ---------------------------- +DROP VIEW IF EXISTS `ticket_view`; +CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `ticket_view` AS select `ticket`.`t_id` AS `t_id`,`ticket`.`f_n` AS `f_n`,`ticket`.`t_d` AS `t_d`,`ticket`.`p_id` AS `p_id`,`ticket`.`p_id2` AS `p_id2`,`ticket`.`t_s` AS `t_s`,`flight`.`f_s_p` AS `f_s_p`,`flight`.`f_a_p` AS `f_a_p`,`flight`.`f_s_a` AS `f_s_a`,`flight`.`f_a_a` AS `f_a_a`,`flight`.`f_s_t` AS `f_s_t`,`flight`.`f_a_t` AS `f_a_t`,`flight`.`f_p` AS `f_p`,`p_inf`.`p_name` AS `p_name`,`p_inf`.`p_tel` AS `p_tel`,`p_inf`.`p_sex` AS `p_sex`,`p_inf`.`p_work` AS `p_work`,`ticket`.`t_pay` AS `t_pay` from ((`ticket` join `flight` on((`ticket`.`f_n` = `flight`.`f_n`))) join `p_inf` on((`ticket`.`p_id` = `p_inf`.`p_id`))) where ((`ticket`.`p_id` is not null) and (`ticket`.`p_id2` is not null)); + +SET FOREIGN_KEY_CHECKS = 1;