diff --git a/.idea/artifacts/peanut_b.xml b/.idea/artifacts/peanut_b.xml
deleted file mode 100644
index b168e7e3..00000000
--- a/.idea/artifacts/peanut_b.xml
+++ /dev/null
@@ -1,224 +0,0 @@
-
-
- $PROJECT_DIR$/classes/artifacts/peanut_b
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/peanut_book_war.xml b/.idea/artifacts/peanut_book_war.xml
deleted file mode 100644
index 9b493d2a..00000000
--- a/.idea/artifacts/peanut_book_war.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- $PROJECT_DIR$/target
-
-
- peanut_book
- war
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/artifacts/peanut_book_war_exploded.xml b/.idea/artifacts/peanut_book_war_exploded.xml
deleted file mode 100644
index 84c41aaf..00000000
--- a/.idea/artifacts/peanut_book_war_exploded.xml
+++ /dev/null
@@ -1,232 +0,0 @@
-
-
- $PROJECT_DIR$/target/peanut_book
-
-
- true
- peanut_book
- war
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
deleted file mode 100644
index aade46df..00000000
--- a/.idea/compiler.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/dataSources/5ef67284-a828-4f4c-9e96-4830bde0ea15.xml b/.idea/dataSources/5ef67284-a828-4f4c-9e96-4830bde0ea15.xml
deleted file mode 100644
index 341d3fd7..00000000
--- a/.idea/dataSources/5ef67284-a828-4f4c-9e96-4830bde0ea15.xml
+++ /dev/null
@@ -1,5778 +0,0 @@
-
-
-
-
- 8.0.30
- InnoDB
- InnoDB
- lower/lower
-
-
- 1
- utf8mb4_0900_ai_ci
-
-
- 1
- utf8mb4_0900_ai_ci
-
-
- utf8mb3_general_ci
-
-
- utf8mb4_0900_ai_ci
-
-
- utf8mb4_0900_ai_ci
-
-
- utf8mb4_0900_ai_ci
-
-
- armscii8
- 0
-
-
- armscii8
- 1
-
-
- ascii
- 0
-
-
- ascii
- 1
-
-
- big5
- 0
-
-
- big5
- 1
-
-
- binary
- 1
-
-
- cp1250
- 0
-
-
- cp1250
- 0
-
-
- cp1250
- 0
-
-
- cp1250
- 1
-
-
- cp1250
- 0
-
-
- cp1251
- 0
-
-
- cp1251
- 0
-
-
- cp1251
- 1
-
-
- cp1251
- 0
-
-
- cp1251
- 0
-
-
- cp1256
- 0
-
-
- cp1256
- 1
-
-
- cp1257
- 0
-
-
- cp1257
- 1
-
-
- cp1257
- 0
-
-
- cp850
- 0
-
-
- cp850
- 1
-
-
- cp852
- 0
-
-
- cp852
- 1
-
-
- cp866
- 0
-
-
- cp866
- 1
-
-
- cp932
- 0
-
-
- cp932
- 1
-
-
- dec8
- 0
-
-
- dec8
- 1
-
-
- eucjpms
- 0
-
-
- eucjpms
- 1
-
-
- euckr
- 0
-
-
- euckr
- 1
-
-
- gb18030
- 0
-
-
- gb18030
- 1
-
-
- gb18030
- 0
-
-
- gb2312
- 0
-
-
- gb2312
- 1
-
-
- gbk
- 0
-
-
- gbk
- 1
-
-
- geostd8
- 0
-
-
- geostd8
- 1
-
-
- greek
- 0
-
-
- greek
- 1
-
-
- hebrew
- 0
-
-
- hebrew
- 1
-
-
- hp8
- 0
-
-
- hp8
- 1
-
-
- keybcs2
- 0
-
-
- keybcs2
- 1
-
-
- koi8r
- 0
-
-
- koi8r
- 1
-
-
- koi8u
- 0
-
-
- koi8u
- 1
-
-
- latin1
- 0
-
-
- latin1
- 0
-
-
- latin1
- 0
-
-
- latin1
- 0
-
-
- latin1
- 0
-
-
- latin1
- 0
-
-
- latin1
- 0
-
-
- latin1
- 1
-
-
- latin2
- 0
-
-
- latin2
- 0
-
-
- latin2
- 0
-
-
- latin2
- 1
-
-
- latin2
- 0
-
-
- latin5
- 0
-
-
- latin5
- 1
-
-
- latin7
- 0
-
-
- latin7
- 0
-
-
- latin7
- 1
-
-
- latin7
- 0
-
-
- macce
- 0
-
-
- macce
- 1
-
-
- macroman
- 0
-
-
- macroman
- 1
-
-
- sjis
- 0
-
-
- sjis
- 1
-
-
- swe7
- 0
-
-
- swe7
- 1
-
-
- tis620
- 0
-
-
- tis620
- 1
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 1
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ucs2
- 0
-
-
- ujis
- 0
-
-
- ujis
- 1
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 1
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16
- 0
-
-
- utf16le
- 0
-
-
- utf16le
- 1
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 1
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf32
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 1
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb3
- 0
-
-
- utf8mb4
- 1
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- utf8mb4
- 0
-
-
- 作者表
- utf8mb4_general_ci
-
-
- 市
- utf8mb3_general_ci
-
-
- 县/区
- utf8mb3_general_ci
-
-
- 省
- utf8mb3_general_ci
-
-
- 图书表
- utf8mb4_general_ci
-
-
- 阅读记录
- utf8mb4_general_ci
-
-
-
- 章节表
- utf8mb4_general_ci
-
-
- 章节内容表
- utf8mb4_general_ci
-
-
- 阅读进度表
- utf8mb4_general_ci
-
-
- 书架表
- utf8mb4_general_ci
-
-
- 订单表
- utf8mb4_general_ci
-
-
- 商品订单详情表
- utf8mb4_general_ci
-
-
-
-
-
- 购物车
- utf8mb4_general_ci
-
-
-
-
- 充值订单表
- utf8mb4_general_ci
-
-
- 微信订单表
- utf8mb4_general_ci
-
-
- 支付宝订单表
- utf8mb4_general_ci
-
-
-
- 出版商表
- utf8mb4_general_ci
-
-
-
-
-
-
-
-
-
-
-
-
-
- 定时任务
- utf8mb4_general_ci
-
-
- 定时任务日志
- utf8mb4_general_ci
-
-
-
- 商品三级分类
- utf8mb4_general_ci
-
-
- 商品表
- utf8mb4_general_ci
-
-
- 秒杀库存表
- utf8mb3_general_ci
-
-
-
-
-
-
- 活动实体
- utf8mb4_general_ci
-
-
- 系统日志
- utf8mb4_general_ci
-
-
- 系统验证码
- utf8mb4_general_ci
-
-
- 系统配置信息表
- utf8mb4_general_ci
-
-
- 字典数据
- utf8mb4_general_ci
-
-
- 系统日志
- utf8mb4_general_ci
-
-
- 菜单管理
- utf8mb4_general_ci
-
-
- 文件上传
- utf8mb4_general_ci
-
-
- 角色
- utf8mb4_general_ci
-
-
- 角色与菜单对应关系
- utf8mb4_general_ci
-
-
- 系统用户
- utf8mb4_general_ci
-
-
- 用户与角色对应关系
- utf8mb4_general_ci
-
-
- 系统用户Token
- utf8mb4_general_ci
-
-
- 用户
- utf8mb4_general_ci
-
-
- 交易明细
- utf8mb4_general_ci
-
-
-
-
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 作者姓名
- varchar(10)|0s
- normal
-
-
- 3
- 性别
- int|0s
- normal
-
-
- 4
- 年龄
- int|0s
- normal
-
-
- 5
- 简介
- text|0s
- normal
-
-
- 6
- 电话
- varchar(11)|0s
- normal
-
-
- 7
- 住址
- varchar(50)|0s
- normal
-
-
- 8
- 创建时间
- datetime|0s
- normal
-
-
- 9
- 更新时间
- datetime|0s
- normal
-
-
- 10
- 排序
- int|0s
- normal
-
-
- 11
- 删除标记
- int|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 所属省
- bigint|0s
- normal
-
-
- 3
- 城市名称
- varchar(40)|0s
- normal
-
-
- 4
- datetime|0s
- normal
-
-
- 5
- 区域编码
- varchar(20)|0s
- normal
-
-
- prov_id
- btree
-
-
- 1
- city_id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- bigint|0s
- normal
-
-
- 3
- 县/区名称
- varchar(40)|0s
- normal
-
-
- 4
- datetime|0s
- normal
-
-
- 5
- 区域编码
- varchar(20)|0s
- normal
-
-
- city_id
- btree
-
-
- 1
- county_id
- 1
-
-
- city_id
- e_book
- base_city
- city_id
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 省名称
- varchar(40)|0s
- normal
-
-
- 3
- datetime|0s
- normal
-
-
- 4
- 区域编码
- varchar(20)|0s
- normal
-
-
- 1
- prov_id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 书名
- varchar(32)|0s
- normal
-
-
- 3
- 作者id
- varchar(64)|0s
- normal
-
-
- 4
- 简介
- text|0s
- normal
-
-
- 5
- 序言
- text|0s
- normal
-
-
- 6
- 内容
- text|0s
- normal
-
-
- 7
- 类型
- varchar(10)|0s
- normal
-
-
- 8
- 价格
- decimal(10,2 digit)|0s
- normal
-
-
- 9
- 秒杀
- int|0s
- 0
- normal
-
-
- 10
- 促销价格
- decimal(10,2 digit)|0s
- normal
-
-
- 11
- 置顶
- int|0s
- normal
-
-
- 12
- 出版商id
- varchar(64)|0s
- normal
-
-
- 13
- 插图
- varchar(512)|0s
- normal
-
-
- 14
- 图片list
- varchar(1000)|0s
- normal
-
-
- 15
- 父id
- int|0s
- normal
-
-
- 16
- 层级
- char(10)|0s
- normal
-
-
- 17
- 章节处理状态 0-未处理 1-处理中 2-成功 3-失败
- varchar(10)|0s
- '0'
- normal
-
-
- 18
- 内容处理状态 0-未处理 1-处理中 2-成功 3-失败
- varchar(10)|0s
- '0'
- normal
-
-
- 19
- 音频处理状态 0-未处理 1-处理中 2-成功 3-失败
- varchar(10)|0s
- '0'
- normal
-
-
- 20
- 小说免费章节数
- int|0s
- 0
- normal
-
-
- 21
- 是否上架
- int|0s
- 0
- normal
-
-
- 22
- 0 - 免费 1 - vip可读 2 - 付费可读
- varchar(20)|0s
- normal
-
-
- 23
- 小说路径
- varchar(512)|0s
- normal
-
-
- 24
- 创建日期
- datetime|0s
- normal
-
-
- 25
- 更新日期
- datetime|0s
- normal
-
-
- 26
- 排序
- int|0s
- normal
-
-
- 27
- 删除标记
- int|0s
- 0
- normal
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 用户id
- int|0s
- normal
-
-
- 3
- 图书id
- int|0s
- normal
-
-
- 4
- 图书名称
- varchar(32)|0s
- normal
-
-
- 5
- 创建时间
- datetime|0s
- normal
-
-
- 6
- 更新时间
- datetime|0s
- normal
-
-
- 7
- 排序
- int|0s
- normal
-
-
- 8
- 删除标记
- int|0s
- 0
- normal
-
-
- 9
- 图片路径
- varchar(255)|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 类型
- varchar(255)|0s
- normal
-
-
- 3
- 渠道
- varchar(255)|0s
- normal
-
-
- 4
- 真实价格
- varchar(255)|0s
- normal
-
-
- 5
- 金额
- varchar(255)|0s
- normal
-
-
- 6
- 会员开通月份
- varchar(255)|0s
- normal
-
-
- 7
- 充值名称
- varchar(255)|0s
- normal
-
-
- 1
- price_type_id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 图书id
- int|0s
- normal
-
-
- 3
- 章节号
- int|0s
- normal
-
-
- 4
- 章节
- longtext|0s
- normal
-
-
- 5
- 内容
- longtext|0s
- normal
-
-
- 6
- 音频文件地址
- varchar(255)|0s
- normal
-
-
- 7
- datetime|0s
- normal
-
-
- 8
- datetime|0s
- normal
-
-
- 9
- int|0s
- normal
-
-
- 10
- int|0s
- 0
- normal
-
-
- book_id
- btree
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- int|0s
- normal
-
-
- 3
- int|0s
- normal
-
-
- 4
- int|0s
- normal
-
-
- 5
- text|0s
- normal
-
-
- 6
- 目录层级
- int|0s
- normal
-
-
- 7
- varchar(255)|0s
- normal
-
-
- 8
- text|0s
- normal
-
-
- 9
- datetime|0s
- normal
-
-
- 10
- datetime|0s
- normal
-
-
- 11
- int|0s
- normal
-
-
- 12
- int|0s
- 0
- normal
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 用户id
- int|0s
- normal
-
-
- 3
- 图书id
- int|0s
- normal
-
-
- 4
- 章节id
- int|0s
- normal
-
-
- 5
- 章节名称
- varchar(64)|0s
- normal
-
-
- 6
- 章节百分比
- varchar(32)|0s
- normal
-
-
- 7
- 章节内容id
- int|0s
- normal
-
-
- 8
- 创建时间
- datetime|0s
- normal
-
-
- 9
- 更新时间
- datetime|0s
- normal
-
-
- 10
- int|0s
- normal
-
-
- 11
- int|0s
- 0
- normal
-
-
- 12
- dom的Dep 用来存前端传来上下定位的
- varchar(255)|0s
- normal
-
-
- 13
- dom的Value 用来存前端传来上下定位的
- varchar(255)|0s
- normal
-
-
- 14
- dom的domVmCount 用来存前端传来上下定位的
- int|0s
- normal
-
-
- 15
- int|0s
- normal
-
-
- 16
- 与底部的距离
- int|0s
- normal
-
-
- 17
- 高度
- int|0s
- normal
-
-
- 18
- 与左边的距离
- int|0s
- normal
-
-
- 19
- 与右边的距离
- int|0s
- normal
-
-
- 20
- 与头部的距离
- int|0s
- normal
-
-
- 21
- 宽度
- int|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- int|0s
- normal
-
-
- 3
- 书名
- varchar(32)|0s
- normal
-
-
- 4
- int|0s
- normal
-
-
- 5
- datetime|0s
- normal
-
-
- 6
- datetime|0s
- normal
-
-
- 7
- int|0s
- normal
-
-
- 8
- int|0s
- 0
- normal
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 订单编号 yyyymmddnnnnnnnn’
- varchar(100)|0s
- normal
-
-
- 3
- 下单人ID
- int|0s
- normal
-
-
- 4
- 收货人姓名
- varchar(10)|0s
- normal
-
-
- 5
- 省
- varchar(50)|0s
- normal
-
-
- 6
- 市
- varchar(20)|0s
- normal
-
-
- 7
- 区
- varchar(50)|0s
- normal
-
-
- 8
- 收货人手机号
- varchar(255)|0s
- normal
-
-
- 9
- 地址
- varchar(100)|0s
- normal
-
-
- 10
- 支付方式 1支付宝,2微信,3ios内购
- varchar(10)|0s
- normal
-
-
- 11
- 订单金额
- decimal(10)|0s
- normal
-
-
- 12
- 优惠金额
- decimal(10)|0s
- normal
-
-
- 13
- 实收金额
- decimal(10)|0s
- normal
-
-
- 14
- 运费
- decimal(10)|0s
- normal
-
-
- 15
- 物流公司名称
- varchar(255)|0s
- normal
-
-
- 16
- 物流单号
- varchar(255)|0s
- normal
-
-
- 17
- 优惠券id
- int|0s
- normal
-
-
- 18
- 优惠券名称
- varchar(255)|0s
- normal
-
-
- 19
- 下单时间
- datetime|0s
- normal
-
-
- 20
- 发货时间
- datetime|0s
- normal
-
-
- 21
- 订单状态 0-未付款 1-待发货 2-已发货 3-交易成功 4-交易失败
- varchar(10)|0s
- normal
-
-
- 22
- 交易成功时间
- datetime|0s
- normal
-
-
- 23
- int|0s
- 0
- normal
-
-
- 24
- vip order point
- varchar(255)|0s
- normal
-
-
- 25
- 快递单号
- varchar(255)|0s
- normal
-
-
- 26
- 是否存在发货的商品 0:不存在,1:已存在
- char(2)|0s
- normal
-
-
- 27
- 地址id
- int|0s
- normal
-
-
- 28
- 备注
- varchar(1024)|0s
- normal
-
-
- 29
- 发送给快递鸟的订单编号
- varchar(255)|0s
- normal
-
-
- 30
- 支付时间
- datetime|0s
- normal
-
-
- 31
- ios内购支付商品id
- varchar(255)|0s
- normal
-
-
- 1
- order_id
- 1
-
-
- 1
- 订单详情id
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 订单表id
- int|0s
- normal
-
-
- 3
- 用户id
- int|0s
- normal
-
-
- 4
- 商品id
- int|0s
- normal
-
-
- 5
- 商品名称
- varchar(50)|0s
- normal
-
-
- 6
- 商品数量
- int|0s
- normal
-
-
- 7
- 商品单价
- decimal(10)|0s
- normal
-
-
- 8
- 商品重量
- float|0s
- normal
-
-
- 9
- 商品类型
- varchar(20)|0s
- normal
-
-
- 10
- 下单时间
- datetime|0s
- normal
-
-
- 11
- 物流单号
- varchar(255)|0s
- normal
-
-
- 12
- 订单状态 0-待支付 1-待发货 2-待收货
- varchar(10)|0s
- normal
-
-
- 13
- 备注
- varchar(255)|0s
- normal
-
-
- 14
- 地址id
- int|0s
- normal
-
-
- 15
- 面单信息
- mediumtext|0s
- normal
-
-
- 16
- 快递公司编码
- varchar(32)|0s
- normal
-
-
- 17
- 快递公司
- varchar(32)|0s
- normal
-
-
- 18
- 是否打印
- char(8)|0s
- normal
-
-
- 19
- 商品图片地址
- varchar(255)|0s
- normal
-
-
- 1
- all_order_id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 商品名称
- varchar(255)|0s
- normal
-
-
- 3
- 商品数量
- int|0s
- normal
-
-
- 4
- 商品价格
- decimal(10,2 digit)|0s
- normal
-
-
- 5
- 商品重量kg
- double|0s
- normal
-
-
- 6
- 商品描述
- varchar(255)|0s
- normal
-
-
- 7
- 发送快递表主键
- int|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 订单号
- varchar(255)|0s
- normal
-
-
- 3
- 快递公司编码
- varchar(255)|0s
- normal
-
-
- 4
- 收件人姓名
- varchar(255)|0s
- normal
-
-
- 5
- 收件人电话
- varchar(255)|0s
- normal
-
-
- 6
- 收件省
- varchar(255)|0s
- normal
-
-
- 7
- 收件市
- varchar(255)|0s
- normal
-
-
- 8
- 收件区/县
- varchar(255)|0s
- normal
-
-
- 9
- 收件人详细地址
- varchar(255)|0s
- normal
-
-
- 10
- 备注
- varchar(255)|0s
- normal
-
-
- 11
- 订单详情ID
- int|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 订单详情ID
- int|0s
- normal
-
-
- 3
- 订单商品id
- int|0s
- normal
-
-
- 4
- 快递编号
- varchar(255)|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 用户id
- int|0s
- normal
-
-
- 3
- 商品id
- int|0s
- normal
-
-
- 4
- 商品数量
- int|0s
- normal
-
-
- 5
- 商品单价
- decimal(10,2 digit)|0s
- normal
-
-
- 6
- 删除标记
- int|0s
- 0
- normal
-
-
- 7
- 创建时间
- datetime|0s
- normal
-
-
- 8
- 更新时间
- datetime|0s
- normal
-
-
- 1
- cart_id
- 1
-
-
- 1
- 主键ID
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 商品描述
- varchar(255)|0s
- normal
-
-
- 3
- 订单号的唯一标识
- varchar(255)|0s
- normal
-
-
- 4
- 购买的商品ID
- varchar(255)|0s
- normal
- utf8mb4_general_ci
-
-
- 5
- 用户ID
- varchar(255)|0s
- normal
-
-
- 6
- 内购订单编号
- varchar(255)|0s
- normal
-
-
- 7
- 创建订单时间
- datetime|0s
- normal
-
-
- 8
- 充值金额
- varchar(100)|0s
- normal
- utf8mb4_general_ci
-
-
- 9
- 轮询十次失败标识
- int|0s
- normal
-
-
- 10
- 订单交易凭证
- text|0s
- normal
-
-
- 11
- 订单状态 0-未付款 1-待发货 2-已发货 3-交易成功 4-交易失败
- varchar(10)|0s
- normal
-
-
- 12
- 删除标记 0 -未删除 1-已删除
- int|0s
- normal
-
-
- 13
- 0-未关单 1-已关单
- int|0s
- normal
-
-
- 14
- 实际到账金额
- varchar(255)|0s
- normal
-
-
- 15
- 充值金额
- varchar(255)|0s
- normal
-
-
- 16
- 充值渠道
- varchar(255)|0s
- normal
-
-
- 17
- realAmount
- varchar(255)|0s
- normal
-
-
- 18
- 充值状态
- varchar(255)|0s
- normal
-
-
- 19
- 支付成功时间
- datetime|0s
- normal
-
-
- 20
- 传输具体的交易信息
- varchar(255)|0s
- normal
-
-
- 21
- 标识内购商品和相关操作的ID
- varchar(255)|0s
- normal
-
-
- 22
- 买方支付的金额包括税和折扣
- varchar(255)|0s
- normal
-
-
- 23
- base64字符
- varchar(255)|0s
- normal
-
-
- TransactionId
- 1
- btree
-
-
- 1
- id
- 1
-
-
- TransactionId
- TransactionId
-
-
- 1
- bigint|0s
- 1
- normal
-
-
- 2
- varchar(255)|0s
- normal
-
-
- 3
- varchar(255)|0s
- normal
-
-
- 4
- varchar(255)|0s
- normal
-
-
- 5
- varchar(255)|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- id
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 用户id
- int|0s
- normal
-
-
- 3
- 充值金额
- decimal(10)|0s
- normal
-
-
- 4
- 充值渠道
- varchar(20)|0s
- normal
-
-
- 5
- 订单号
- varchar(32)|0s
- normal
-
-
- 6
- 实际充值金额
- decimal(10)|0s
- normal
-
-
- 7
- 充值状态
- varchar(20)|0s
- normal
-
-
- 8
- 下单时间
- datetime|0s
- normal
-
-
- 9
- 支付成功时间
- datetime|0s
- normal
-
-
- 10
- 用户名
- varchar(255)|0s
- normal
-
-
- 11
- varchar(34)|0s
- normal
-
-
- 12
- varchar(255)|0s
- normal
-
-
- 13
- varchar(255)|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 预支付交易会话标识
- varchar(60)|0s
- normal
-
-
- 3
- 用户Id
- bigint|0s
- normal
-
-
- 4
- 订单编号
- varchar(100)|0s
- normal
-
-
- 5
- 支付金额
- decimal(10,2 digit)|0s
- normal
-
-
- 6
- 创建订单时间
- datetime|0s
- normal
-
-
- 7
- 系统日志
- varchar(1024)|0s
- normal
-
-
- 8
- 交易类型
- varchar(100)|0s
- normal
-
-
- 9
- 订单Id
- varchar(255)|0s
- normal
-
-
- 10
- 购买配置id
- bigint|0s
- normal
-
-
- 11
- 结束时间
- datetime|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- varchar(60)|0s
- normal
-
-
- 3
- varchar(100)|0s
- normal
-
-
- 4
- varchar(100)|0s
- normal
-
-
- 5
- datetime|0s
- normal
-
-
- 6
- varchar(100)|0s
- normal
-
-
- 7
- varchar(100)|0s
- normal
-
-
- 8
- varchar(100)|0s
- normal
-
-
- 9
- varchar(100)|0s
- normal
-
-
- 10
- varchar(100)|0s
- normal
-
-
- 11
- varchar(100)|0s
- normal
-
-
- 12
- varchar(100)|0s
- normal
-
-
- 13
- varchar(100)|0s
- normal
-
-
- 14
- varchar(100)|0s
- normal
-
-
- 15
- varchar(100)|0s
- normal
-
-
- 16
- varchar(100)|0s
- normal
-
-
- 17
- varchar(100)|0s
- normal
-
-
- 18
- varchar(255)|0s
- normal
-
-
- 19
- varchar(255)|0s
- normal
-
-
- 20
- varchar(255)|0s
- normal
-
-
- 21
- varchar(255)|0s
- normal
-
-
- 22
- varchar(255)|0s
- normal
-
-
- 23
- varchar(255)|0s
- normal
-
-
- 24
- varchar(255)|0s
- normal
-
-
- 25
- varchar(255)|0s
- normal
-
-
- 26
- varchar(255)|0s
- normal
-
-
- 27
- varchar(255)|0s
- normal
-
-
- 28
- datetime|0s
- normal
-
-
- 29
- datetime|0s
- normal
-
-
- 30
- datetime|0s
- normal
-
-
- 31
- datetime|0s
- normal
-
-
- 32
- varchar(255)|0s
- normal
-
-
- 33
- varchar(255)|0s
- normal
-
-
- 34
- varchar(255)|0s
- normal
-
-
- out_trade_no
- 1
- btree
-
-
- 1
- id
- 1
-
-
- out_trade_no
- out_trade_no
-
-
- 1
- 分类id
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 分类名称
- char(50)|0s
- normal
-
-
- 3
- 父分类id
- bigint|0s
- normal
-
-
- 4
- 层级
- int|0s
- normal
-
-
- 5
- 是否显示[0-不显示,1显示]
- tinyint|0s
- normal
-
-
- 6
- 排序
- int|0s
- normal
-
-
- 7
- 图标地址
- char(255)|0s
- normal
-
-
- 8
- 计量单位
- char(50)|0s
- normal
-
-
- 9
- 商品数量
- int|0s
- normal
-
-
- 1
- cat_id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 出版商名称
- varchar(20)|0s
- normal
-
-
- 3
- 出版商简介
- text|0s
- normal
-
-
- 4
- 联系方式
- int|0s
- normal
-
-
- 5
- 创建时间
- datetime|0s
- normal
-
-
- 6
- 更新时间
- datetime|0s
- normal
-
-
- 7
- 删除标记
- int|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(200)|0s
- 1
- normal
-
-
- 3
- varchar(200)|0s
- 1
- normal
-
-
- 4
- blob|0s
- normal
-
-
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- btree
-
-
- 1
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- 1
-
-
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- e_book
- qrtz_triggers
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(200)|0s
- 1
- normal
-
-
- 3
- blob|0s
- 1
- normal
-
-
- 1
- SCHED_NAME
-CALENDAR_NAME
- 1
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(200)|0s
- 1
- normal
-
-
- 3
- varchar(200)|0s
- 1
- normal
-
-
- 4
- varchar(120)|0s
- 1
- normal
-
-
- 5
- varchar(80)|0s
- normal
-
-
- 1
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- 1
-
-
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- e_book
- qrtz_triggers
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(95)|0s
- 1
- normal
-
-
- 3
- varchar(200)|0s
- 1
- normal
-
-
- 4
- varchar(200)|0s
- 1
- normal
-
-
- 5
- varchar(200)|0s
- 1
- normal
-
-
- 6
- bigint|0s
- 1
- normal
-
-
- 7
- bigint|0s
- 1
- normal
-
-
- 8
- int|0s
- 1
- normal
-
-
- 9
- varchar(16)|0s
- 1
- normal
-
-
- 10
- varchar(200)|0s
- normal
-
-
- 11
- varchar(200)|0s
- normal
-
-
- 12
- varchar(1)|0s
- normal
-
-
- 13
- varchar(1)|0s
- normal
-
-
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- btree
-
-
- SCHED_NAME
-TRIGGER_GROUP
- btree
-
-
- SCHED_NAME
-INSTANCE_NAME
-REQUESTS_RECOVERY
- btree
-
-
- SCHED_NAME
-INSTANCE_NAME
- btree
-
-
- SCHED_NAME
-JOB_NAME
-JOB_GROUP
- btree
-
-
- SCHED_NAME
-JOB_GROUP
- btree
-
-
- 1
- SCHED_NAME
-ENTRY_ID
- 1
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(200)|0s
- 1
- normal
-
-
- 3
- varchar(200)|0s
- 1
- normal
-
-
- 4
- varchar(250)|0s
- normal
-
-
- 5
- varchar(250)|0s
- 1
- normal
-
-
- 6
- varchar(1)|0s
- 1
- normal
-
-
- 7
- varchar(1)|0s
- 1
- normal
-
-
- 8
- varchar(1)|0s
- 1
- normal
-
-
- 9
- varchar(1)|0s
- 1
- normal
-
-
- 10
- blob|0s
- normal
-
-
- SCHED_NAME
-JOB_GROUP
- btree
-
-
- SCHED_NAME
-REQUESTS_RECOVERY
- btree
-
-
- 1
- SCHED_NAME
-JOB_NAME
-JOB_GROUP
- 1
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(40)|0s
- 1
- normal
-
-
- 1
- SCHED_NAME
-LOCK_NAME
- 1
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(200)|0s
- 1
- normal
-
-
- 1
- SCHED_NAME
-TRIGGER_GROUP
- 1
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(200)|0s
- 1
- normal
-
-
- 3
- bigint|0s
- 1
- normal
-
-
- 4
- bigint|0s
- 1
- normal
-
-
- 1
- SCHED_NAME
-INSTANCE_NAME
- 1
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(200)|0s
- 1
- normal
-
-
- 3
- varchar(200)|0s
- 1
- normal
-
-
- 4
- bigint|0s
- 1
- normal
-
-
- 5
- bigint|0s
- 1
- normal
-
-
- 6
- bigint|0s
- 1
- normal
-
-
- 1
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- 1
-
-
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- e_book
- qrtz_triggers
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(200)|0s
- 1
- normal
-
-
- 3
- varchar(200)|0s
- 1
- normal
-
-
- 4
- varchar(512)|0s
- normal
-
-
- 5
- varchar(512)|0s
- normal
-
-
- 6
- varchar(512)|0s
- normal
-
-
- 7
- int|0s
- normal
-
-
- 8
- int|0s
- normal
-
-
- 9
- bigint|0s
- normal
-
-
- 10
- bigint|0s
- normal
-
-
- 11
- decimal(13,4 digit)|0s
- normal
-
-
- 12
- decimal(13,4 digit)|0s
- normal
-
-
- 13
- varchar(1)|0s
- normal
-
-
- 14
- varchar(1)|0s
- normal
-
-
- 1
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- 1
-
-
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- e_book
- qrtz_triggers
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
-
-
- 1
- varchar(120)|0s
- 1
- normal
-
-
- 2
- varchar(200)|0s
- 1
- normal
-
-
- 3
- varchar(200)|0s
- 1
- normal
-
-
- 4
- varchar(200)|0s
- 1
- normal
-
-
- 5
- varchar(200)|0s
- 1
- normal
-
-
- 6
- varchar(250)|0s
- normal
-
-
- 7
- bigint|0s
- normal
-
-
- 8
- bigint|0s
- normal
-
-
- 9
- int|0s
- normal
-
-
- 10
- varchar(16)|0s
- 1
- normal
-
-
- 11
- varchar(8)|0s
- 1
- normal
-
-
- 12
- bigint|0s
- 1
- normal
-
-
- 13
- bigint|0s
- normal
-
-
- 14
- varchar(200)|0s
- normal
-
-
- 15
- smallint|0s
- normal
-
-
- 16
- blob|0s
- normal
-
-
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
-TRIGGER_STATE
- btree
-
-
- SCHED_NAME
-TRIGGER_GROUP
-TRIGGER_STATE
- btree
-
-
- SCHED_NAME
-TRIGGER_GROUP
- btree
-
-
- SCHED_NAME
-JOB_NAME
-JOB_GROUP
- btree
-
-
- SCHED_NAME
-JOB_GROUP
- btree
-
-
- SCHED_NAME
-NEXT_FIRE_TIME
- btree
-
-
- SCHED_NAME
-TRIGGER_STATE
-NEXT_FIRE_TIME
- btree
-
-
- SCHED_NAME
-TRIGGER_STATE
- btree
-
-
- SCHED_NAME
-CALENDAR_NAME
- btree
-
-
- SCHED_NAME
-MISFIRE_INSTR
-NEXT_FIRE_TIME
-TRIGGER_GROUP
-TRIGGER_STATE
- btree
-
-
- SCHED_NAME
-MISFIRE_INSTR
-NEXT_FIRE_TIME
-TRIGGER_STATE
- btree
-
-
- SCHED_NAME
-MISFIRE_INSTR
-NEXT_FIRE_TIME
- btree
-
-
- 1
- SCHED_NAME
-TRIGGER_NAME
-TRIGGER_GROUP
- 1
-
-
- SCHED_NAME
-JOB_NAME
-JOB_GROUP
- e_book
- qrtz_job_details
- SCHED_NAME
-JOB_NAME
-JOB_GROUP
-
-
- 1
- 任务id
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- spring bean名称
- varchar(200)|0s
- normal
-
-
- 3
- 参数
- varchar(2000)|0s
- normal
-
-
- 4
- cron表达式
- varchar(100)|0s
- normal
-
-
- 5
- 任务状态 0:正常 1:暂停
- tinyint|0s
- normal
-
-
- 6
- 备注
- varchar(255)|0s
- normal
-
-
- 7
- 创建时间
- datetime|0s
- normal
-
-
- 1
- job_id
- 1
-
-
- 1
- 任务日志id
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 任务id
- bigint|0s
- 1
- normal
-
-
- 3
- spring bean名称
- varchar(200)|0s
- normal
-
-
- 4
- 参数
- varchar(2000)|0s
- normal
-
-
- 5
- 任务状态 0:成功 1:失败
- tinyint|0s
- 1
- normal
-
-
- 6
- 失败信息
- varchar(2000)|0s
- normal
-
-
- 7
- 耗时(单位:毫秒)
- int|0s
- 1
- normal
-
-
- 8
- 创建时间
- datetime|0s
- normal
-
-
- job_id
- btree
-
-
- 1
- log_id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 场次id
- int|0s
- normal
-
-
- 3
- 商品id
- int|0s
- normal
-
-
- 4
- 商品名称
- varchar(50)|0s
- normal
-
-
- 5
- 秒杀价格
- decimal(10,2 digit)|0s
- normal
-
-
- 6
- 秒杀数量
- varchar(255)|0s
- normal
-
-
- 7
- 限制购买
- varchar(255)|0s
- normal
-
-
- 8
- 权重
- varchar(255)|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- 分类id
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 分类名称
- char(50)|0s
- normal
-
-
- 3
- 父分类id
- bigint|0s
- normal
-
-
- 4
- 层级
- int|0s
- normal
-
-
- 5
- 是否显示[0-不显示,1显示]
- tinyint|0s
- normal
-
-
- 6
- 排序
- int|0s
- normal
-
-
- 7
- 图标地址
- char(255)|0s
- normal
-
-
- 8
- 计量单位
- char(50)|0s
- normal
-
-
- 9
- 商品数量
- int|0s
- normal
-
-
- 1
- cat_id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 商品名称
- varchar(100)|0s
- normal
-
-
- 3
- 商品价格
- decimal(10,2 digit)|0s
- normal
-
-
- 4
- 商品重量
- float|0s
- normal
-
-
- 5
- 上架状态
- int|0s
- normal
-
-
- 6
- 商品介绍
- longtext|0s
- normal
-
-
- 7
- 商品分类id
- int|0s
- normal
-
-
- 8
- 商品 类型 0 - 预售 1 - 在售
- varchar(255)|0s
- normal
-
-
- 9
- 商品库存
- int|0s
- normal
-
-
- 10
- 商品图首页
- varchar(255)|0s
- normal
-
-
- 11
- 商品 多图
- varchar(500)|0s
- normal
-
-
- 12
- 商品销量
- varchar(255)|0s
- normal
-
-
- 13
- 创建时间
- datetime|0s
- normal
-
-
- 14
- 更新时间
- datetime|0s
- normal
-
-
- 15
- 删除标记
- int|0s
- 0
- normal
-
-
- 16
- 排序
- int|0s
- normal
-
-
- 17
- 作者
- varchar(255)|0s
- normal
-
-
- 18
- 出版方
- varchar(255)|0s
- normal
-
-
- 19
- 出版时间
- varchar(32)|0s
- normal
-
-
- 20
- 开本
- varchar(255)|0s
- normal
-
-
- 21
- 页数
- int|0s
- normal
-
-
- 22
- 内文用纸材质
- varchar(16)|0s
- normal
-
-
- 23
- 总销量
- int|0s
- 0
- normal
-
-
- 24
- 商品类型
- varchar(32)|0s
- normal
-
-
- 25
- 商品类型
- varchar(32)|0s
- normal
-
-
- 26
- 活动价
- decimal(10,2 digit)|0s
- normal
-
-
- 27
- 是否包邮 0:包邮 ,1:不包邮
- char(8)|0s
- normal
-
-
- 1
- product_id
- 1
-
-
- 1
- id
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 名称
- varchar(120)|0s
- 1
- normal
-
-
- 3
- 秒杀开启时间
- timestamp|0s
- 1
- normal
-
-
- 4
- 秒杀结束时间
- timestamp|0s
- 1
- normal
-
-
- 5
- 创建时间
- timestamp|0s
- 1
- normal
-
-
- start_time
- btree
-
-
- end_time
- btree
-
-
- create_time
- btree
-
-
- 1
- seckill_id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 优惠券类型 0:现金,1:折扣
- int|0s
- normal
-
-
- 3
- 优惠券名称
- varchar(100)|0s
- normal
-
-
- 4
- 优惠券面额
- decimal(10,2 digit)|0s
- normal
-
-
- 5
- 优惠券封面
- varchar(255)|0s
- normal
-
-
- 6
- 每人限领
- int|0s
- normal
-
-
- 7
- 时效
- varchar(16)|0s
- normal
-
-
- 8
- 生效方式 0:领取日生效 1: 设置生效日期
- int|0s
- normal
-
-
- 9
- 生效日期
- datetime|0s
- normal
-
-
- 10
- 截止日期
- datetime|0s
- normal
-
-
- 11
- 总发行数量
- int|0s
- normal
-
-
- 12
- 当前状态
- varchar(16)|0s
- normal
-
-
- 13
- 备注
- varchar(512)|0s
- normal
-
-
- 14
- 删除标志位
- int|0s
- normal
-
-
- 15
- 商品类型 0: 商品 ,1电子书
- int|0s
- normal
-
-
- 16
- 使用门槛
- int|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 优惠券id
- bigint|0s
- normal
-
-
- 3
- 会员id
- bigint|0s
- normal
-
-
- 4
- 订单id
- bigint|0s
- normal
-
-
- 5
- 优惠券码
- varchar(64)|0s
- normal
-
-
- 6
- 领取人昵称
- varchar(64)|0s
- normal
-
-
- 7
- 获取类型:0->后台赠送;1->主动获取
- int|0s
- normal
-
-
- 8
- 创建时间
- datetime|0s
- normal
-
-
- 9
- 使用状态:0->未使用;1->已使用;2->已过期
- int|0s
- normal
-
-
- 10
- 使用时间
- datetime|0s
- normal
-
-
- 11
- 订单号码
- varchar(100)|0s
- normal
-
-
- 12
- 商品类型 0: 商品 ,1电子书
- int|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 优惠券id
- bigint|0s
- normal
-
-
- 3
- 商品分类id
- bigint|0s
- normal
-
-
- 4
- 商品分类名称
- varchar(200)|0s
- normal
-
-
- 5
- 父分类名称
- varchar(200)|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 优惠券id
- bigint|0s
- normal
-
-
- 3
- 商品id
- bigint|0s
- normal
-
-
- 4
- 商品名称
- varchar(500)|0s
- normal
-
-
- 5
- 商品条码
- varchar(200)|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 活动名称
- varchar(100)|0s
- normal
-
-
- 3
- 活动类型 0:长期活动,1:短期活动
- char(8)|0s
- normal
-
-
- 4
- 活动方式
- * 0:注册
- * 1:购物
- * 2:充值
- * 3:会员卡
- * 4:一路健康推广
- char(8)|0s
- normal
-
-
- 5
- 活动内容
- * 0:购买商品
- * 1:满N送券
- * 2:满N减N
- char(8)|0s
- normal
-
-
- 6
- 达标金额
- decimal(10,2 digit)|0s
- normal
-
-
- 7
- 关联优惠券/商品Id
- int|0s
- normal
-
-
- 8
- 积分
- int|0s
- normal
-
-
- 9
- 时效
- varchar(32)|0s
- normal
-
-
- 10
- 活动开始时间
- datetime|0s
- normal
-
-
- 11
- 活动结束时间
- datetime|0s
- normal
-
-
- 12
- 活动封面地址
- varchar(64)|0s
- normal
-
-
- 13
- 当前状态 0:全部,1:生效,2:已过期
- char(8)|0s
- normal
-
-
- 14
- 删除标志
- int|0s
- normal
-
-
- 15
- 备注
- varchar(512)|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 标题
- varchar(255)|0s
- normal
-
-
- 3
- 内容
- text|0s
- normal
-
-
- 4
- 类型
-会员:member
-充值: pay
- varchar(32)|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- uuid
- char(36)|0s
- 1
- normal
-
-
- 2
- 验证码
- varchar(6)|0s
- 1
- normal
-
-
- 3
- 过期时间
- datetime|0s
- normal
-
-
- 1
- uuid
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- key
- varchar(50)|0s
- normal
-
-
- 3
- value
- varchar(2000)|0s
- normal
-
-
- 4
- 状态 0:隐藏 1:显示
- tinyint|0s
- 1
- normal
-
-
- 5
- 备注
- varchar(500)|0s
- normal
-
-
- param_key
- 1
- btree
-
-
- 1
- id
- 1
-
-
- param_key
- param_key
-
-
- 1
- id
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 字典值类型
- varchar(32)|0s
- normal
-
-
- 3
- 字典标签
- varchar(255)|0s
- 1
- normal
-
-
- 4
- 字典值
- varchar(255)|0s
- normal
-
-
- 5
- 备注
- varchar(255)|0s
- normal
-
-
- 6
- 排序
- int unsigned|0s
- normal
-
-
- 7
- 创建者
- bigint|0s
- normal
-
-
- 8
- 创建时间
- datetime|0s
- normal
-
-
- 9
- 更新者
- bigint|0s
- normal
-
-
- 10
- 更新时间
- datetime|0s
- normal
-
-
- dict_value
- 1
- btree
-
-
- sort
- btree
-
-
- 1
- id
- 1
-
-
- dict_value
- uk_dict_type_value
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 用户名
- varchar(50)|0s
- normal
-
-
- 3
- 用户操作
- varchar(50)|0s
- normal
-
-
- 4
- 请求方法
- varchar(200)|0s
- normal
-
-
- 5
- 请求参数
- varchar(5000)|0s
- normal
-
-
- 6
- 执行时长(毫秒)
- bigint|0s
- 1
- normal
-
-
- 7
- IP地址
- varchar(64)|0s
- normal
-
-
- 8
- 创建时间
- datetime|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 父菜单ID,一级菜单为0
- bigint|0s
- normal
-
-
- 3
- 菜单名称
- varchar(50)|0s
- normal
-
-
- 4
- 菜单URL
- varchar(200)|0s
- normal
-
-
- 5
- 授权(多个用逗号分隔,如:user:list,user:create)
- varchar(500)|0s
- normal
-
-
- 6
- 类型 0:目录 1:菜单 2:按钮
- int|0s
- normal
-
-
- 7
- 菜单图标
- varchar(50)|0s
- normal
-
-
- 8
- 排序
- int|0s
- normal
-
-
- 1
- menu_id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- URL地址
- varchar(200)|0s
- normal
-
-
- 3
- 创建时间
- datetime|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 角色名称
- varchar(100)|0s
- normal
-
-
- 3
- 备注
- varchar(100)|0s
- normal
-
-
- 4
- 创建者ID
- bigint|0s
- normal
-
-
- 5
- 创建时间
- datetime|0s
- normal
-
-
- 1
- role_id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 角色ID
- bigint|0s
- normal
-
-
- 3
- 菜单ID
- bigint|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 用户名
- varchar(50)|0s
- 1
- normal
-
-
- 3
- 密码
- varchar(100)|0s
- normal
-
-
- 4
- 盐
- varchar(20)|0s
- normal
-
-
- 5
- 邮箱
- varchar(100)|0s
- normal
-
-
- 6
- 手机号
- varchar(100)|0s
- normal
-
-
- 7
- 状态 0:禁用 1:正常
- tinyint|0s
- normal
-
-
- 8
- 创建者ID
- bigint|0s
- normal
-
-
- 9
- 创建时间
- datetime|0s
- normal
-
-
- username
- 1
- btree
-
-
- 1
- user_id
- 1
-
-
- username
- username
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 用户ID
- bigint|0s
- normal
-
-
- 3
- 角色ID
- bigint|0s
- normal
-
-
- 1
- id
- 1
-
-
- 1
- bigint|0s
- 1
- normal
-
-
- 2
- token
- varchar(100)|0s
- 1
- normal
-
-
- 3
- 过期时间
- datetime|0s
- normal
-
-
- 4
- 更新时间
- datetime|0s
- normal
-
-
- token
- 1
- btree
-
-
- 1
- user_id
- 1
-
-
- token
- token
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 用户名
- varchar(50)|0s
- 1
- normal
-
-
- 3
- 手机号
- varchar(20)|0s
- 1
- normal
-
-
- 4
- 密码
- varchar(64)|0s
- normal
-
-
- 5
- 创建时间
- datetime|0s
- normal
-
-
- username
- 1
- btree
-
-
- 1
- user_id
- 1
-
-
- username
- username
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 用户id
- int|0s
- normal
-
-
- 3
- 充值 支付 赠送优惠券.....
- varchar(20)|0s
- normal
-
-
- 4
- 变动金额
- decimal(10)|0s
- normal
-
-
- 5
- 关联id
- int|0s
- normal
-
-
- 6
- 备注
- varchar(255)|0s
- normal
-
-
- 7
- 余额
- decimal(10)|0s
- normal
-
-
- 8
- datetime|0s
- normal
-
-
- 9
- 用户名
- varchar(255)|0s
- normal
-
-
- 10
- 手机号
- varchar(32)|0s
- normal
-
-
- 11
- varchar(512)|0s
- normal
-
-
- 1
- transaction_id
- 1
-
-
- 1
- bigint|0s
- 1
- 1
- normal
-
-
- 2
- 姓名
- varchar(10)|0s
- normal
-
-
- 3
- 年龄
- int|0s
- normal
-
-
- 4
- 性别 0-女 1- 男 2-保密
- int|0s
- normal
-
-
- 5
- 头像
- varchar(255)|0s
- normal
-
-
- 6
- 昵称
- varchar(10)|0s
- normal
-
-
- 7
- 电话
- varchar(11)|0s
- normal
-
-
- 8
- 密码
- varchar(255)|0s
- normal
-
-
- 9
- 0-普通 1-vip
- varchar(10)|0s
- '0'
- normal
-
-
- 10
- vip 开通日期
- datetime|0s
- normal
-
-
- 11
- vip 有效期
- datetime|0s
- normal
-
-
- 12
- 花生币
- decimal(10,2 digit)|0s
- 0.00
- normal
-
-
- 13
- 阅读时间
- datetime|0s
- normal
-
-
- 14
- 最后登录时间
- datetime|0s
- normal
-
-
- 15
- 一路健康oid
- varchar(32)|0s
- normal
-
-
- 16
- 创建时间
- datetime|0s
- normal
-
-
- 17
- 更新时间
- datetime|0s
- normal
-
-
- 18
- 删除标记
- int|0s
- 0
- normal
-
-
- 19
- 备注
- varchar(512)|0s
- normal
-
-
- tel
- 1
- btree
-
-
- 1
- id
- 1
-
-
- tel
- tel
-
-
- 1
- 自增ID
- int|0s
- 1
- 1
- normal
-
-
- 2
- 会员ID
- int|0s
- 1
- normal
-
-
- 3
- 收货人名称
- varchar(255)|0s
- normal
-
-
- 4
- 收货人手机号码
- varchar(255)|0s
- normal
-
-
- 5
- 区域ID路径
- varchar(255)|0s
- 1
- normal
-
-
- 6
- 区域路径文字
- varchar(255)|0s
- normal
-
-
- 7
- 最后一级区域ID
- int|0s
- 1
- normal
-
-
- 8
- 详细地址
- varchar(255)|0s
- 1
- normal
-
-
- 9
- 默认
- int|0s
- normal
-
-
- 10
- 有效状态
- int|0s
- 0
- normal
-
-
- 11
- 创建时间
- datetime|0s
- normal
-
-
- 12
- 更新时间
- datetime|0s
- normal
-
-
- 1
- addressId
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- 用户id
- int|0s
- normal
-
-
- 3
- 书id
- int|0s
- normal
-
-
- 4
- 书名
- varchar(255)|0s
- normal
-
-
- 5
- 1- 支付宝 2-微信 3 ios 4花生币
- varchar(10)|0s
- normal
-
-
- 6
- 支付时间
- datetime|0s
- normal
-
-
- 7
- 支付状态 1-成功 2-失败
- varchar(255)|0s
- normal
-
-
- 8
- 封面
- varchar(255)|0s
- normal
-
-
- 9
- 作者
- varchar(255)|0s
- normal
-
-
- 1
- buy_id
- 1
-
-
- 1
- int|0s
- 1
- 1
- normal
-
-
- 2
- text|0s
- normal
-
-
- 3
- datetime|0s
- normal
-
-
- 4
- int|0s
- normal
-
-
- 5
- int|0s
- normal
-
-
- 6
- text|0s
- normal
-
-
- 7
- datetime|0s
- normal
-
-
- 8
- varchar(32)|0s
- normal
-
-
- 9
- varchar(32)|0s
- normal
-
-
- 10
- varchar(255)|0s
- normal
-
-
- 11
- varchar(255)|0s
- normal
-
-
- 1
- id
- 1
-
-
-
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
deleted file mode 100644
index 52c4bf29..00000000
--- a/.idea/encodings.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/commons_codec_1_9.xml b/.idea/libraries/commons_codec_1_9.xml
deleted file mode 100644
index 1dbfa1e4..00000000
--- a/.idea/libraries/commons_codec_1_9.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index c3014faa..00000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index 09943bb9..00000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/peanut_book.iml b/.idea/peanut_book.iml
deleted file mode 100644
index 0e3f6325..00000000
--- a/.idea/peanut_book.iml
+++ /dev/null
@@ -1,265 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml
deleted file mode 100644
index b93ac08b..00000000
--- a/.idea/uiDesigner.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index c8397c94..00000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
deleted file mode 100644
index 7b1909c8..00000000
--- a/.idea/workspace.xml
+++ /dev/null
@@ -1,2223 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- book/bookchapter
- 未购买
- 签到
- catalogueEntity
- Append
- shop-categorytree
- save
- mybatis
- 验证码
- /sms/sendcode
- 账户余额不足
- 余额不足
- MyUserServiceImpl
- getBookCatalogue
- bookAuthenticate
- /appinfo
- book/bookCategory
- 下单
- activityPrice
- price
- getCartLis
- getCartList
- 运费
- getProductGoodsType
- 购物车
- ordercart
- 商品详情
- shopproduct
- book/book
- record/All
-
-
-
- 9200
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1659596817934
-
-
- 1659596817934
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1663124293206
-
-
-
- 1663124293206
-
-
- 1663127035807
-
-
-
- 1663127035807
-
-
- 1663127905151
-
-
-
- 1663127905151
-
-
- 1663135709460
-
-
-
- 1663135709460
-
-
- 1663137438125
-
-
-
- 1663137438125
-
-
- 1665651965583
-
-
-
- 1665651965584
-
-
- 1665729699290
-
-
-
- 1665729699290
-
-
- 1665731741936
-
-
-
- 1665731741936
-
-
- 1665736758740
-
-
-
- 1665736758740
-
-
- 1665737930042
-
-
-
- 1665737930042
-
-
- 1665739064357
-
-
-
- 1665739064357
-
-
- 1666061054519
-
-
-
- 1666061054519
-
-
- 1666061265582
-
-
-
- 1666061265582
-
-
- 1666061854429
-
-
-
- 1666061854429
-
-
- 1666161392203
-
-
-
- 1666161392203
-
-
- 1666164183158
-
-
-
- 1666164183158
-
-
- 1666164870409
-
-
-
- 1666164870409
-
-
- 1667464177810
-
-
-
- 1667464177810
-
-
- 1668056873140
-
-
-
- 1668056873140
-
-
- 1668742683947
-
-
-
- 1668742683947
-
-
- 1668864509101
-
-
-
- 1668864509101
-
-
- 1669018096845
-
-
-
- 1669018096845
-
-
- 1669364390717
-
-
-
- 1669364390717
-
-
- 1669364806193
-
-
-
- 1669364806193
-
-
- 1669365246483
-
-
-
- 1669365246483
-
-
- 1669365461909
-
-
-
- 1669365461909
-
-
- 1669366536003
-
-
-
- 1669366536004
-
-
- 1669685206605
-
-
-
- 1669685206605
-
-
- 1669707711162
-
-
-
- 1669707711162
-
-
- 1669708857810
-
-
-
- 1669708857810
-
-
- 1669709628224
-
-
-
- 1669709628224
-
-
- 1669710911616
-
-
-
- 1669710911616
-
-
- 1669713795906
-
-
-
- 1669713795906
-
-
- 1669714275434
-
-
-
- 1669714275434
-
-
- 1669794206368
-
-
-
- 1669794206368
-
-
- 1669795737676
-
-
-
- 1669795737676
-
-
- 1669796407789
-
-
-
- 1669796407789
-
-
- 1669798034119
-
-
-
- 1669798034119
-
-
- 1669799610492
-
-
-
- 1669799610492
-
-
- 1669802599798
-
-
-
- 1669802599798
-
-
- 1669802916375
-
-
-
- 1669802916375
-
-
- 1669885655259
-
-
-
- 1669885655259
-
-
- 1669887698234
-
-
-
- 1669887698234
-
-
- 1677744202054
-
-
-
- 1677744202054
-
-
- 1677747671132
-
-
-
- 1677747671133
-
-
- 1677749670963
-
-
-
- 1677749670963
-
-
- 1677749841418
-
-
-
- 1677749841418
-
-
- 1677751401724
-
-
-
- 1677751401724
-
-
- 1677811917087
-
-
-
- 1677811917087
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- jar://$MAVEN_REPOSITORY$/com/github/wechatpay-apiv3/wechatpay-apache-httpclient/0.4.9/wechatpay-apache-httpclient-0.4.9.jar!/com/wechat/pay/contrib/apache/httpclient/auth/WechatPay2Validator.class
- 36
-
-
-
- jar://$MAVEN_REPOSITORY$/com/github/wechatpay-apiv3/wechatpay-apache-httpclient/0.4.9/wechatpay-apache-httpclient-0.4.9.jar!/com/wechat/pay/contrib/apache/httpclient/auth/WechatPay2Validator.class
- 46
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/peanut/common/utils/UEditorUpload.java
- 22
-
-
-
- file://$PROJECT_DIR$/src/main/java/com/peanut/modules/book/controller/MyUserController.java
- 202
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- com.peanut.*
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- peanut_book:war
-
-
-
-
-
-
-
-
-
-
-
-
- Spring (peanut_book)|Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- peanut_book
-
-
-
-
-
-
-
-
-
-
-
- 1.8
-
-
-
-
-
-
-
-
-
-
-
- commons-codec-1.9
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/java/com/peanut/modules/book/controller/ShopProductController.java b/src/main/java/com/peanut/modules/book/controller/ShopProductController.java
index 7c9f3a01..731aee9d 100644
--- a/src/main/java/com/peanut/modules/book/controller/ShopProductController.java
+++ b/src/main/java/com/peanut/modules/book/controller/ShopProductController.java
@@ -334,6 +334,7 @@ public class ShopProductController {
public R update(@RequestBody ShopProductEntity shopProduct) {
Integer productId = shopProduct.getProductId();
+ List list = new ArrayList<>();
//多个图书id
ArrayList bookId = shopProduct.getBookids();
shopProduct.setCreateTime(new Date());
@@ -348,32 +349,74 @@ public class ShopProductController {
} else {
shopProduct.setBookId("");
}
- //查询proudict中,不包含传过来的bookid
- List bookEntityList = shopProudictBookService.getBaseMapper().selectList(new QueryWrapper()
- .eq("proudict_id", productId)
- .notIn("book_id", bookId)
- );
+ List bookyList = shopProudictBookService.getBaseMapper().selectList(new QueryWrapper()
+ .eq("proudict_id", productId));
+ for (ShopProudictBookEntity shopProudictBookEntity : bookyList) {
+ Integer bookId1 = shopProudictBookEntity.getBookId();
+ list.add(bookId1);
+ }
+
+ List filteredBookIds = new ArrayList<>();
+ for ( String s : bookId) {
+ if (!list.contains(s)) {
+ filteredBookIds.add(s);
+ }
+ }
+
+
+ if (bookyList.size() > bookId.size()) {
+
+ if ( bookId.size()==0){
+ List bookEntityList = shopProudictBookService.getBaseMapper().selectList(new QueryWrapper()
+ .eq("proudict_id", productId));
+ for (ShopProudictBookEntity shopProductBook :bookEntityList) {
+ Integer id = shopProductBook.getId();
+ shopProudictBookService.removeById(id);
+ }
- System.out.println("bookEntityList==========" + bookEntityList);
+ }else {
+ List bookEntityList = shopProudictBookService.getBaseMapper().selectList(new QueryWrapper()
+ .eq("proudict_id", productId)
+ .notIn("book_id", bookId)
+ );
+ for (ShopProudictBookEntity shopProudictBookEntity : bookEntityList) {
+
+ Integer id = shopProudictBookEntity.getId();
+ shopProudictBookService.removeById(id);
+ }
- for (ShopProudictBookEntity shopProudictBookEntity : bookEntityList) {
- Integer id = shopProudictBookEntity.getId();
- shopProudictBookService.removeById(id);
}
+
+
+ } else if (bookyList.size() < bookId.size()) {
+ ShopProudictBookEntity shopProudictBookEntity = new ShopProudictBookEntity();
+ for (String s : filteredBookIds) {
+ String bookidlist = s;
+
+ Integer proudict = shopProduct.getProductId();
+ shopProudictBookEntity.setProudictId(proudict);
+ shopProudictBookEntity.setBookId(Integer.valueOf(bookidlist));
+ shopProudictBookService.save(shopProudictBookEntity);
+
+ }
+
+
+ //查询proudict中,不包含传过来的bookid
+
+
+
+
+
+ }
shopProductService.updateById(shopProduct);
return R.ok();
-
}
-
-
-
-
/**
* 删除
*/