-- --------------------------------------------------------
-- 主机:                           8.130.39.13
-- 服务器版本:                        5.7.20 - MySQL Community Server (GPL)
-- 服务器操作系统:                      Win64
-- HeidiSQL 版本:                  12.6.0.6765
-- --------------------------------------------------------

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!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 */;


-- 导出 yxt_lpk_yyth 的数据库结构
CREATE DATABASE IF NOT EXISTS `yxt_lpk_yyth` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
USE `yxt_lpk_yyth`;

-- 导出  表 yxt_lpk_yyth.lpk_card_build_record 结构
CREATE TABLE IF NOT EXISTS `lpk_card_build_record` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID，唯一编号',
  `sid` varchar(64) NOT NULL COMMENT 'sid',
  `createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `giftbagSid` varchar(100) DEFAULT NULL COMMENT '礼包Sid',
  `buildDate` datetime DEFAULT NULL COMMENT '创建时间',
  `countNumber` int(11) DEFAULT '1' COMMENT '本次创建卡的张数',
  `startNumber` varchar(100) DEFAULT NULL COMMENT '起始号',
  `endNumber` varchar(100) DEFAULT NULL COMMENT '终止号',
  `cardArea` varchar(100) DEFAULT NULL COMMENT '区域号，2位纯数字',
  `currentNumber` bigint(32) DEFAULT '1' COMMENT '当前本区域编号',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COMMENT='礼包卡创建记录';

-- 正在导出表  yxt_lpk_yyth.lpk_card_build_record 的数据：~2 rows (大约)
INSERT INTO `lpk_card_build_record` (`id`, `sid`, `createTime`, `remarks`, `giftbagSid`, `buildDate`, `countNumber`, `startNumber`, `endNumber`, `cardArea`, `currentNumber`) VALUES
	(1, 'c5b4fb0c-8719-49c3-a6d6-2822165f95ac', '2023-11-24 08:18:15', NULL, '8e667618-63de-480c-ad1e-2747b76aa99b', '2023-11-24 16:18:15', 5, '00000001', '00000005', NULL, 1),
	(2, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '2023-11-24 08:19:21', NULL, '8e667618-63de-480c-ad1e-2747b76aa99b', '2023-11-24 16:19:21', 10, '00000006', '00000015', NULL, 1);

-- 导出  表 yxt_lpk_yyth.lpk_customer 结构
CREATE TABLE IF NOT EXISTS `lpk_customer` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID，唯一编号',
  `sid` varchar(64) NOT NULL COMMENT 'sid',
  `createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `isEnable` int(11) DEFAULT '1' COMMENT '是否可用',
  `wxMpOpenid` varchar(100) DEFAULT NULL COMMENT '微信小程序OpenId',
  `unionid` varchar(100) DEFAULT NULL COMMENT '微信unionid',
  `mobile` varchar(100) DEFAULT NULL COMMENT '手机号',
  `bindDate` datetime DEFAULT NULL COMMENT '手机号绑定时间',
  `realName` varchar(100) DEFAULT NULL COMMENT '真实姓名',
  `nick` varchar(100) DEFAULT NULL COMMENT '昵称',
  `photo` varchar(1024) DEFAULT NULL COMMENT '头像',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 COMMENT='客户信息';

-- 正在导出表  yxt_lpk_yyth.lpk_customer 的数据：~14 rows (大约)
INSERT INTO `lpk_customer` (`id`, `sid`, `createTime`, `remarks`, `isEnable`, `wxMpOpenid`, `unionid`, `mobile`, `bindDate`, `realName`, `nick`, `photo`) VALUES
	(22, '93fde19b-ec6d-4360-b6e4-3cf2fcffb946', '2023-11-27 08:07:28', NULL, 1, 'oR5_l5H03crV5xcIb9mmbZT5JFMo', NULL, NULL, NULL, NULL, NULL, NULL),
	(23, 'a20abded-255d-4370-8f81-493a271fa1c9', '2023-11-27 08:10:16', NULL, 1, 'oR5_l5KVuRYvk1LFaO2Rw2mF66DM', NULL, NULL, NULL, NULL, NULL, NULL),
	(24, 'a1bf54c9-e1ef-4b00-ae01-77314727becb', '2023-11-27 08:12:14', NULL, 1, 'oR5_l5PbMKTj6r0i8jkEWB_rm5eE', NULL, NULL, NULL, NULL, NULL, NULL),
	(25, '041441d6-0883-4f42-9d00-cab2690789c4', '2023-11-27 08:29:42', NULL, 1, 'oR5_l5IcVJuzDD_rqEoH2K9O7S_8', NULL, NULL, NULL, NULL, NULL, NULL),
	(26, '09ec00b1-4af1-48d4-b43e-f08f54bc2b90', '2023-11-27 10:00:39', NULL, 1, 'oR5_l5MVkUxhhlGv7Q5I7H7mFmlk', NULL, NULL, NULL, NULL, NULL, NULL),
	(27, '6ad6a0a0-44b4-4257-a80b-c7a160187b20', '2023-11-27 10:25:44', NULL, 1, 'oR5_l5B_ZVLgQrREEqabJeAd0L84', NULL, NULL, NULL, NULL, NULL, NULL),
	(28, '55f08dcc-1290-4f93-ace4-fdf5c07c966a', '2023-11-27 10:27:00', NULL, 1, 'oR5_l5GYKyYLbKMe4q3XDusuPWzM', NULL, NULL, NULL, NULL, NULL, NULL),
	(29, '0aec57de-12ca-4aef-b218-6894e228f88b', '2023-11-27 10:28:25', NULL, 1, 'oR5_l5FzXsKgtobBVd2BQ1glEEgg', NULL, NULL, NULL, NULL, NULL, NULL),
	(30, '5a72364a-f6db-4cd6-ad43-64e7650fc0a4', '2023-11-27 10:29:32', NULL, 1, 'oR5_l5BcgLACQqTaE57NLd457fpY', NULL, NULL, NULL, NULL, NULL, NULL),
	(31, 'f69b1419-b9e6-46c1-a54a-6b6cb3347d85', '2023-11-27 11:00:20', NULL, 1, 'oR5_l5HyyOO7vKlMp4QOL6qQzWRQ', NULL, NULL, NULL, NULL, NULL, NULL),
	(32, '3ea906cc-bd42-4b3f-9e97-ffc058ab59c5', '2023-11-27 11:12:06', NULL, 1, 'oR5_l5Kya2RuIoAqJbbbHOdeWsIY', NULL, NULL, NULL, NULL, NULL, NULL),
	(33, '9973e45a-6fa3-4342-96ed-0dd9e9c9c2dc', '2023-11-27 12:38:02', NULL, 1, 'oR5_l5L1-mzON9HVk1vlOf6ExJGw', NULL, NULL, NULL, NULL, NULL, NULL),
	(34, 'cb7d4827-8d56-498e-bf34-2d0ebcc54773', '2023-11-28 00:48:23', NULL, 1, 'oR5_l5Li8cdFoVyB7F7MfbbMKY-4', NULL, NULL, NULL, NULL, NULL, NULL),
	(35, 'a7755079-d5c7-4c41-badd-5c3e6b6a8579', '2023-11-28 02:41:48', NULL, 1, 'oR5_l5OgPrYcBcIWCwtnc82d4oTE', NULL, NULL, NULL, NULL, NULL, NULL);

-- 导出  表 yxt_lpk_yyth.lpk_giftbag 结构
CREATE TABLE IF NOT EXISTS `lpk_giftbag` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID，唯一编号',
  `sid` varchar(64) NOT NULL COMMENT 'sid',
  `createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `isEnable` int(11) DEFAULT '1' COMMENT '是否可用',
  `name` varchar(100) DEFAULT NULL COMMENT '礼包名',
  `dateStart` datetime DEFAULT NULL COMMENT '有效起始日期',
  `dateEnd` datetime DEFAULT NULL COMMENT '有效终止日期',
  `boundary` varchar(1024) DEFAULT NULL COMMENT '发放条件',
  `boundaryPrice` double(12,2) DEFAULT NULL COMMENT '边界金额',
  `iconUrl` varchar(1024) DEFAULT NULL COMMENT '礼包Icon的URL',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COMMENT='礼包信息';

-- 正在导出表  yxt_lpk_yyth.lpk_giftbag 的数据：~2 rows (大约)
INSERT INTO `lpk_giftbag` (`id`, `sid`, `createTime`, `remarks`, `isEnable`, `name`, `dateStart`, `dateEnd`, `boundary`, `boundaryPrice`, `iconUrl`) VALUES
	(9, '8e667618-63de-480c-ad1e-2747b76aa99b', '2023-11-23 09:52:42', '', 1, '蔬菜礼包经典款', '2023-11-23 17:57:02', '2023-11-29 17:57:05', '', 0.00, '20231123/6498c47ec93586_20231124100332838681.jpg'),
	(10, '2', '2023-11-23 01:57:08', NULL, 1, '测试', '2023-11-23 17:57:02', '2023-11-26 17:57:05', NULL, NULL, '20231123/6498c47ec93586_20231124100332838681.jpg');

-- 导出  表 yxt_lpk_yyth.lpk_giftbag_goods 结构
CREATE TABLE IF NOT EXISTS `lpk_giftbag_goods` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID，唯一编号',
  `sid` varchar(64) NOT NULL COMMENT 'sid',
  `createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `giftbagSid` varchar(100) DEFAULT NULL COMMENT '礼包Sid',
  `goodsSid` varchar(100) DEFAULT NULL COMMENT '商品Sid',
  `goodsNumber` int(11) DEFAULT '1' COMMENT '商品数量',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COMMENT='礼包包含商品信息';

-- 正在导出表  yxt_lpk_yyth.lpk_giftbag_goods 的数据：~4 rows (大约)
INSERT INTO `lpk_giftbag_goods` (`id`, `sid`, `createTime`, `remarks`, `giftbagSid`, `goodsSid`, `goodsNumber`) VALUES
	(15, 'e0ec4c2f-effc-4b6a-b2f8-795c172b66e1', '2023-11-23 09:52:42', NULL, '8e667618-63de-480c-ad1e-2747b76aa99b', '20574836-011c-41af-be02-293aa5a2dd7f', 5),
	(16, '673cda8a-e1cd-4246-82a5-daec5d0578fe', '2023-11-23 09:52:42', NULL, '8e667618-63de-480c-ad1e-2747b76aa99b', 'd3821a05-a28e-4d13-84b9-904211f97542', 3),
	(17, '1', '2023-11-23 01:57:48', NULL, '2', 'b67167a1-d6f1-4e17-80b3-f1aac7e4e4fc', 2),
	(18, '2', '2023-11-23 01:57:51', NULL, '2', '61873ef1-2262-4cc5-8ee5-c266c16b15bf', 2);

-- 导出  表 yxt_lpk_yyth.lpk_giftcard 结构
CREATE TABLE IF NOT EXISTS `lpk_giftcard` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID，唯一编号',
  `sid` varchar(64) NOT NULL COMMENT 'sid',
  `createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `isEnable` int(11) DEFAULT '1' COMMENT '是否可用',
  `recordSid` varchar(100) DEFAULT NULL COMMENT '礼包卡创建记录id',
  `giftbagSid` varchar(100) DEFAULT NULL COMMENT '礼包Sid',
  `serialNumber` varchar(100) DEFAULT NULL COMMENT '序列号(长8位的数字串)',
  `code` varchar(100) DEFAULT NULL COMMENT '提货编码(长20位的数字串)',
  `codeKey` varchar(100) DEFAULT NULL COMMENT '提货密钥(长6位的数字串)',
  `state` int(11) DEFAULT '1' COMMENT '状态：1=未发放,2=未绑定客户,3=未提货,4=已经预约提货(预约部分提货),5=已经提取完成',
  `grantName` varchar(100) DEFAULT NULL COMMENT '发放人(行、店)名称',
  `grantDate` datetime DEFAULT NULL COMMENT '发放时间',
  `customerSid` varchar(100) DEFAULT NULL COMMENT '绑定客户SID',
  `customerMobile` varchar(100) DEFAULT NULL COMMENT '绑定客户电话',
  `recordId` bigint(32) DEFAULT NULL COMMENT '礼包卡创建记录id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COMMENT='礼包卡信息';

-- 正在导出表  yxt_lpk_yyth.lpk_giftcard 的数据：~15 rows (大约)
INSERT INTO `lpk_giftcard` (`id`, `sid`, `createTime`, `remarks`, `isEnable`, `recordSid`, `giftbagSid`, `serialNumber`, `code`, `codeKey`, `state`, `grantName`, `grantDate`, `customerSid`, `customerMobile`, `recordId`) VALUES
	(1, '864ddb47-b65e-49ca-9ebc-2505da3c859f', '2023-11-24 08:18:15', NULL, 1, 'c5b4fb0c-8719-49c3-a6d6-2822165f95ac', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000001', '20231124161814734837', '627650', 4, NULL, NULL, 'a20abded-255d-4370-8f81-493a271fa1c9', '', NULL),
	(2, 'aa56ee44-f95e-4ce9-a504-4d2c3786fcf0', '2023-11-24 08:18:15', NULL, 1, 'c5b4fb0c-8719-49c3-a6d6-2822165f95ac', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000002', '20231124161814729919', '887668', 2, NULL, NULL, '', '', NULL),
	(3, 'f0a14498-bb56-47b1-9a91-870db399dee0', '2023-11-24 08:18:15', NULL, 1, 'c5b4fb0c-8719-49c3-a6d6-2822165f95ac', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000003', '20231124161814629377', '467638', 2, NULL, NULL, '', '', NULL),
	(4, '8e90fa82-d1e1-437b-849f-7796346b8e8b', '2023-11-24 08:18:15', NULL, 1, 'c5b4fb0c-8719-49c3-a6d6-2822165f95ac', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000004', '20231124161814397240', '744184', 2, NULL, NULL, '', '', NULL),
	(5, 'dc12a63b-2e29-4753-bf1c-49388b0d3a4e', '2023-11-24 08:18:15', NULL, 1, 'c5b4fb0c-8719-49c3-a6d6-2822165f95ac', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000005', '20231124161814737297', '978809', 2, NULL, NULL, '', '', NULL),
	(6, 'f697a75e-339f-4b29-8796-dded246fa588', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000006', '20231124161920152125', '255742', 2, NULL, NULL, '', '', NULL),
	(7, '00b06b2e-b640-4f42-8098-625ca9c4c4a2', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000007', '20231124161920806388', '487778', 2, NULL, NULL, '', '', NULL),
	(8, '54556bca-19e0-4df7-9175-9af083ec45df', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000008', '20231124161920926204', '610933', 2, NULL, NULL, '', '', NULL),
	(9, 'ee0610bd-b5e5-4abf-99da-04fbb3ea4f07', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000009', '20231124161920552727', '614208', 2, NULL, NULL, '', '', NULL),
	(10, 'c66b9a44-8a98-4128-afa0-69868f06c50b', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000010', '20231124161920127334', '963780', 2, NULL, NULL, '', '', NULL),
	(11, 'd79eabc3-8bb2-4c6a-8169-82179c593934', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000011', '20231124161921885907', '673431', 4, NULL, NULL, '041441d6-0883-4f42-9d00-cab2690789c4', '', NULL),
	(12, '9bde6e95-2d4c-4dc1-b8e4-5ec0ea889eca', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000012', '20231124161921370575', '131922', 2, NULL, NULL, '', '', NULL),
	(13, 'e576d16b-0a58-4a86-97ef-ead5a566681e', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000013', '20231124161921315828', '880449', 2, NULL, NULL, '', '', NULL),
	(14, '8af311a2-351f-4f87-9f46-dd22b27995d0', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000014', '20231124161921501126', '966096', 2, NULL, NULL, '', '', NULL),
	(15, '1e6123ce-d644-42f8-90e0-1a5b50649aad', '2023-11-24 08:19:21', NULL, 1, 'a7fe52f1-54bc-4727-b552-f941f3efb557', '8e667618-63de-480c-ad1e-2747b76aa99b', '00000015', '20231124161921200232', '165934', 4, NULL, NULL, '09ec00b1-4af1-48d4-b43e-f08f54bc2b90', '', NULL);

-- 导出  表 yxt_lpk_yyth.lpk_goods 结构
CREATE TABLE IF NOT EXISTS `lpk_goods` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID，唯一编号',
  `sid` varchar(64) NOT NULL COMMENT 'sid',
  `createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `isEnable` int(11) DEFAULT '1' COMMENT '是否可用',
  `code` varchar(100) DEFAULT NULL COMMENT '商品编码',
  `barcode` varchar(100) DEFAULT NULL COMMENT '商品条码',
  `name` varchar(100) DEFAULT NULL COMMENT '商品名',
  `unitName` varchar(100) DEFAULT NULL COMMENT '单位，如：公斤、瓶',
  `typeCode` varchar(100) DEFAULT NULL COMMENT '类别编码',
  `typeName` varchar(100) DEFAULT NULL COMMENT '类别名称',
  `price` double(12,2) DEFAULT NULL COMMENT '商品价格',
  `picUrl` varchar(1024) DEFAULT NULL COMMENT '商品图片URL',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COMMENT='商品信息';

-- 正在导出表  yxt_lpk_yyth.lpk_goods 的数据：~8 rows (大约)
INSERT INTO `lpk_goods` (`id`, `sid`, `createTime`, `remarks`, `isEnable`, `code`, `barcode`, `name`, `unitName`, `typeCode`, `typeName`, `price`, `picUrl`) VALUES
	(11, 'b67167a1-d6f1-4e17-80b3-f1aac7e4e4fc', '2023-11-23 09:41:27', NULL, 1, '', '', '玉田包尖白菜', '斤', NULL, NULL, 0.90, '20231123/64e109c4664eaa_20231124100206882559.jpg'),
	(12, '61873ef1-2262-4cc5-8ee5-c266c16b15bf', '2023-11-23 09:45:08', NULL, 1, '', '', '农家土豆', '斤', NULL, NULL, 0.70, '20231123/64e0ca26fd65ab_20231124100217727035.jpg'),
	(13, '99b2dd79-5773-44c3-9a6e-a67c763ee245', '2023-11-23 09:45:48', NULL, 1, '', '', '沙窝萝卜', '斤', NULL, NULL, 1.20, '20231123/64dff7c61b7d21_20231124100230542235.jpg'),
	(14, 'bf0c9d8e-f629-4360-b109-f139c482fa3d', '2023-11-23 09:46:30', NULL, 1, '', '', '农家红薯', '斤', NULL, NULL, 1.30, '20231123/64dfc05b0db1f9_20231124100240220734.jpg'),
	(15, '93773d0a-d749-42dc-b03a-63a9a0f6c6ff', '2023-11-23 09:47:27', NULL, 1, '', '', '手工粉条', '', NULL, NULL, 0.00, '20231123/64df3f35d0de3f_20231124100252533644.png'),
	(16, '508378e5-37ca-4cfd-9435-d4e94520c186', '2023-11-23 09:48:39', NULL, 1, '', '', '大葱', '斤', NULL, NULL, 0.30, '20231123/64df11104dbffb_20231124100300904609.jpg'),
	(17, '20574836-011c-41af-be02-293aa5a2dd7f', '2023-11-23 09:49:21', NULL, 1, '', '', '白萝卜', '斤', NULL, NULL, 0.30, '20231123/64976d4cf75548_20231124100309975773.jpg'),
	(18, 'd3821a05-a28e-4d13-84b9-904211f97542', '2023-11-23 09:49:53', NULL, 1, '', '', '精品白菜', '颗', NULL, NULL, 0.90, '20231123/2960ea0741fe500_20231124100318707963.jpg');

-- 导出  表 yxt_lpk_yyth.lpk_reserve_order 结构
CREATE TABLE IF NOT EXISTS `lpk_reserve_order` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID，唯一编号',
  `sid` varchar(64) NOT NULL COMMENT 'sid',
  `createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `reserveType` int(11) DEFAULT '1' COMMENT '提货类型，1=去提货点自提；2=快递',
  `cardSid` varchar(100) DEFAULT NULL COMMENT '礼品卡SID',
  `cardCode` varchar(100) DEFAULT NULL COMMENT '礼品卡卡号',
  `isCustomer` int(11) DEFAULT '1' COMMENT '是否会员',
  `customerSid` varchar(100) DEFAULT NULL COMMENT '名称',
  `userName` varchar(100) DEFAULT NULL COMMENT '提货人姓名',
  `userPhone` varchar(100) DEFAULT NULL COMMENT '提货人电话',
  `userAddress` varchar(100) DEFAULT NULL COMMENT '提货人地址',
  `storeSid` varchar(100) DEFAULT NULL COMMENT '名称',
  `reserveDate` datetime DEFAULT NULL COMMENT '发放时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COMMENT='预约订单';

-- 正在导出表  yxt_lpk_yyth.lpk_reserve_order 的数据：~3 rows (大约)
INSERT INTO `lpk_reserve_order` (`id`, `sid`, `createTime`, `remarks`, `reserveType`, `cardSid`, `cardCode`, `isCustomer`, `customerSid`, `userName`, `userPhone`, `userAddress`, `storeSid`, `reserveDate`) VALUES
	(22, '5224188e-f6a6-49cb-a046-2b6213a0af33', '2023-11-27 10:02:02', NULL, 1, NULL, NULL, 1, '09ec00b1-4af1-48d4-b43e-f08f54bc2b90', NULL, NULL, NULL, 'a3184d11-43fe-42c5-835b-fd2d73bbd164', '2023-11-29 00:00:00'),
	(23, '711779bc-5e13-4ce0-a791-176df7601447', '2023-11-27 10:19:31', NULL, 1, '864ddb47-b65e-49ca-9ebc-2505da3c859f', NULL, 1, 'a20abded-255d-4370-8f81-493a271fa1c9', '郭兴', '13623307393', NULL, 'a3184d11-43fe-42c5-835b-fd2d73bbd164', '2023-11-29 00:00:00'),
	(24, '9f647238-0679-4779-b4c0-33bc27cc3b5d', '2023-11-28 02:59:36', NULL, 1, 'd79eabc3-8bb2-4c6a-8169-82179c593934', NULL, 1, '041441d6-0883-4f42-9d00-cab2690789c4', '1QQ', '13131100001', NULL, 'a3184d11-43fe-42c5-835b-fd2d73bbd164', '2023-11-30 00:00:00');

-- 导出  表 yxt_lpk_yyth.lpk_reserve_order_goods 结构
CREATE TABLE IF NOT EXISTS `lpk_reserve_order_goods` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID，唯一编号',
  `sid` varchar(64) NOT NULL COMMENT 'sid',
  `createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `cardSid` varchar(100) DEFAULT NULL COMMENT '礼品卡SID',
  `goodsSid` varchar(100) DEFAULT NULL COMMENT '商品Sid',
  `goodsNumber` int(11) DEFAULT '1' COMMENT '商品数量',
  `orderSid` varchar(100) DEFAULT NULL COMMENT '订单SID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COMMENT='预约订单';

-- 正在导出表  yxt_lpk_yyth.lpk_reserve_order_goods 的数据：~6 rows (大约)
INSERT INTO `lpk_reserve_order_goods` (`id`, `sid`, `createTime`, `remarks`, `cardSid`, `goodsSid`, `goodsNumber`, `orderSid`) VALUES
	(23, '1570390f-fb9c-44fc-b66d-8879c3be0a12', '2023-11-27 10:02:02', NULL, '1e6123ce-d644-42f8-90e0-1a5b50649aad', '20574836-011c-41af-be02-293aa5a2dd7f', 1, NULL),
	(24, '1570390f-fb9c-44fc-b66d-8879c3be0a12', '2023-11-27 10:02:02', NULL, '1e6123ce-d644-42f8-90e0-1a5b50649aad', 'd3821a05-a28e-4d13-84b9-904211f97542', 3, NULL),
	(25, '2ee215f1-b95d-41e0-8d3d-3f22c6020843', '2023-11-27 10:19:31', NULL, '864ddb47-b65e-49ca-9ebc-2505da3c859f', '20574836-011c-41af-be02-293aa5a2dd7f', 1, '711779bc-5e13-4ce0-a791-176df7601447'),
	(26, '2ee215f1-b95d-41e0-8d3d-3f22c6020843', '2023-11-27 10:19:31', NULL, '864ddb47-b65e-49ca-9ebc-2505da3c859f', 'd3821a05-a28e-4d13-84b9-904211f97542', 1, '711779bc-5e13-4ce0-a791-176df7601447'),
	(27, '710575d8-74cb-45da-9f7f-7ab48873a92f', '2023-11-28 02:59:36', NULL, 'd79eabc3-8bb2-4c6a-8169-82179c593934', '20574836-011c-41af-be02-293aa5a2dd7f', 1, '9f647238-0679-4779-b4c0-33bc27cc3b5d'),
	(28, '710575d8-74cb-45da-9f7f-7ab48873a92f', '2023-11-28 02:59:36', NULL, 'd79eabc3-8bb2-4c6a-8169-82179c593934', 'd3821a05-a28e-4d13-84b9-904211f97542', 1, '9f647238-0679-4779-b4c0-33bc27cc3b5d');

-- 导出  表 yxt_lpk_yyth.lpk_store 结构
CREATE TABLE IF NOT EXISTS `lpk_store` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID，唯一编号',
  `sid` varchar(64) NOT NULL COMMENT 'sid',
  `createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `remarks` varchar(255) DEFAULT NULL COMMENT '备注信息',
  `isEnable` int(11) DEFAULT '1' COMMENT '是否可用',
  `code` varchar(100) DEFAULT NULL COMMENT '编号',
  `name` varchar(100) DEFAULT NULL COMMENT '名称',
  `address` varchar(100) DEFAULT NULL COMMENT '地址',
  `phone` varchar(100) DEFAULT NULL COMMENT '电话',
  `businessHours` varchar(100) DEFAULT NULL COMMENT '营业时间，提货时间（早X点到晚X点）',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COMMENT='取货点(门店)信息';

-- 正在导出表  yxt_lpk_yyth.lpk_store 的数据：~8 rows (大约)
INSERT INTO `lpk_store` (`id`, `sid`, `createTime`, `remarks`, `isEnable`, `code`, `name`, `address`, `phone`, `businessHours`) VALUES
	(8, 'a3184d11-43fe-42c5-835b-fd2d73bbd164', '2023-11-23 09:34:14', NULL, 1, NULL, '馍馍卤盛世店', '河北省石家庄市桥西区南二环西路101号', '13073175837', ''),
	(9, '9faf3e3b-ef60-4ce2-bd7f-10149d38d43b', '2023-11-23 09:34:39', NULL, 1, NULL, '馍馍卤振岗路店', '河北省石家庄市桥西区振岗路41号', '18032236569', ''),
	(10, '563bc713-d02c-47f9-bcba-105bc044b553', '2023-11-23 09:34:54', NULL, 1, NULL, '馍馍卤雅清街店', '河北省石家庄市裕华区金马路藏龙福地23号', '17633213557', ''),
	(11, '491b2053-833e-43cd-a534-27be6f80db67', '2023-11-23 09:35:13', NULL, 1, NULL, '惠享振头支行', '河北省石家庄市桥西区红旗大街156号', '18603110417', ''),
	(12, 'e2426d60-e5c2-4086-a4f2-65867b3ea4e2', '2023-11-23 09:35:31', NULL, 1, NULL, '惠享中华大街支行', '河北省石家庄市新华区中华北大街370号', '13933883302', ''),
	(13, '441da8e5-6bdd-496d-8d0c-0fe42f1dddb5', '2023-11-23 09:35:50', NULL, 1, NULL, '惠享孙村支行', '河北省石家庄市裕华区汇通路71号', '18531108278', ''),
	(14, '6fba0e7c-4ae4-4645-92ca-ed58617cd1a8', '2023-11-23 09:36:07', NULL, 1, NULL, '惠享建设南大街分理处', '河北省石家庄市裕华区建设南大街159号', '15632350521', ''),
	(15, '471acf69-a77a-48fb-a804-65394afd4415', '2023-11-23 09:36:23', NULL, 1, NULL, '惠享营业部', '河北省石家庄市裕华区体育大街221号', '13623219011', '');

/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;
