jpa_demo.sql 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. /*
  2. Navicat MySQL Data Transfer
  3. Source Server : localhostDB
  4. Source Server Version : 50527
  5. Source Host : 127.0.0.1:3306
  6. Source Database : jpa_demo
  7. Target Server Type : MYSQL
  8. Target Server Version : 50527
  9. File Encoding : 65001
  10. Date: 2016-01-27 23:53:30
  11. */
  12. SET FOREIGN_KEY_CHECKS=0;
  13. -- ----------------------------
  14. -- Table structure for image
  15. -- ----------------------------
  16. DROP TABLE IF EXISTS `image`;
  17. CREATE TABLE `image` (
  18. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '图片编号',
  19. `path` varchar(500) NOT NULL DEFAULT '' COMMENT '图片路径',
  20. `thumbs` varchar(500) DEFAULT NULL COMMENT '图片尺寸数据',
  21. `attribute` varchar(50) DEFAULT NULL,
  22. `create_date` datetime NOT NULL COMMENT '创建时间',
  23. PRIMARY KEY (`id`)
  24. ) ENGINE=InnoDB AUTO_INCREMENT=1569 DEFAULT CHARSET=utf8 COMMENT='图片表';
  25. -- ----------------------------
  26. -- Records of image
  27. -- ----------------------------
  28. INSERT INTO `image` VALUES ('1429', 'images/2015/8/1439539842204.jpg', '{\"480x800\":\"images/2015/8/1439539842204_480x800.jpg\"}', '{\"width\":720,\"height\":1280}', '2015-08-14 16:10:43');
  29. INSERT INTO `image` VALUES ('1430', 'images/2015/8/1439540354318.jpg', '{\"480x800\":\"images/2015/8/1439540354318_480x800.jpg\"}', '{\"width\":720,\"height\":1280}', '2015-08-14 16:19:15');
  30. INSERT INTO `image` VALUES ('1431', 'images/2015/8/1439540892175.jpg', '{\"480x800\":\"images/2015/8/1439540892175_480x800.jpg\"}', '{\"width\":720,\"height\":1280}', '2015-08-14 16:28:13');
  31. INSERT INTO `image` VALUES ('1432', 'images/2015/8/1439541595477.jpg', '{\"480x800\":\"images/2015/8/1439541595477_480x800.jpg\"}', '{\"width\":720,\"height\":1280}', '2015-08-14 16:39:56');
  32. INSERT INTO `image` VALUES ('1433', 'images/2015/8/1439541917875.jpg', '{\"480x800\":\"images/2015/8/1439541917875_480x800.jpg\"}', '{\"width\":720,\"height\":1280}', '2015-08-14 16:45:18');
  33. INSERT INTO `image` VALUES ('1434', 'images/2015/8/1439542460075.jpg', '{\"480x800\":\"images/2015/8/1439542460075_480x800.jpg\"}', '{\"width\":720,\"height\":1280}', '2015-08-14 16:54:20');
  34. INSERT INTO `image` VALUES ('1435', 'images/2015/8/1439543512619.jpg', '{\"480x800\":\"images/2015/8/1439543512619_480x800.jpg\"}', '{\"width\":720,\"height\":1280}', '2015-08-14 17:11:53');
  35. INSERT INTO `image` VALUES ('1436', 'images/2015/8/1439892293554_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-18 18:04:55');
  36. INSERT INTO `image` VALUES ('1437', 'images/2015/8/1439892294903_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-18 18:04:55');
  37. INSERT INTO `image` VALUES ('1438', 'images/2015/8/1440055637049_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 15:27:19');
  38. INSERT INTO `image` VALUES ('1439', 'images/2015/8/1440055638694_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 15:27:19');
  39. INSERT INTO `image` VALUES ('1440', 'images/2015/8/1440063341756_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 17:35:42');
  40. INSERT INTO `image` VALUES ('1441', 'images/2015/8/1440063342931_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 17:35:43');
  41. INSERT INTO `image` VALUES ('1442', 'images/2015/8/1440063473864_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 17:37:54');
  42. INSERT INTO `image` VALUES ('1443', 'images/2015/8/1440063474081_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 17:37:54');
  43. INSERT INTO `image` VALUES ('1444', 'images/2015/8/1440064463111_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 17:54:24');
  44. INSERT INTO `image` VALUES ('1445', 'images/2015/8/1440064464060_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 17:54:24');
  45. INSERT INTO `image` VALUES ('1446', 'images/2015/8/1440064603899_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 17:56:44');
  46. INSERT INTO `image` VALUES ('1447', 'images/2015/8/1440064604111_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-20 17:56:44');
  47. INSERT INTO `image` VALUES ('1448', 'images/2015/8/1440123376689_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 10:16:19');
  48. INSERT INTO `image` VALUES ('1449', 'images/2015/8/1440123723791_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 10:22:04');
  49. INSERT INTO `image` VALUES ('1450', 'images/2015/8/1440125622928_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 10:53:43');
  50. INSERT INTO `image` VALUES ('1451', 'images/2015/8/1440125623220_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 10:53:44');
  51. INSERT INTO `image` VALUES ('1452', 'images/2015/8/1440125790664_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 10:56:31');
  52. INSERT INTO `image` VALUES ('1453', 'images/2015/8/1440125824783_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 10:57:05');
  53. INSERT INTO `image` VALUES ('1454', 'images/2015/8/1440125825118_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 10:57:05');
  54. INSERT INTO `image` VALUES ('1455', 'images/2015/8/1440125998851_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 10:59:59');
  55. INSERT INTO `image` VALUES ('1456', 'images/2015/8/1440126560118_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:09:21');
  56. INSERT INTO `image` VALUES ('1457', 'images/2015/8/1440126560617_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:09:21');
  57. INSERT INTO `image` VALUES ('1458', 'images/2015/8/1440126590016_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:09:50');
  58. INSERT INTO `image` VALUES ('1459', 'images/2015/8/1440127054717_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:17:36');
  59. INSERT INTO `image` VALUES ('1460', 'images/2015/8/1440127145729_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:19:06');
  60. INSERT INTO `image` VALUES ('1461', 'images/2015/8/1440127787160_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:29:49');
  61. INSERT INTO `image` VALUES ('1462', 'images/2015/8/1440127788742_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:29:49');
  62. INSERT INTO `image` VALUES ('1463', 'images/2015/8/1440127831648_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:30:32');
  63. INSERT INTO `image` VALUES ('1464', 'images/2015/8/1440127832107_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:30:32');
  64. INSERT INTO `image` VALUES ('1465', 'images/2015/8/1440128508270_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:41:49');
  65. INSERT INTO `image` VALUES ('1466', 'images/2015/8/1440128508980_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:41:49');
  66. INSERT INTO `image` VALUES ('1467', 'images/2015/8/1440128940700_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:49:01');
  67. INSERT INTO `image` VALUES ('1468', 'images/2015/8/1440128941208_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:49:02');
  68. INSERT INTO `image` VALUES ('1469', 'images/2015/8/1440129065518_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:51:06');
  69. INSERT INTO `image` VALUES ('1470', 'images/2015/8/1440129065852_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:51:06');
  70. INSERT INTO `image` VALUES ('1471', 'images/2015/8/1440129126005_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:52:06');
  71. INSERT INTO `image` VALUES ('1472', 'images/2015/8/1440129131949_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:52:12');
  72. INSERT INTO `image` VALUES ('1473', 'images/2015/8/1440129209894_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:53:30');
  73. INSERT INTO `image` VALUES ('1474', 'images/2015/8/1440129217424_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:53:38');
  74. INSERT INTO `image` VALUES ('1475', 'images/2015/8/1440129587232_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:59:48');
  75. INSERT INTO `image` VALUES ('1476', 'images/2015/8/1440129587626_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 11:59:48');
  76. INSERT INTO `image` VALUES ('1477', 'images/2015/8/1440129629126_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 12:00:29');
  77. INSERT INTO `image` VALUES ('1478', 'images/2015/8/1440129629456_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 12:00:30');
  78. INSERT INTO `image` VALUES ('1479', 'images/2015/8/1440129674734_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 12:01:15');
  79. INSERT INTO `image` VALUES ('1480', 'images/2015/8/1440129675062_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 12:01:15');
  80. INSERT INTO `image` VALUES ('1481', 'images/2015/8/1440129760155_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 12:02:40');
  81. INSERT INTO `image` VALUES ('1482', 'images/2015/8/1440137019048_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:03:40');
  82. INSERT INTO `image` VALUES ('1483', 'images/2015/8/1440137065621_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:04:26');
  83. INSERT INTO `image` VALUES ('1484', 'images/2015/8/1440137142401_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:05:43');
  84. INSERT INTO `image` VALUES ('1485', 'images/2015/8/1440137142623_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:05:43');
  85. INSERT INTO `image` VALUES ('1486', 'images/2015/8/1440137283568_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:08:04');
  86. INSERT INTO `image` VALUES ('1487', 'images/2015/8/1440138018439_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:20:19');
  87. INSERT INTO `image` VALUES ('1488', 'images/2015/8/1440138019399_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:20:20');
  88. INSERT INTO `image` VALUES ('1489', 'images/2015/8/1440138067885_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:21:08');
  89. INSERT INTO `image` VALUES ('1490', 'images/2015/8/1440138068119_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:21:08');
  90. INSERT INTO `image` VALUES ('1491', 'images/2015/8/1440138068307_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:21:09');
  91. INSERT INTO `image` VALUES ('1492', 'images/2015/8/1440138068549_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:21:09');
  92. INSERT INTO `image` VALUES ('1493', 'images/2015/8/1440138390255_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:26:30');
  93. INSERT INTO `image` VALUES ('1494', 'images/2015/8/1440138871877_compact.jpg', null, '{\"width\":1024,\"height\":768}', '2015-08-21 14:34:33');
  94. INSERT INTO `image` VALUES ('1496', 'images/2015/8/1440485482782.jpg', null, '{\"width\":662,\"height\":580}', '2015-08-25 14:51:23');
  95. INSERT INTO `image` VALUES ('1497', 'images/2015/8/1440485483479_compact.jpg', null, '{\"width\":1280,\"height\":960}', '2015-08-25 14:51:25');
  96. INSERT INTO `image` VALUES ('1498', 'images/2015/9/1441178293489.jpg', '{\"480x800\":\"images/2015/9/1441178293489_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-02 15:18:15');
  97. INSERT INTO `image` VALUES ('1499', 'images/2015/9/1441178545034.jpg', '{\"480x800\":\"images/2015/9/1441178545034_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-02 15:22:25');
  98. INSERT INTO `image` VALUES ('1500', 'images/2015/9/1441180928635.jpg', '{\"480x800\":\"images/2015/9/1441180928635_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-02 16:02:09');
  99. INSERT INTO `image` VALUES ('1501', 'images/2015/9/1441180992528.jpg', '{\"480x800\":\"images/2015/9/1441180992528_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-02 16:03:13');
  100. INSERT INTO `image` VALUES ('1502', 'images/2015/9/1441181518449.jpg', '{\"480x800\":\"images/2015/9/1441181518449_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-02 16:11:59');
  101. INSERT INTO `image` VALUES ('1503', 'images/2015/9/1441181564642.jpg', '{\"480x800\":\"images/2015/9/1441181564642_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-02 16:12:45');
  102. INSERT INTO `image` VALUES ('1504', 'images/2015/9/1441181709835.jpg', '{\"480x800\":\"images/2015/9/1441181709835_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-02 16:15:10');
  103. INSERT INTO `image` VALUES ('1505', 'images/2015/9/1441181721775.jpg', '{\"480x800\":\"images/2015/9/1441181721775_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-02 16:15:22');
  104. INSERT INTO `image` VALUES ('1506', 'images/2015/9/1441182062698.jpg', '{\"480x800\":\"images/2015/9/1441182062698_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-02 16:21:03');
  105. INSERT INTO `image` VALUES ('1507', 'images/2015/9/1441619133161.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-07 17:45:34');
  106. INSERT INTO `image` VALUES ('1508', 'images/2015/9/1441619133808.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-07 17:45:34');
  107. INSERT INTO `image` VALUES ('1509', 'images/2015/9/1441619133876_compact.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-07 17:45:35');
  108. INSERT INTO `image` VALUES ('1510', 'images/2015/9/1441619135232.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-07 17:45:35');
  109. INSERT INTO `image` VALUES ('1511', 'images/2015/9/1441704373551.jpg', '{\"480x800\":\"images/2015/9/1441704373551_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-08 17:26:15');
  110. INSERT INTO `image` VALUES ('1512', 'images/2015/9/1441704639067.jpg', '{\"480x800\":\"images/2015/9/1441704639067_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-08 17:30:40');
  111. INSERT INTO `image` VALUES ('1513', 'images/2015/9/1441704650710.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-08 17:30:51');
  112. INSERT INTO `image` VALUES ('1514', 'images/2015/9/1441704650793.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-08 17:30:51');
  113. INSERT INTO `image` VALUES ('1515', 'images/2015/9/1441704650909.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-08 17:30:51');
  114. INSERT INTO `image` VALUES ('1516', 'images/2015/9/1441793927994.jpg', '{\"480x800\":\"images/2015/9/1441793927994_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-09 18:18:49');
  115. INSERT INTO `image` VALUES ('1517', 'images/2015/9/1441794295331.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:24:56');
  116. INSERT INTO `image` VALUES ('1518', 'images/2015/9/1441794295586.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:24:56');
  117. INSERT INTO `image` VALUES ('1519', 'images/2015/9/1441794524988.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:28:45');
  118. INSERT INTO `image` VALUES ('1520', 'images/2015/9/1441794525051_compact.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:28:46');
  119. INSERT INTO `image` VALUES ('1521', 'images/2015/9/1441794635597.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:30:36');
  120. INSERT INTO `image` VALUES ('1522', 'images/2015/9/1441794635896.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:30:36');
  121. INSERT INTO `image` VALUES ('1523', 'images/2015/9/1441794666920.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:31:07');
  122. INSERT INTO `image` VALUES ('1524', 'images/2015/9/1441794666990.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:31:07');
  123. INSERT INTO `image` VALUES ('1525', 'images/2015/9/1441794717168.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:31:57');
  124. INSERT INTO `image` VALUES ('1526', 'images/2015/9/1441794717262.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:31:57');
  125. INSERT INTO `image` VALUES ('1527', 'images/2015/9/1441794775875.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:32:56');
  126. INSERT INTO `image` VALUES ('1528', 'images/2015/9/1441794775929.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:32:56');
  127. INSERT INTO `image` VALUES ('1530', 'images/2015/9/1441794808419.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:33:28');
  128. INSERT INTO `image` VALUES ('1531', 'images/2015/9/1441794917152.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:35:17');
  129. INSERT INTO `image` VALUES ('1532', 'images/2015/9/1441794917218.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-09 18:35:17');
  130. INSERT INTO `image` VALUES ('1533', 'images/2015/9/1441794929352.jpg', '{\"480x800\":\"images/2015/9/1441794929352_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-09 18:35:30');
  131. INSERT INTO `image` VALUES ('1534', 'images/2015/9/1441794936533.jpg', '{\"480x800\":\"images/2015/9/1441794936533_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-09 18:35:37');
  132. INSERT INTO `image` VALUES ('1535', 'images/2015/9/1441795053695.jpg', '{\"480x800\":\"images/2015/9/1441795053695_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-09 18:37:34');
  133. INSERT INTO `image` VALUES ('1536', 'images/2015/9/1441795066134.jpg', '{\"480x800\":\"images/2015/9/1441795066134_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-09 18:37:46');
  134. INSERT INTO `image` VALUES ('1537', 'images/2015/9/1441874721770.jpg', '{\"480x800\":\"images/2015/9/1441874721770_480x800.jpg\"}', '{\"width\":146,\"height\":220}', '2015-09-10 16:45:22');
  135. INSERT INTO `image` VALUES ('1538', 'images/2015/9/1441874744043.jpg', null, '{\"width\":146,\"height\":220}', '2015-09-10 16:45:44');
  136. INSERT INTO `image` VALUES ('1539', 'images/2015/9/1441881931909.jpg', '{\"480x800\":\"images/2015/9/1441881931909_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-10 18:45:33');
  137. INSERT INTO `image` VALUES ('1540', 'images/2015/9/1441881966534.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-10 18:46:07');
  138. INSERT INTO `image` VALUES ('1541', 'images/2015/9/1441881966677.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-10 18:46:07');
  139. INSERT INTO `image` VALUES ('1542', 'images/2015/9/1441882106769.jpg', '{\"480x800\":\"images/2015/9/1441882106769_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-10 18:48:27');
  140. INSERT INTO `image` VALUES ('1543', 'images/2015/9/1441882118682.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-10 18:48:39');
  141. INSERT INTO `image` VALUES ('1544', 'images/2015/9/1441882118766.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-10 18:48:39');
  142. INSERT INTO `image` VALUES ('1545', 'images/2015/9/1441882207373.jpg', '{\"480x800\":\"images/2015/9/1441882207373_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-10 18:50:08');
  143. INSERT INTO `image` VALUES ('1546', 'images/2015/9/1441882222620.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-10 18:50:23');
  144. INSERT INTO `image` VALUES ('1547', 'images/2015/9/1441882222716.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-10 18:50:23');
  145. INSERT INTO `image` VALUES ('1548', 'images/2015/9/1441882245517.jpg', '{\"480x800\":\"images/2015/9/1441882245517_480x800.jpg\"}', '{\"width\":1440,\"height\":1280}', '2015-09-10 18:50:46');
  146. INSERT INTO `image` VALUES ('1549', 'images/2015/9/1441882258385.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-10 18:50:58');
  147. INSERT INTO `image` VALUES ('1550', 'images/2015/9/1441882258481.jpg', null, '{\"width\":1440,\"height\":1280}', '2015-09-10 18:50:59');
  148. INSERT INTO `image` VALUES ('1551', 'images/2015/9/1441882891687.jpg', '{\"480x800\":\"images/2015/9/1441882891687_480x800.jpg\"}', '{\"width\":303,\"height\":359}', '2015-09-10 19:01:32');
  149. INSERT INTO `image` VALUES ('1552', 'images/2015/9/1441882937302.jpg', '{\"480x800\":\"images/2015/9/1441882937302_480x800.jpg\"}', '{\"width\":303,\"height\":359}', '2015-09-10 19:02:17');
  150. INSERT INTO `image` VALUES ('1553', 'images/2015/9/1443518603848.jpg', '{\"480x800\":\"images/2015/9/1443518603848_480x800.jpg\"}', '{\"width\":750,\"height\":750}', '2015-09-29 17:23:25');
  151. INSERT INTO `image` VALUES ('1554', 'images/2015/10/1444890919860.jpg', '{\"480x800\":\"images/2015/10/1444890919860_480x800.jpg\"}', '{\"width\":750,\"height\":750}', '2015-10-15 14:35:21');
  152. INSERT INTO `image` VALUES ('1555', 'images/2015/10/1444890969009.jpg', null, '{\"width\":750,\"height\":750}', '2015-10-15 14:36:09');
  153. INSERT INTO `image` VALUES ('1556', 'images/2015/10/1444890969035.jpg', null, '{\"width\":750,\"height\":750}', '2015-10-15 14:36:09');
  154. INSERT INTO `image` VALUES ('1557', 'images/2015/10/1444890969066.jpg', null, '{\"width\":800,\"height\":800}', '2015-10-15 14:36:09');
  155. INSERT INTO `image` VALUES ('1558', 'images/2015/10/1444892662823.jpg', null, '{\"width\":750,\"height\":750}', '2015-10-15 15:04:23');
  156. INSERT INTO `image` VALUES ('1559', 'images/2015/10/1444892663114.jpg', null, '{\"width\":750,\"height\":750}', '2015-10-15 15:04:23');
  157. INSERT INTO `image` VALUES ('1560', 'images/2015/10/1444892663220.jpg', null, '{\"width\":800,\"height\":800}', '2015-10-15 15:04:23');
  158. INSERT INTO `image` VALUES ('1561', 'images/2015/10/1444892667664.jpg', '{\"480x800\":\"images/2015/10/1444892667664_480x800.jpg\"}', '{\"width\":750,\"height\":750}', '2015-10-15 15:04:28');
  159. INSERT INTO `image` VALUES ('1562', 'images/2015/10/1444892905223.jpg', '{\"480x800\":\"images/2015/10/1444892905223_480x800.jpg\"}', '{\"width\":750,\"height\":750}', '2015-10-15 15:08:25');
  160. INSERT INTO `image` VALUES ('1563', 'images/2015/10/1444892931497.jpg', null, '{\"width\":350,\"height\":263}', '2015-10-15 15:08:52');
  161. INSERT INTO `image` VALUES ('1564', 'images/2015/10/1444892931517.jpg', null, '{\"width\":266,\"height\":220}', '2015-10-15 15:08:52');
  162. INSERT INTO `image` VALUES ('1565', 'images/2015/10/1444892931555.jpg', null, '{\"width\":750,\"height\":750}', '2015-10-15 15:08:52');
  163. INSERT INTO `image` VALUES ('1566', 'images/2015/10/1445224183382.jpg', null, '{\"width\":610,\"height\":699}', '2015-10-19 11:09:44');
  164. INSERT INTO `image` VALUES ('1567', 'images/2015/10/1445224184482.jpg', null, '{\"width\":610,\"height\":638}', '2015-10-19 11:09:45');
  165. INSERT INTO `image` VALUES ('1568', 'images/2015/10/1445224184592.jpg', null, '{\"width\":610,\"height\":594}', '2015-10-19 11:09:45');
  166. -- ----------------------------
  167. -- Table structure for member
  168. -- ----------------------------
  169. DROP TABLE IF EXISTS `member`;
  170. CREATE TABLE `member` (
  171. `id` int(11) NOT NULL AUTO_INCREMENT,
  172. `username` varchar(255) NOT NULL COMMENT '用户名',
  173. `password` varchar(255) DEFAULT NULL COMMENT '密码',
  174. `type` varchar(255) NOT NULL COMMENT '类型(globle总后台,business商家后台)',
  175. `create_date` datetime NOT NULL COMMENT '创建时间',
  176. `update_date` datetime DEFAULT NULL,
  177. PRIMARY KEY (`id`),
  178. KEY `username` (`username`)
  179. ) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8;
  180. -- ----------------------------
  181. -- Records of member
  182. -- ----------------------------
  183. INSERT INTO `member` VALUES ('1', 'admin', 'E10ADC3949BA59ABBE56E057F20F883E', 'GLOBLE', '2015-08-11 10:11:43', '2015-08-11 10:11:45');
  184. INSERT INTO `member` VALUES ('4', 'wangbin', 'C33367701511B4F6020EC61DED352059', 'BUSINESS', '2015-08-12 10:14:13', '2015-08-12 10:14:13');
  185. INSERT INTO `member` VALUES ('5', 'wangbin1', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-09-10 18:40:50', '2015-09-10 18:40:50');
  186. INSERT INTO `member` VALUES ('6', 'wangbin2', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-09-10 18:43:38', '2015-09-10 18:43:38');
  187. INSERT INTO `member` VALUES ('7', 'wangbin3', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-09-10 18:43:46', '2015-09-10 18:43:46');
  188. INSERT INTO `member` VALUES ('8', 'wangbin4', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-09-10 18:43:55', '2015-09-10 18:43:55');
  189. INSERT INTO `member` VALUES ('9', 'wangbin7', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-09-13 17:26:42', '2015-09-13 17:26:42');
  190. INSERT INTO `member` VALUES ('13', 'wangb', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-10-14 14:23:11', '2015-10-14 14:23:11');
  191. INSERT INTO `member` VALUES ('16', 'wangb', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-10-15 10:04:43', '2015-10-15 10:04:43');
  192. INSERT INTO `member` VALUES ('17', 'wangb1', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-10-15 10:04:43', '2015-10-15 10:04:43');
  193. INSERT INTO `member` VALUES ('18', 'wangb2', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-10-15 10:04:43', '2015-10-15 10:04:43');
  194. INSERT INTO `member` VALUES ('19', 'wangb', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-10-15 14:14:40', '2015-10-15 14:14:40');
  195. INSERT INTO `member` VALUES ('20', 'wangb1', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-10-15 14:14:41', '2015-10-15 14:14:41');
  196. INSERT INTO `member` VALUES ('21', 'wangb2', 'E10ADC3949BA59ABBE56E057F20F883E', 'BUSINESS', '2015-10-15 14:14:41', '2015-10-15 14:14:41');
  197. -- ----------------------------
  198. -- Table structure for product
  199. -- ----------------------------
  200. DROP TABLE IF EXISTS `product`;
  201. CREATE TABLE `product` (
  202. `id` int(11) NOT NULL AUTO_INCREMENT,
  203. `code` varchar(255) DEFAULT NULL COMMENT '商品编码',
  204. `name` varchar(255) DEFAULT NULL COMMENT '商品名称',
  205. `image_id` int(11) DEFAULT NULL,
  206. `market_price` decimal(10,2) DEFAULT NULL COMMENT '商品价格',
  207. `price` decimal(10,2) DEFAULT NULL,
  208. `content` varchar(5000) DEFAULT NULL COMMENT '商品描述',
  209. `brand` varchar(255) DEFAULT NULL COMMENT '品牌',
  210. `is_added` bit(1) DEFAULT b'0',
  211. `product_area_id` int(11) DEFAULT NULL,
  212. `product_type_id` int(11) DEFAULT NULL,
  213. `sales_count` int(11) DEFAULT '0',
  214. `collect_count` int(11) DEFAULT '0',
  215. `sort` int(11) DEFAULT '0' COMMENT '排序',
  216. `create_date` datetime DEFAULT NULL,
  217. `update_date` datetime DEFAULT NULL,
  218. PRIMARY KEY (`id`),
  219. UNIQUE KEY `code` (`code`),
  220. KEY `product_area_id` (`product_area_id`),
  221. KEY `product_type_id` (`product_type_id`),
  222. KEY `image_id` (`image_id`),
  223. CONSTRAINT `product_ibfk_1` FOREIGN KEY (`product_area_id`) REFERENCES `product_area` (`id`),
  224. CONSTRAINT `product_ibfk_2` FOREIGN KEY (`product_type_id`) REFERENCES `product_type` (`id`),
  225. CONSTRAINT `product_ibfk_3` FOREIGN KEY (`image_id`) REFERENCES `image` (`id`)
  226. ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;
  227. -- ----------------------------
  228. -- Records of product
  229. -- ----------------------------
  230. INSERT INTO `product` VALUES ('3', '2', '拉拉干红', '1553', '600.00', '100.00', '&ltp&gt啦啦啦简介啦啦啦简介啦啦啦简介啦啦啦简介啦啦啦简介&ltimg src=\"/files/upload/image/ueditor/20151014/1444819706841096505.jpg\" title=\"1444819706841096505.jpg\" alt=\"2522840_19_b.jpg\"/&gt&ltimg src=\"/files/upload/image/ueditor/20151014/1444819709957005643.jpg\" title=\"1444819709957005643.jpg\" alt=\"55cb1513N80969b2b.jpg!q80.jpg\"/&gt&lt/p&gt', '拉拉', '', '1', '2', null, null, null, null, '2015-09-07 16:08:35');
  231. INSERT INTO `product` VALUES ('4', '1', '拉萨酒', '1512', '65.00', '120.00', '短短的', '啦啦啦', '', '3', '2', null, null, null, null, '2015-08-21 14:49:56');
  232. INSERT INTO `product` VALUES ('5', 'fff', 'sdasd', '1512', '660.00', '150.00', '<p><img src=\"/winetast/ueditor/jsp/upload/image/20150825/1440486664657044091.jpg\" title=\"1440486664657044091.jpg\" alt=\"1423041680935.jpg\"/></p><p><br/></p><p>我我我</p>', 'asdasd', '', '1', '2', null, null, null, '2015-08-25 14:51:25', '2015-09-07 17:05:40');
  233. INSERT INTO `product` VALUES ('6', 's66541', '拉拉干红', '1512', '60.00', '230.00', '&ltp&gt&ltbr/&gt&lt/p&gt&ltp&gt&ltimg src=\"/winetast/ueditor/jsp/upload/image/20151014/1444815067344025784.jpg\" title=\"1444815067344025784.jpg\" alt=\"548675ffNaef78887.jpg!q80.jpg\"/&gt&lt/p&gt', '拉菲', '', '1', '2', '0', '0', null, '2015-09-07 17:45:36', '2015-09-07 17:45:47');
  234. INSERT INTO `product` VALUES ('7', 's665412', '拉拉干红', '1512', '60.00', '250.00', '&ltp&gt点点滴滴&ltbr/&gt&lt/p&gt', '拉菲', '', '1', '2', '0', '0', null, '2015-09-07 17:45:36', '2015-09-07 17:45:47');
  235. INSERT INTO `product` VALUES ('8', 's665413', '拉拉干红', '1512', '60.00', '300.00', '&ltp&gt点点滴滴&ltbr/&gt&lt/p&gt', '拉菲', '', '1', '3', '0', '0', null, '2015-09-07 17:45:36', '2015-09-07 17:45:47');
  236. INSERT INTO `product` VALUES ('9', 's665414', '拉拉干红', '1512', '60.00', '400.00', '&ltp&gt点点滴滴&ltbr/&gt&lt/p&gt', '拉菲', '', '1', '2', '0', '0', null, '2015-09-07 17:45:36', '2015-09-07 17:45:47');
  237. INSERT INTO `product` VALUES ('10', 's665415', '拉拉干红', '1512', '60.00', '450.00', '&ltp&gt点点滴滴&ltbr/&gt&lt/p&gt', '拉菲', '', '1', '2', '0', '0', null, '2015-09-07 17:45:36', '2015-09-07 17:45:47');
  238. INSERT INTO `product` VALUES ('11', 's665416', '拉拉干红', '1512', '60.00', '101.00', '&ltp&gt点点滴滴&ltbr/&gt&lt/p&gt', '拉菲', '', '1', '2', '0', '0', null, '2015-09-07 17:45:36', '2015-09-07 17:45:47');
  239. INSERT INTO `product` VALUES ('12', 's665417', '拉拉干红', '1511', '60.00', '500.00', '&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224156789088193.jpg\" style=\"\" title=\"1445224156789088193.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224156805055637.jpg\" style=\"\" title=\"1445224156805055637.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224156835067970.jpg\" style=\"\" title=\"1445224156835067970.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224156860040988.jpg\" style=\"\" title=\"1445224156860040988.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224156878092547.jpg\" style=\"\" title=\"1445224156878092547.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224157013014528.jpg\" style=\"\" title=\"1445224157013014528.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224157046074903.jpg\" style=\"\" title=\"1445224157046074903.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224157062028350.jpg\" style=\"\" title=\"1445224157062028350.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224157079018025.jpg\" style=\"\" title=\"1445224157079018025.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224157139042714.jpg\" style=\"\" title=\"1445224157139042714.jpg\"/&gt&lt/p&gt&ltp&gt&ltimg src=\"/files/upload/image/ueditor/20151019/1445224157147002906.jpg\" style=\"\" title=\"1445224157147002906.jpg\"/&gt&lt/p&gt&ltp&gt&ltbr/&gt&lt/p&gt', '拉菲', '', '1', '2', '0', '0', null, '2015-09-07 17:45:36', '2015-09-07 17:45:47');
  240. INSERT INTO `product` VALUES ('13', 's665418', '拉拉干红', '1513', '60.00', '700.00', '&ltp&gt点点滴滴&ltbr/&gt&lt/p&gt', '拉菲', '\0', '1', '2', '0', '0', null, '2015-09-07 17:45:36', '2015-09-07 17:45:47');
  241. -- ----------------------------
  242. -- Table structure for product_area
  243. -- ----------------------------
  244. DROP TABLE IF EXISTS `product_area`;
  245. CREATE TABLE `product_area` (
  246. `id` int(11) NOT NULL AUTO_INCREMENT,
  247. `name` varchar(255) DEFAULT NULL,
  248. `create_date` datetime NOT NULL,
  249. `update_date` datetime DEFAULT NULL,
  250. PRIMARY KEY (`id`)
  251. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='产品产地';
  252. -- ----------------------------
  253. -- Records of product_area
  254. -- ----------------------------
  255. INSERT INTO `product_area` VALUES ('1', '德国', '2015-08-20 11:58:12', '2015-08-20 15:20:43');
  256. INSERT INTO `product_area` VALUES ('3', '法国', '2015-08-20 14:10:59', '2015-08-20 15:20:29');
  257. -- ----------------------------
  258. -- Table structure for product_images
  259. -- ----------------------------
  260. DROP TABLE IF EXISTS `product_images`;
  261. CREATE TABLE `product_images` (
  262. `id` int(11) NOT NULL AUTO_INCREMENT,
  263. `product_id` int(11) DEFAULT NULL,
  264. `image_id` int(11) DEFAULT NULL,
  265. PRIMARY KEY (`id`),
  266. KEY `product_id` (`product_id`),
  267. KEY `image_id` (`image_id`),
  268. CONSTRAINT `product_images_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `product` (`id`),
  269. CONSTRAINT `product_images_ibfk_2` FOREIGN KEY (`image_id`) REFERENCES `image` (`id`)
  270. ) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8;
  271. -- ----------------------------
  272. -- Records of product_images
  273. -- ----------------------------
  274. INSERT INTO `product_images` VALUES ('48', '4', '1489');
  275. INSERT INTO `product_images` VALUES ('49', '4', '1490');
  276. INSERT INTO `product_images` VALUES ('50', '4', '1491');
  277. INSERT INTO `product_images` VALUES ('51', '4', '1492');
  278. INSERT INTO `product_images` VALUES ('53', '3', '1494');
  279. INSERT INTO `product_images` VALUES ('55', '5', '1496');
  280. INSERT INTO `product_images` VALUES ('56', '5', '1497');
  281. INSERT INTO `product_images` VALUES ('57', '6', '1507');
  282. INSERT INTO `product_images` VALUES ('58', '6', '1508');
  283. INSERT INTO `product_images` VALUES ('59', '6', '1509');
  284. INSERT INTO `product_images` VALUES ('60', '6', '1510');
  285. INSERT INTO `product_images` VALUES ('67', '13', '1563');
  286. INSERT INTO `product_images` VALUES ('68', '13', '1564');
  287. INSERT INTO `product_images` VALUES ('69', '13', '1565');
  288. INSERT INTO `product_images` VALUES ('70', '12', '1566');
  289. INSERT INTO `product_images` VALUES ('71', '12', '1567');
  290. INSERT INTO `product_images` VALUES ('72', '12', '1568');
  291. -- ----------------------------
  292. -- Table structure for product_type
  293. -- ----------------------------
  294. DROP TABLE IF EXISTS `product_type`;
  295. CREATE TABLE `product_type` (
  296. `id` int(11) NOT NULL AUTO_INCREMENT,
  297. `name` varchar(255) DEFAULT NULL COMMENT '商品类别',
  298. `create_date` datetime DEFAULT NULL,
  299. `update_date` datetime DEFAULT NULL,
  300. PRIMARY KEY (`id`)
  301. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='产品类别';
  302. -- ----------------------------
  303. -- Records of product_type
  304. -- ----------------------------
  305. INSERT INTO `product_type` VALUES ('2', '干红', '2015-08-20 14:29:41', '2015-08-20 15:21:04');
  306. INSERT INTO `product_type` VALUES ('3', '葡萄酒', '2015-08-20 14:29:59', '2015-08-20 15:20:58');
  307. INSERT INTO `product_type` VALUES ('4', 'll', '2016-01-27 23:51:30', '2016-01-27 23:51:36');