IKUN_Library
1.0.0
يستخدم نظام إدارة الواجهة الخلفية للكتاب SpringBoot + Mybatius، وتستخدم الصفحة إطار عمل Element، والواجهة مكتوبة بأسلوب RESTful API.
قاعدة البيانات تستخدم MySQL
التمهيد الربيع
MyBatis-puls
ماي إس كيو إل
ElementUI
؟؟
IntelliJ IDEA 2023.2.2+Navicat Premium 16+ElementUI
إضافة وحذف وتعديل واستعلام أساسي واستعلام جدول مشترك
التحقق من تسجيل الدخول المعترض
الحساب: كلمة المرور المشرف: 123456
DROP TABLE IF EXISTS ` tbl_reader ` ;
CREATE TABLE ` tbl_reader ` (
` id ` int ( 20 ) NOT NULL AUTO_INCREMENT,
` reader_id ` varchar ( 32 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` reader_name ` varchar ( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
` card_id ` int ( 32 ) NULL DEFAULT NULL ,
` education ` varchar ( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` create_date ` date NULL DEFAULT NULL ,
PRIMARY KEY ( ` id ` ) USING BTREE,
INDEX ` reader_id ` ( ` reader_id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
DROP TABLE IF EXISTS ` tbl_user ` ;
CREATE TABLE ` tbl_user ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT,
` user_id ` varchar ( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` login_name ` varchar ( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` user_name ` varchar ( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` password ` varchar ( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` status ` varchar ( 11 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` create_date ` date NULL DEFAULT NULL ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
DROP TABLE IF EXISTS ` tbl_borrow ` ;
CREATE TABLE ` tbl_borrow ` (
` isbn_log ` varchar ( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
` bookname_log ` varchar ( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` readerid_log ` varchar ( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
` readername_log ` varchar ( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` cardid_log ` varchar ( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` num ` int ( 15 ) NOT NULL DEFAULT 1 ,
` id ` int ( 10 ) NOT NULL AUTO_INCREMENT,
PRIMARY KEY ( ` id ` ) USING BTREE,
INDEX ` isbn_log ` ( ` isbn_log ` ) USING BTREE,
INDEX ` readerid_log ` ( ` readerid_log ` ) USING BTREE,
CONSTRAINT ` isbn_log ` FOREIGN KEY ( ` isbn_log ` ) REFERENCES ` tbl_book ` ( ` isbn ` ) ON DELETE RESTRICT ON UPDATE RESTRICT,
CONSTRAINT ` tbl_borrow_ibfk_1 ` FOREIGN KEY ( ` readerid_log ` ) REFERENCES ` tbl_reader ` ( ` reader_id ` ) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 145 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
DROP TABLE IF EXISTS ` tbl_book ` ;
CREATE TABLE ` tbl_book ` (
` id ` int ( 11 ) NOT NULL AUTO_INCREMENT,
` isbn ` varchar ( 32 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
` book_name ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` author ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` synopsis ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '简介' ,
` publisher ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
` publication_date ` date NULL DEFAULT NULL ,
` last ` int ( 11 ) NULL DEFAULT NULL ,
` notes ` varchar ( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
PRIMARY KEY ( ` id ` ) USING BTREE,
INDEX ` isbn ` ( ` isbn ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 64 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;