代码拉取完成,页面将自动刷新
同步操作将从 闲.大赋(李家智)/springbeetlsql 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
-- MySQL dump 10.13 Distrib 5.6.24, for osx10.8 (x86_64)
--
-- Host: 127.0.0.1 Database: park
-- ------------------------------------------------------
-- Server version 5.6.26
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `car_place`
--
DROP TABLE IF EXISTS `car_place`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `car_place` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`plate` varchar(16) DEFAULT NULL,
`park_id` int(11) DEFAULT NULL,
`status` smallint(6) DEFAULT NULL,
`start_time` datetime DEFAULT NULL,
`end_time` datetime DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`place_id` int(11) DEFAULT NULL,
`payment_id` int(11) DEFAULT NULL,
`mobile` varchar(32) DEFAULT NULL,
`palce_rent_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`owner_id` int(11) DEFAULT NULL,
`order_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `car_place`
--
LOCK TABLES `car_place` WRITE;
/*!40000 ALTER TABLE `car_place` DISABLE KEYS */;
INSERT INTO `car_place` VALUES (5,'京NU780',3,3,'2016-03-04 02:32:22',NULL,'2016-03-04 02:32:08',8,3,'13511020423',2,14,10,NULL);
/*!40000 ALTER TABLE `car_place` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `gate`
--
DROP TABLE IF EXISTS `gate`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `gate` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) DEFAULT NULL,
`type` smallint(6) DEFAULT '0',
`lon` decimal(10,6) DEFAULT NULL,
`lat` decimal(10,6) DEFAULT NULL,
`park_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `gate`
--
LOCK TABLES `gate` WRITE;
/*!40000 ALTER TABLE `gate` DISABLE KEYS */;
/*!40000 ALTER TABLE `gate` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `gate_agent`
--
DROP TABLE IF EXISTS `gate_agent`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `gate_agent` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`gate_id` int(11) DEFAULT NULL,
`park_id` int(11) DEFAULT NULL,
`ip` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `gate_agent`
--
LOCK TABLES `gate_agent` WRITE;
/*!40000 ALTER TABLE `gate_agent` DISABLE KEYS */;
/*!40000 ALTER TABLE `gate_agent` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `park`
--
DROP TABLE IF EXISTS `park`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `park` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`address` varchar(255) DEFAULT NULL,
`lon` decimal(10,6) DEFAULT NULL,
`amount` int(11) DEFAULT NULL,
`lat` decimal(10,6) DEFAULT NULL,
`price` int(11) DEFAULT NULL,
`free_amount` int(11) DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`park_total` int(11) DEFAULT NULL,
`park_rate` smallint(6) DEFAULT NULL,
`owner_rate` smallint(6) DEFAULT NULL,
`platform_rate` smallint(6) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `park`
--
LOCK TABLES `park` WRITE;
/*!40000 ALTER TABLE `park` DISABLE KEYS */;
INSERT INTO `park` VALUES (3,'西直门车场','西直门南',NULL,5,NULL,8,1,'2016-03-04 01:39:29',10,30,50,20);
/*!40000 ALTER TABLE `park` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `park_owner`
--
DROP TABLE IF EXISTS `park_owner`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `park_owner` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(32) DEFAULT NULL,
`password` varchar(32) DEFAULT NULL,
`email` varchar(32) DEFAULT NULL,
`phone` varchar(32) DEFAULT NULL,
`park_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `park_owner`
--
LOCK TABLES `park_owner` WRITE;
/*!40000 ALTER TABLE `park_owner` DISABLE KEYS */;
/*!40000 ALTER TABLE `park_owner` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `payment`
--
DROP TABLE IF EXISTS `payment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `payment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`plate` varchar(255) DEFAULT NULL,
`mobile` varchar(255) DEFAULT NULL,
`amount` double DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
`car_place_id` int(11) DEFAULT NULL,
`park_id` int(11) DEFAULT NULL,
`balance_amount` int(11) DEFAULT '0',
`coupon_amount` int(11) DEFAULT NULL,
`place_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`owner_id` int(11) DEFAULT NULL,
`owner_money` double DEFAULT NULL,
`park_money` double DEFAULT NULL,
`platform_money` double DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `payment`
--
LOCK TABLES `payment` WRITE;
/*!40000 ALTER TABLE `payment` DISABLE KEYS */;
INSERT INTO `payment` VALUES (2,'京NU780','13511020423',46560,'2016-03-04 02:28:16',4,3,NULL,NULL,8,14,10,93120,155200,232800);
/*!40000 ALTER TABLE `payment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `place`
--
DROP TABLE IF EXISTS `place`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `place` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`park_id` int(11) DEFAULT NULL,
`lon` decimal(10,6) DEFAULT NULL,
`lat` decimal(10,6) DEFAULT NULL,
`notes` varchar(1024) DEFAULT NULL,
`image_path` varchar(512) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `place`
--
LOCK TABLES `place` WRITE;
/*!40000 ALTER TABLE `place` DISABLE KEYS */;
INSERT INTO `place` VALUES (8,'我的车位',3,NULL,NULL,'在二楼',NULL,10);
/*!40000 ALTER TABLE `place` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `place_rent`
--
DROP TABLE IF EXISTS `place_rent`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `place_rent` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`owner_id` int(11) DEFAULT NULL,
`park_id` int(11) DEFAULT NULL,
`place_id` int(11) DEFAULT NULL,
`rent_type` smallint(6) DEFAULT NULL,
`status` smallint(6) DEFAULT '0',
`day` char(8) DEFAULT NULL,
`start` int(11) DEFAULT NULL,
`end` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `place_rent`
--
LOCK TABLES `place_rent` WRITE;
/*!40000 ALTER TABLE `place_rent` DISABLE KEYS */;
INSERT INTO `place_rent` VALUES (2,10,3,8,1,1,'20160304',NULL,NULL);
/*!40000 ALTER TABLE `place_rent` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `place_rent_rule`
--
DROP TABLE IF EXISTS `place_rent_rule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `place_rent_rule` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`place_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`type` smallint(6) DEFAULT '0',
`start` smallint(6) DEFAULT NULL,
`end` smallint(6) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `place_rent_rule`
--
LOCK TABLES `place_rent_rule` WRITE;
/*!40000 ALTER TABLE `place_rent_rule` DISABLE KEYS */;
/*!40000 ALTER TABLE `place_rent_rule` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sys_user`
--
DROP TABLE IF EXISTS `sys_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sys_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nick_name` varchar(32) DEFAULT NULL,
`name` varchar(32) DEFAULT NULL,
`mobile` varchar(32) DEFAULT NULL,
`password` varchar(32) DEFAULT NULL,
`has_place` smallint(6) DEFAULT '0',
`car_image` varchar(256) DEFAULT NULL,
`cert_image` varchar(256) DEFAULT NULL,
`plate` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sys_user`
--
LOCK TABLES `sys_user` WRITE;
/*!40000 ALTER TABLE `sys_user` DISABLE KEYS */;
INSERT INTO `sys_user` VALUES (10,'李家智','李家智','18001167157','123456',1,NULL,NULL,'NJK1234'),(14,'苗','苗','13511020423','123456',0,NULL,NULL,'京NU780');
/*!40000 ALTER TABLE `sys_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user_balance`
--
DROP TABLE IF EXISTS `user_balance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user_balance` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`balance` double DEFAULT NULL,
`owe` double DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_balance`
--
LOCK TABLES `user_balance` WRITE;
/*!40000 ALTER TABLE `user_balance` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_balance` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-04 3:17:47
-- 增加支付时间
ALTER TABLE `car_place`
ADD COLUMN `pay_time` datetime NULL AFTER `order_time`;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。