﻿
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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' */;

-- 导出  表 1hjz_test.sms_template 结构
DROP TABLE IF EXISTS `sms_template`;
CREATE TABLE IF NOT EXISTS `sms_template` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增编号',
  `client_type` tinyint(4) DEFAULT '0' COMMENT '发送用户类型（ClientTypeEnum）',
  `sms_sp` varchar(10) DEFAULT '' COMMENT '短信服务商（EnumSmsServiceProvider）',
  `sms_key` varchar(50) DEFAULT '' COMMENT '代码调用（EnumSmsKeyTmpl）',
  `sms_code` varchar(20) DEFAULT '' COMMENT '短信平台模板编码（EnumSmsKeyTmpl）',
  `sms_tmpl` text COMMENT '短信模板内容',
  `tmpl_params` text COMMENT '短信模板参数',
  `tmpl_status` tinyint(2) DEFAULT '0' COMMENT '模版状态（EnumWechatTmplStatus）',
  `create_at` bigint(20) DEFAULT '0' COMMENT '创建时间',
  `update_at` bigint(20) DEFAULT '0' COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;

-- 正在导出表  1hjz_test.sms_template 的数据：~14 rows (大约)
/*!40000 ALTER TABLE `sms_template` DISABLE KEYS */;
INSERT INTO `sms_template` (`id`, `client_type`, `sms_sp`, `sms_key`, `sms_code`, `sms_tmpl`, `tmpl_params`, `tmpl_status`, `create_at`, `update_at`) VALUES
	(2, 10, 'CHUANGLAN', 'LOGIN', '', '亲爱的用户，您的短信验证码为{$var}，5分钟内有效，若非本人操作请忽略。', '{"phone":"15625175558","params":{"code":"888888"}}', 1, 1514448591112, 1514448591112),
	(3, 10, 'CHUANGLAN', 'REGISTER', '', '验证码${code}，您正在注册成为新用户，感谢您的支持！', NULL, 1, 1514448648360, 1514448648360),
	(6, 10, 'CHUANGLAN', 'ORDER_REFUND_FINISH', '', '您的订单{$var}已退款，对该订单未服务的预约已全部取消，感谢您的配合。高端家庭保洁，首选一号家政！', '{"phone":"18670775866","params":{"orderNo":"201801050800123456"}}', 1, 1515164065647, 1515164065647),
	(7, 10, 'CHUANGLAN', 'SERVICE_ORDER_SINGLE', '', '主人，您预约了{$var}的{$var}服务，地址为：{$var}。如果当天临时有事，还请您在{$var}，前往微信“一号家政服务号”进入“我的预约”点击取消即可；如未在约定时间内取消，我们将取消您本次的预约并扣减服务卡次数，还请谅解。如有疑问请致电客服{$var}，感谢您对我们的支持！高端家庭保洁，首选一号家政！', '{"phone":"18670775866","params":{"datetime":"01月14日08时-12时","service":"日常保洁","address":"东圃大马路8号时代TIT广场A423","expiryTime":"01月13日18点前","hotline":"4006080100"}}', 1, 1515164280964, 1515164280964),
	(8, 10, 'CHUANGLAN', 'SERVICE_ORDER_BATCH', '', '尊敬的{$var}用户，您已预定好了保洁服务计划，我们将按时在{$var}上门保洁。如有疑问请致电客服{$var}，感谢您对我们的支持！高端家庭保洁，首选一号家政！', '{"phone":"18670775866","params":{"card":"年卡/月卡","cycle":"每周一的8:00-12:00","hotline":"4006080100"}}', 1, 1515164450498, 1515164450498),
	(9, 10, 'CHUANGLAN', 'SERVICE_ORDER_DOOR', '', '主人，您预约了{$var}的{$var}服务，地址为：{$var}；如您临时有事，务必于今天{$var}点前进入公众号点击预约保洁→预约详情→取消预约。如未在约定时间内取消，我们将取消您本次的预约并扣除服务次数！', '{"phone":"17612706411","params":{"datetime":"明天01月14日08点-12点","service":"日常保洁","address":"东圃大马路8号时代TIT广场A423","hour":"18"}}', 1, 1515164642725, 1515164642725),
	(10, 10, 'CHUANGLAN', 'SERVICE_ORDER_CANCEL', '', '主人，您取消了{$var}的{$var}服务，感谢您对我们的支持！高端家庭保洁，首选一号家政！', '{"phone":"18670775866","params":{"datetime":"XX月XX日上午/下午4小时","service":"日常保洁"}}', 1, 1515164948281, 1515164948281),
	(11, 10, 'CHUANGLAN', 'SERVICE_CARD_FINISH', '', '主人，您的服务卡（{$var}）已服务完成，感谢您对我们的支持！高端家庭保洁，首选一号家政！', '{"phone":"18670775866","params":{"title":"3A舒适家年卡"}}', 1, 1515165060904, 1515165060904),
	(12, 10, 'CHUANGLAN', 'SERVICE_CARD_EXPIRE', '', '主人，您的服务卡（{$var}）即将在{$var}过期，请尽快使用，感谢您的配合。高端家庭保洁，首选一号家政！', '{"phone":"18670775866","params":{"title":"3A舒适家年卡","date":"2018-01-01"}}', 1, 1515165207902, 1515165207902),
	(13, 20, 'CHUANGLAN', 'SERVICE_ORDER_DISPATCH', '', '您{$var}的工作已安排完成，请打开保洁师App查看详情。高端家庭保洁，首选一号家政！', '{"phone":"18670775866","params":{"datetime":"XX月XX日上午/下午4小时"}}', 1, 1516025272840, 1516025272840),
	(14, 10, 'CHUANGLAN', 'COUPON_EXPIRE', '', '主人，{$var}感谢您对一号家政的支持。高端家庭保洁，首选一号家政！', '{"phone": "18670775866","params": {"content":"您有X张优惠券未使用，还有3天过期啦，赶快进入微信“一号家政服务号”使用吧~！"}}', 1, 1520942198325, 1520942198325),
	(15, 10, 'CHUANGLAN', 'ORDER_PAY_SUCCESS', '', '主人，感谢您购买了{$var}套餐，有效期{$var}天，请微信关注“一号家政服务号”-“预约保洁”进行预约。如有任何疑问请在工作时间内拨打{$var}咨询，感谢您的配合。高端家庭保洁，首选 一号家政！', '{"phone":"13794094872","params":{"a":"3A舒适家年卡","c":"60天内","d":"前一天的18点前","e":"4006080100"}}', 1, 1520942250294, 1520942250294),
	(16, 10, 'CHUANGLAN', 'ORDER_TRADE_CLOSE', '', '主人，您有{$var}未付款订单{$var}，抓紧时间付款{$var}。感谢您对一号家政的支持。高端家庭保洁，首选一号家政！', '{"phone":"18670775866","params":{"num":"1个","time":"将在15分钟内关闭","desc":"享受优惠价"}}', 1, 1520942330277, 1520942330277),
	(17, 10, 'CHUANGLAN', 'SERVICE_EVALUATION_NOTIFY', '', '您的{$var}已完成，服务时间：{$var}，对我们的服务还满意吗？请给我们打个分吧！（{$var}）高端家庭保洁，首选一号家政！', '{"phone":"17612706411","params":{"service":"日常保洁","time":"2018-07-19","url":"https://w.url.cn/s/AqgltiM"}}', 1, 1532622088541, 1532622088541),
	(18, 10, 'CHUANGLAN', 'ORDER_REFUND_APPLY', '', '您购买的【{$var}】已在{$var}申请退款！审核通过后退款金额将于24小时之内按原路返回！\r\n', '{"phone":"17612706411","params":{"carName":"3A舒适家年卡","time":"2018-07-19 18点"}}\r\n', 1, 1532622088541, 1532622088541),
	(19, 10, 'CHUANGLAN', 'SERVICE_ORDER_START', '', '您预约的【{$var}】已在{$var}准时开始服务！服务过程中如有疑问请致电{$var}！\n', '{"phone":"13794094872","params":{"service":"1月14号8点日常保洁","time":"2018-07-19 18点"}}\n', 1, 1532622088541, 1532622088541);
/*!40000 ALTER TABLE `sms_template` ENABLE KEYS */;

-- 导出  表 1hjz_test.wechat_tmplmsg 结构
DROP TABLE IF EXISTS `wechat_tmplmsg`;
CREATE TABLE IF NOT EXISTS `wechat_tmplmsg` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增编号',
  `tmpl_id` varchar(32) DEFAULT '' COMMENT '模版编号',
  `tmpl_key` varchar(50) DEFAULT '' COMMENT '代码调用（EnumWechatTmplKey）',
  `tmpl_title` varchar(50) DEFAULT '' COMMENT '模版标题',
  `tmpl_status` tinyint(4) DEFAULT '0' COMMENT '模版状态（EnumWechatTmplStatus）',
  `tmpl_call_id` varchar(100) DEFAULT '' COMMENT '调用模版消息ID',
  `tmpl_msg` text COMMENT '模板消息参数与赋值内容',
  `tmpl_params` text COMMENT '模板参数',
  `create_at` bigint(20) DEFAULT '0' COMMENT '创建时间',
  `update_at` bigint(20) DEFAULT '0' COMMENT '更新时间',
  `del_flag` tinyint(4) DEFAULT '0' COMMENT '删除标志',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8;

-- 正在导出表  1hjz_test.wechat_tmplmsg 的数据：~9 rows (大约)
/*!40000 ALTER TABLE `wechat_tmplmsg` DISABLE KEYS */;
INSERT INTO `wechat_tmplmsg` (`id`, `tmpl_id`, `tmpl_key`, `tmpl_title`, `tmpl_status`, `tmpl_call_id`, `tmpl_msg`, `tmpl_params`, `create_at`, `update_at`, `del_flag`) VALUES
	(8, 'OPENTM412375813', 'ORDER_PAY_SUCCESS', '付款成功通知', 1, 'xhBV3jJ2xduAh6r2I2OJEG3jUzmYOA_iy-6Pvw0vHGg', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"price","color":"#000000"},"keyword2":{"value":"name","color":"#000000"},"keyword3":{"value":"address","color":"#000000"},"keyword4":{"value":"orderNo","color":"#000000"},"remark":{"value":"remark","color":"#D3D3D3"}}}', '{"touser":"oU7K20QRdNwGLD7U-jWtVoMR-W6Y","template_id":"","url":"http://www.yihaojiazheng.cn/mall/web","first":"您购买的【产品名】已生效，使用有效期【**天】","price":"￥199.00","name":"3A舒适家","address":"东圃大马路时代tit","orderNo":"MO180110090436251106","remark":"点我预约保洁服务>>"}', 1513857602004, 1516036175715, 0),
	(10, 'OPENTM413630425', 'SERVICE_ORDER_CANCEL', '服务取消通知', 1, '3yZSIuH-EFCoCPOWPBAsGXVFlBfgYXKN3JcqA2OMlj4', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"bookNo","color":"#000000"},"keyword2":{"value":"content","color":"#000000"},"keyword3":{"value":"datetime","color":"#000000"},"remark":{"value":"remark","color":"#D3D3D3"}}}', '{"touser":"oU7K20QRdNwGLD7U-jWtVoMR-W6Y","template_id":"","url":"http://www.yihaojiazheng.cn/mall/web","first":"您已成功取消**月**日**时段的服务，感谢您的支持！","bookNo":"BD180105173222987146","content":"高端家庭保洁","datetime":"XX月XX日上午/下午4小时","remark":"高端家庭保洁，首选一号家政！"}', 1515579373318, 1516036373336, 0),
	(11, 'OPENTM413630378', 'SERVICE_ORDER_FINISH', '服务完成提醒', 1, 'PAIz_Cc383IXqxHIevMi-Yk8VoWLiVRLX9La4LoI2RI', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"content","color":"#000000"},"keyword2":{"value":"datetime","color":"#000000"},"keyword3":{"value":"address","color":"#000000"},"remark":{"value":"remark","color":"#D3D3D3"}}}', '{"touser":"oU7K20QRdNwGLD7U-jWtVoMR-W6Y","template_id":"","url":"http://test.yihaojiazheng.cn/mall/web","first":"主人，您预约的4小时服务已完成，为了能给您提供更好更优质的服务，还希望您能配合我们的服务品质回访，感谢您对一号家政的支持。高端家庭保洁，首选一号家政！","content":"3A舒适家","datetime":"11月30日 14:00 - 18:00","address":"东圃大马路时代tit","remark":"点我给予服务评价>>"}', 1515769847694, 1516036438236, 0),
	(12, 'TM203917139', 'SERVICE_CARD_EXPIRE', '服务卡过期提醒', 1, 'SvuwLaeDl_0axlPqORy9NHy6Sa1gF7AeqhkOgAl5h_M', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"title","color":"#000000"},"keyword2":{"value":"validDate","color":"#000000"},"remark":{"value":"remark","color":"#D3D3D3"}}}', '{"touser":"oU7K20QRdNwGLD7U-jWtVoMR-W6Y","template_id":"","url":"http://www.yihaojiazheng.cn/mall/web/appointment?CardNo","first":"主人，您的服务卡即将过期，请尽快使用，感谢您的配合。高端家庭保洁，首选一号家政！","title":"3A舒适家年卡","validDate":"2018-01-01","remark":"点我预约保洁服务>>"}', 1520943884621, 1520943884621, 0),
	(13, 'OPENTM412363735', 'ORDER_TRADE_CLOSE', '订单交易关闭提醒', 1, 'tM1GQ1vfHBo9y95YGGThzUG8O_ncIqHoQhZpGSpXSVc', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"price","color":"#000000"},"keyword2":{"value":"name","color":"#000000"},"keyword3":{"value":"address","color":"#000000"},"keyword4":{"value":"orderNo","color":"#000000"},"remark":{"value":"remark","color":"#D3D3D3"}}}', '{"touser":"oU7K20QRdNwGLD7U-jWtVoMR-W6Y","template_id":"","url":"http://www.yihaojiazheng.cn/mall/web","first":"主人，您有未付款订单，抓紧时间付款享受优惠价。感谢您对一号家政的支持。高端家庭保洁，首选一号家政！","price":"￥199.00","name":"3A舒适家","address":"东圃大马路时代tit","orderNo":"MO180110090436251106","remark":"二话不说，点击买单>>"}', 1520943967961, 1520943967961, 0),
	(14, 'OPENTM414307219', 'SERVICE_ORDER_SINGLE', '预约成功通知', 1, 'uxvC6ejCzV33x4zPXWK1ZDWTDmWCoUqG8Nv1g4JzDJI', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"title","color":"#000000"},"keyword2":{"value":"serviceTime","color":"#000000"},"keyword3":{"value":"address","color":"#000000"},"remark":{"value":"remark","color":"#D3D3D3"}}}', '{"touser":"oU7K20QRdNwGLD7U-jWtVoMR-W6Y","template_id":"","url":"","first":"您的【产品名】已经预约成功啦！请您在约定时间内安排人在家中等待！如需取消服务，请您在**月**日18点前往公众号取消预约如未在约定时间内取消，我们将取消您本次的预约并扣除服务次数","title":"高端家庭保洁","serviceTime":"2018-01-13 08:00:00","address":"东圃大马路8号时代TIT广场A423","remark":"匠心服务，极净生活！"}', 1520944051765, 1520944051765, 0),
	(15, 'OPENTM405731445', 'ORDER_REFUND_FINISH', '订单退款通知', 1, 'ZlwFE_9kMYTMTmim1kIRGRRFZak3wbg0m1HOhcbcRe0', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"title","color":"#000000"},"keyword2":{"value":"orderNo","color":"#000000"},"keyword3":{"value":"refundFee","color":"#000000"},"keyword4":{"value":"refundChannel","color":"#000000"},"remark":{"value":"remark","color":"#D3D3D3"}}}', '{"touser":"oU7K20QRdNwGLD7U-jWtVoMR-W6Y","template_id":"aVq4WUADjuHWoK_HcjPvuLaUgHAcXHTEwIoBcF9HMZY","url":"","first":"您的订单退款申请已审核通过，退款金额将按原路返回到您的账户，请及时查看！","title":"高端家庭保洁","orderNo":"201710187607161448","refundFee":"￥199","refundChannel":"原路返回","remark":"高端家庭保洁，首选一号家政！"}', 1520943499886, 1520943499886, 0),
	(16, 'OPENTM406487884', 'SERVICE_ORDER_DOOR', '保洁服务上门提醒', 1, 'NP3ZM34lF9EjRo1bEmM2xceLn_OonZkCB4asSs_1vJ4', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"datetime","color":"#000000"},"keyword2":{"value":"content","color":"#000000"},"keyword3":{"value":"cleanerName","color":"#000000"},"remark":{"value":"remark","color":"#D3D3D3"}}}', '{"touser":"oU7K20QRdNwGLD7U-jWtVoMR-W6Y","template_id":"","url":"","first":"您预约的【产品名】将于**月**日**时段上门服务！如需取消服务，请您在**月**日18点前往公众号取消预约！如未在约定时间内取消，我们将取消您本次的预约并扣除服务次数！","datetime":"明天01月14日08点-12点","content":"高端家庭保洁","cleanerName":"小熊","remark":"匠心服务，极净生活！"}', 1521000964997, 1521000964997, 0),
	(17, 'OPENTM400337552', 'SERVICE_EVALUATION_NOTIFY', '服务评价提醒', 1, '6ju5i2XIvasq5oGH14wtcp_KR2rNKRu1e6SGJ3IW_mc', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"bookNo","color":"#000000"},"keyword2":{"value":"serviceItem","color":"#000000"},"keyword3":{"value":"serviceStartDt","color":"#000000"},"keyword4":{"value":"serviceEndDt","color":"#000000"},"remark":{"value":"remark","color":"#ff3300"}}}', '{"touser":"oU7K20XlTuX6F50JO_XUJ_KLv9aM","template_id":"6ju5i2XIvasq5oGH14wtcp_KR2rNKRu1e6SGJ3IW_mc","url":"https://w.url.cn/s/AWzL7Z3","first":"您预约的【产品名】已在**月**日*点完成服务！请您为本次服务进行评价！感谢您的支持配合！","bookNo":"BD180723110539324128","serviceItem":"高端保洁铂金月卡 1/4","serviceStartDt":"2018-07-27 08:00","serviceEndDt":"2018-07-27 12:00","remark":"点我给服务人员打分哦！>>"}', 1532621878504, 1532687515083, 0),
	(18, 'OPENTM410790944', 'BOOK_DETAIL_CONFIRM', '预约确认通知', 1, 'EJQBGHCHhMHfo-PWDsLFJzS0XMbSNvlLcrO6gI6W6ak', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"datetime","color":"#000000"},"keyword2":{"value":"address","color":"#000000"},"keyword3":{"value":"content","color":"#000000"},"remark":{"value":"remark","color":"#ff3300"}}}', '{"touser":"oU7K20XlTuX6F50JO_XUJ_KLv9aM","template_id":"EJQBGHCHhMHfo-PWDsLFJzS0XMbSNvlLcrO6gI6W6ak","url":"https://w.url.cn/s/AWzL7Z3","first":"温馨提醒您，明天服务人员将按您预约的以下时间上门服务：","serviceStartAt":"2018-07-27 08:00","address":"广州天河时代TIT广场","serviceType":"空调清洗服务","remark":"点开详情有红包>>"}', 1532621878504, 1532687515083, 0),
	(19, 'OPENTM207867468', 'ORDER_REFUND_APPLY', '申请退款通知', 1, 'nZ5C87cH6XEpm0FGfLgV-EoQrRtKwhQxFaMEEicSfVk', '{"touser":"","template_id":"","url":"","topcolor":"#008B45","data":{"first":{"value":"first","color":"#0000FF"},"keyword1":{"value":"refundFee","color":"#000000"},"keyword2":{"value":"title","color":"#000000"},"keyword3":{"value":"orderNo","color":"#000000"},"keyword4":{"value":"refundReason","color":"#000000"},"remark":{"value":"remark","color":"#ff3300"}}}', '{"touser":"oU7K20XlTuX6F50JO_XUJ_KLv9aM","template_id":"nZ5C87cH6XEpm0FGfLgV-EoQrRtKwhQxFaMEEicSfVk","first":"您购买的【产品名】已在**月**日*点申请退款！审核通过后退款金额将于24小时之内按原路返回！","refundFee":"￥199","title":"产品名","orderNo":"201710187607161448","refundReason":"原因","remark":"高端家庭保洁，首选一号家政！"}', 1532621878504, 1532687515083, 0);
/*!40000 ALTER TABLE `wechat_tmplmsg` ENABLE KEYS */;

/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

CREATE TABLE `book_detail_confirm_message` (
	`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
	`merchant_no` VARCHAR(32) NOT NULL DEFAULT '' COMMENT '商户号',
	`user_id` VARCHAR(32) NOT NULL DEFAULT '' COMMENT '客户id',
	`open_id` VARCHAR(32) NOT NULL DEFAULT '' COMMENT '客户openId',
	`card_no` VARCHAR(32) NOT NULL DEFAULT '' COMMENT '服务卡号',
	`book_no` VARCHAR(32) NOT NULL DEFAULT '' COMMENT '预约单号',
	`book_time` DATE NULL DEFAULT NULL COMMENT '预约日期',
	`time_type` TINYINT(4) NOT NULL DEFAULT '0' COMMENT '预约时间',
	`created_at` BIGINT(20) NOT NULL DEFAULT '0' COMMENT '创建时间',
	`opened_at` BIGINT(20) NOT NULL DEFAULT '0' COMMENT '打开链接时间',
	`has_confirm` TINYINT(4) NOT NULL DEFAULT '0' COMMENT '是否已确认',
	`url` VARCHAR(128) NOT NULL DEFAULT '' COMMENT '链接地址',
	`reward` BIGINT(20) NOT NULL DEFAULT '0' COMMENT '奖励金额',
	PRIMARY KEY (`id`)
)
COMMENT='预约订单确认消息记录'
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=2
;


ALTER TABLE `book_detail`
	ADD COLUMN `consumer_confirm` TINYINT(4) NULL DEFAULT '0' COMMENT '顾客确认服务时间 0未确认 1已确认' AFTER `small_category_no`;
