代码拉取完成,页面将自动刷新
同步操作将从 Rain/图书管理系统 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
Navicat MySQL Data Transfer
Source Server : 本地数据库
Source Server Version : 50547
Source Host : localhost:3306
Source Database : books
Target Server Type : MYSQL
Target Server Version : 50547
File Encoding : 65001
Date: 2018-03-21 08:51:39
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `admin`
-- ----------------------------
DROP TABLE IF EXISTS `admin`;
CREATE TABLE `admin` (
`aid` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(20) CHARACTER SET gbk COLLATE gbk_bin NOT NULL,
`name` varchar(20) DEFAULT NULL,
`password` varchar(64) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`phone` varchar(20) DEFAULT NULL,
`status` int(2) DEFAULT '1',
`lend_num` int(11) DEFAULT NULL,
`max_num` int(11) DEFAULT NULL,
PRIMARY KEY (`aid`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=gbk;
-- ----------------------------
-- Records of admin
-- ----------------------------
INSERT INTO `admin` VALUES ('1', '123', '12355678', '123', '12348', '1234558', '1', '0', '5');
INSERT INTO `admin` VALUES ('2', '13', '13', '13', '13', '13', '2', '13', '13');
INSERT INTO `admin` VALUES ('4', '456', '456', '456', '456', '456', '1', '30', '5');
INSERT INTO `admin` VALUES ('5', '543', '5', '5', '5', '5', '1', '5', '5');
-- ----------------------------
-- Table structure for `book`
-- ----------------------------
DROP TABLE IF EXISTS `book`;
CREATE TABLE `book` (
`bid` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(205) NOT NULL,
`card` varchar(205) CHARACTER SET utf8 NOT NULL,
`autho` varchar(205) DEFAULT NULL,
`num` int(11) NOT NULL,
`press` varchar(205) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`bid`),
UNIQUE KEY `ISBN` (`card`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=gbk;
-- ----------------------------
-- Records of book
-- ----------------------------
INSERT INTO `book` VALUES ('4', '12', '12', '1', '1', '1', '3234');
INSERT INTO `book` VALUES ('2', '5', '5', '5', '5', '5', '323');
INSERT INTO `book` VALUES ('3', '6', '6', '4', '4', '4', '53');
INSERT INTO `book` VALUES ('5', '9', '9', '9', '9', '9', '3234');
-- ----------------------------
-- Table structure for `booktype`
-- ----------------------------
DROP TABLE IF EXISTS `booktype`;
CREATE TABLE `booktype` (
`tid` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
PRIMARY KEY (`tid`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=gbk;
-- ----------------------------
-- Records of booktype
-- ----------------------------
INSERT INTO `booktype` VALUES ('1', '3234');
INSERT INTO `booktype` VALUES ('2', '53');
INSERT INTO `booktype` VALUES ('4', '6');
-- ----------------------------
-- Table structure for `history`
-- ----------------------------
DROP TABLE IF EXISTS `history`;
CREATE TABLE `history` (
`hid` int(11) NOT NULL AUTO_INCREMENT,
`aid` int(11) DEFAULT NULL,
`bid` int(11) DEFAULT NULL,
`card` char(255) DEFAULT NULL,
`bookname` char(255) DEFAULT NULL,
`adminname` char(255) DEFAULT NULL,
`username` char(255) DEFAULT NULL,
`begintime` char(255) DEFAULT NULL,
`endtime` char(255) DEFAULT NULL,
`status` int(11) DEFAULT NULL,
PRIMARY KEY (`hid`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of history
-- ----------------------------
INSERT INTO `history` VALUES ('1', '1', '2', '5', '5', '123', '123', '2018-2-10', '2018-3-10', '0');
INSERT INTO `history` VALUES ('2', '1', '3', '6', '6', '123', '123', '2018-2-10', '2018-2-10', '0');
INSERT INTO `history` VALUES ('3', '1', '2', '5', '5', '123', '1235567', '2018-2-11', '2018-2-11', '0');
INSERT INTO `history` VALUES ('4', '4', '3', '6', '6', '456', '456', '2018-2-11', '2018-2-12', '0');
INSERT INTO `history` VALUES ('5', '1', '4', '1', '1', '123', '1235567', '2018-2-12', '2018-2-12', '0');
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。