1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- /*
- Source Server Version : 50173
- Target Server Type : MYSQL
- Target Server Version : 50173
- File Encoding : 65001
- Date: 2016-06-01 13:32:32
- */
- SET FOREIGN_KEY_CHECKS=0;
- -- ----------------------------
- -- Table structure for activity_free_shipping
- -- ----------------------------
- DROP TABLE IF EXISTS `activity_free_shipping`;
- CREATE TABLE `activity_free_shipping` (
- `id` bigint(11) NOT NULL AUTO_INCREMENT,
- `type_id` bigint(11) DEFAULT NULL COMMENT '包邮券类型',
- `user_id` bigint(11) DEFAULT NULL COMMENT '用户',
- `club_id` bigint(11) DEFAULT NULL COMMENT '会所',
- `status` varchar(1) DEFAULT '0' COMMENT '使用状态 0未使用 1已使用',
- `enabled_status` varchar(1) DEFAULT '1' COMMENT '启用/禁用状态',
- `create_date` datetime DEFAULT NULL COMMENT '创建时间/领取时间',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='包邮券基础表';
- -- ----------------------------
- -- Records of activity_free_shipping
- -- ----------------------------
- -- ----------------------------
- -- Table structure for activity_free_shipping_type
- -- ----------------------------
- DROP TABLE IF EXISTS `activity_free_shipping_type`;
- CREATE TABLE `activity_free_shipping_type` (
- `id` bigint(11) NOT NULL AUTO_INCREMENT,
- `scope` varchar(100) DEFAULT NULL,
- `number` int(11) DEFAULT NULL COMMENT '可使用数量',
- `start_time` datetime DEFAULT NULL COMMENT '有效期开始时间',
- `end_time` datetime DEFAULT NULL COMMENT '有效期截止时间',
- `info` text COMMENT '使用须知',
- `images` text COMMENT '网站端图片',
- `crm_images` text COMMENT 'CRM端图片',
- `status` varchar(1) DEFAULT '1' COMMENT '可领取状态 0否 1是',
- `enabled_status` varchar(1) DEFAULT '1' COMMENT '可使用状态 0否 1是',
- `update_by` bigint(11) DEFAULT NULL COMMENT '最后更新人',
- `update_date` datetime DEFAULT NULL COMMENT '最后更新时间',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='包邮券类型表';
- -- ----------------------------
- -- Records of activity_free_shipping_type
- -- ----------------------------
- INSERT INTO `activity_free_shipping_type` VALUES ('1', '全品类', '0', '2016-05-29 00:00:00', '2016-05-30 23:59:59', '<p>\r\n <i class="shuoming">1、在提交订单时勾选<span style="color:#ff0000;">【使用包邮券】</span>,支付订单时使用; </i></p>\r\n<p>\r\n <i class="shuoming">2、本券仅限于&ldquo;采美365官方网站&rdquo;或&ldquo;采美365&rdquo;公众号内采购使用;</i></p>\r\n<p>\r\n <i class="shuoming">3、本券仅限会所身份用户领取及使用;</i></p>\r\n<p>\r\n <i class="shuoming">4、每个会所身份最多只能拥有一张优惠券,使用并支付后,系统赠送一张包邮券;</i></p>\r\n<p>\r\n <i class="shuoming">5、包邮区域仅限广东省内XX快递可配送范围;</i></p>\r\n<p>\r\n <i class="shuoming">6、深圳采美科技有限公司拥有最终解释权。</i></p>', '', '', '1', '1', '1', '2016-06-01 11:44:00');
- INSERT INTO `activity_free_shipping_type` VALUES ('2', '自营类', '2', '2016-06-02 09:47:54', '2016-06-09 09:47:59', null, null, null, '0', '0', '1', '2016-06-01 09:48:12');
|