update double to decimal

master
misworga831 2023-08-16 11:34:42 +08:00
parent 6b35f56e11
commit 5ec1a9e2bc
1 changed files with 108 additions and 108 deletions

View File

@ -61,14 +61,14 @@ CREATE TABLE `li_after_sale` (
`update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`account_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '账号类型',
`actual_refund_price` double(20, 2) NULL DEFAULT NULL COMMENT '实际退款金额',
`actual_refund_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '实际退款金额',
`after_sale_image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价图片',
`apply_refund_price` double(20, 2) NULL DEFAULT NULL COMMENT '申请退款金额',
`apply_refund_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '申请退款金额',
`audit_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商家备注',
`bank_account_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行开户名',
`bank_account_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
`bank_deposit_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行开户行',
`flow_price` double(20, 2) NULL DEFAULT NULL COMMENT '实际金额',
`flow_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '实际金额',
`goods_id` bigint NULL DEFAULT NULL COMMENT '商品ID',
`goods_image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品图片',
`goods_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品名称',
@ -306,24 +306,24 @@ CREATE TABLE `li_bill` (
`bank_account_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司银行账号',
`bank_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '支行联行号',
`bank_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行支行名称',
`bill_price` double(20, 2) NULL DEFAULT NULL COMMENT '最终结算金额',
`bill_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '最终结算金额',
`bill_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '状态 OUT(已出账),CHECK(已对账),EXAMINE(已审核),PAY(已付款)',
`commission_price` double(20, 2) NULL DEFAULT NULL COMMENT '平台收取佣金',
`distribution_commission` double(20, 2) NULL DEFAULT NULL COMMENT '分销返现支出',
`distribution_refund_commission` double(20, 2) NULL DEFAULT NULL COMMENT '分销订单退还',
`order_price` double(20, 2) NULL DEFAULT NULL COMMENT '结算周期内订单付款总金额',
`commission_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '平台收取佣金',
`distribution_commission` decimal(10, 2) NULL DEFAULT NULL COMMENT '分销返现支出',
`distribution_refund_commission` decimal(10, 2) NULL DEFAULT NULL COMMENT '分销订单退还',
`order_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '结算周期内订单付款总金额',
`pay_time` datetime(6) NULL DEFAULT NULL COMMENT '平台付款时间',
`refund_commission_price` double(20, 2) NULL DEFAULT NULL COMMENT '退单产生退还佣金金额',
`refund_price` double(20, 2) NULL DEFAULT NULL COMMENT '退单金额',
`refund_commission_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '退单产生退还佣金金额',
`refund_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '退单金额',
`store_id` bigint NULL DEFAULT NULL COMMENT '店铺ID',
`store_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店铺名称',
`site_coupon_commission` double(20, 2) NULL DEFAULT NULL COMMENT '平台优惠券补贴',
`site_coupon_refund_commission` double(20, 2) NULL DEFAULT NULL COMMENT '退货平台优惠券补贴返还',
`site_coupon_commission` decimal(10, 2) NULL DEFAULT NULL COMMENT '平台优惠券补贴',
`site_coupon_refund_commission` decimal(10, 2) NULL DEFAULT NULL COMMENT '退货平台优惠券补贴返还',
`sn` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '账单号',
`end_time` datetime(6) NULL DEFAULT NULL COMMENT '结算结束时间',
`start_time` datetime(6) NULL DEFAULT NULL COMMENT '结算开始时间',
`point_settlement_price` double(20, 2) NULL DEFAULT 0.00 COMMENT '积分商品结算金额 ',
`kanjia_settlement_price` double(20, 2) NULL DEFAULT 0.00 COMMENT '砍价商品结算金额',
`point_settlement_price` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '积分商品结算金额 ',
`kanjia_settlement_price` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '砍价商品结算金额',
PRIMARY KEY (`id`) USING BTREE,
INDEX `store_id`(`store_id` ASC) USING BTREE COMMENT '店铺id索引'
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = DYNAMIC;
@ -1864,8 +1864,8 @@ CREATE TABLE `li_commodity` (
`goods_image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`live_goods_id` int NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`price` double NULL DEFAULT NULL,
`price2` double NULL DEFAULT NULL,
`price` decimal(10, 2) NULL DEFAULT NULL,
`price2` decimal(10, 2) NULL DEFAULT NULL,
`price_type` int NULL DEFAULT NULL,
`sku_id` bigint NULL DEFAULT NULL,
`store_id` bigint NULL DEFAULT NULL,
@ -1939,19 +1939,19 @@ CREATE TABLE `li_coupon` (
`store_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺ID',
`store_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺名称',
`start_time` datetime(6) NULL DEFAULT NULL COMMENT '活动开始时间',
`consume_threshold` double(10, 2) NULL DEFAULT NULL COMMENT '消费门槛',
`coupon_discount` double(10, 2) NULL DEFAULT NULL COMMENT '折扣',
`consume_threshold` decimal(10, 2) NULL DEFAULT NULL COMMENT '消费门槛',
`coupon_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
`coupon_limit_num` int NULL DEFAULT NULL COMMENT '领取限制',
`coupon_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '优惠券名称',
`coupon_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '活动类型',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '活动描述',
`get_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '优惠券类型',
`price` double(10, 2) NULL DEFAULT NULL COMMENT '面额',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '面额',
`publish_num` int NULL DEFAULT NULL COMMENT '发行数量',
`received_num` int NULL DEFAULT NULL COMMENT '已被领取的数量',
`scope_id` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '范围关联的ID',
`scope_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联范围类型',
`store_commission` double(10, 2) NULL DEFAULT NULL COMMENT '店铺承担比例',
`store_commission` decimal(10, 2) NULL DEFAULT NULL COMMENT '店铺承担比例',
`used_num` int NULL DEFAULT NULL COMMENT '已被使用的数量',
`range_day_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`effective_days` int NULL DEFAULT NULL,
@ -2110,12 +2110,12 @@ CREATE TABLE `li_distribution` (
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`can_rebate` double(20, 2) NULL DEFAULT NULL COMMENT '可提现金额',
`commission_frozen` double(20, 2) NULL DEFAULT NULL COMMENT '冻结金额',
`can_rebate` decimal(10, 2) NULL DEFAULT NULL COMMENT '可提现金额',
`commission_frozen` decimal(10, 2) NULL DEFAULT NULL COMMENT '冻结金额',
`distribution_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分销商状态',
`member_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户ID',
`member_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户名称',
`rebate_total` double(20, 2) NULL DEFAULT NULL COMMENT '分销总额',
`rebate_total` decimal(10, 2) NULL DEFAULT NULL COMMENT '分销总额',
`id_number` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '身份证号',
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '姓名',
`distribution_order_count` int NULL DEFAULT NULL COMMENT '分销订单数',
@ -2144,7 +2144,7 @@ CREATE TABLE `li_distribution_cash` (
`distribution_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分销员ID',
`distribution_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分销员名称',
`pay_time` datetime(6) NULL DEFAULT NULL COMMENT '支付时间',
`price` double(20, 2) NULL DEFAULT NULL COMMENT '分销佣金',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '分销佣金',
`sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分销佣金编号',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
@ -2161,10 +2161,10 @@ CREATE TABLE `li_distribution_goods` (
`id` bigint NOT NULL COMMENT 'ID',
`create_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
`create_time` datetime(6) NULL DEFAULT NULL COMMENT '创建时间',
`commission` double NOT NULL COMMENT '佣金金额',
`commission` decimal(10, 2) NOT NULL COMMENT '佣金金额',
`goods_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '商品ID',
`goods_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品名称',
`price` double(20, 2) NULL DEFAULT NULL COMMENT '商品价格',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品价格',
`quantity` int NULL DEFAULT NULL COMMENT '库存',
`store_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '店铺ID',
`sku_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '规格ID',
@ -2196,8 +2196,8 @@ CREATE TABLE `li_distribution_order` (
`num` int NULL DEFAULT NULL,
`order_item_sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`order_sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`rebate` double NULL DEFAULT NULL,
`sell_back_rebate` double NULL DEFAULT NULL,
`rebate` decimal(10, 2) NULL DEFAULT NULL,
`sell_back_rebate` decimal(10, 2) NULL DEFAULT NULL,
`settle_cycle` datetime(6) NULL DEFAULT NULL,
`sku_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`specs` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
@ -2241,7 +2241,7 @@ CREATE TABLE `li_draft_goods` (
`category_name_json` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '分类名称json',
`category_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分类path',
`comment_num` int NULL DEFAULT NULL COMMENT '评论数量',
`cost` double(20, 2) NULL DEFAULT NULL COMMENT '成本价格',
`cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '成本价格',
`enable_quantity` int NULL DEFAULT NULL COMMENT '可用库存',
`freight_payer` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '运费承担者',
`goods_gallery_list_json` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '商品图片json',
@ -2249,11 +2249,11 @@ CREATE TABLE `li_draft_goods` (
`goods_params_list_json` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '商品参数json',
`goods_unit` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计量单位',
`goods_video` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品视频',
`grade` double(20, 2) NULL DEFAULT NULL COMMENT '商品好评率',
`grade` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品好评率',
`intro` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品详情',
`mobile_intro` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品移动端详情',
`original` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '原图路径',
`price` double(20, 2) NULL DEFAULT NULL COMMENT '商品价格',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品价格',
`quantity` int NULL DEFAULT NULL COMMENT '库存',
`recommend` bit(1) NULL DEFAULT NULL COMMENT '是否为推荐商品',
`sales_model` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '销售模式',
@ -2268,7 +2268,7 @@ CREATE TABLE `li_draft_goods` (
`sn` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品编号',
`template_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '运费模板ID',
`thumbnail` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '缩略图',
`weight` double(20, 2) NULL DEFAULT NULL COMMENT '重量',
`weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量',
`store_category_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺分类路径',
`big` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '大图路径',
`market_enable` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
@ -2371,10 +2371,10 @@ CREATE TABLE `li_freight_template_child` (
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`area` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '地址',
`area_id` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '地区ID',
`continued_company` double(20, 2) NULL DEFAULT NULL COMMENT '续重/续件',
`continued_price` double(20, 2) NULL DEFAULT NULL COMMENT '续费',
`first_company` double(20, 2) NULL DEFAULT NULL COMMENT '首重/首件',
`first_price` double(20, 2) NULL DEFAULT NULL COMMENT '运费',
`continued_company` decimal(10, 2) NULL DEFAULT NULL COMMENT '续重/续件',
`continued_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '续费',
`first_company` decimal(10, 2) NULL DEFAULT NULL COMMENT '首重/首件',
`first_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '运费',
`freight_template_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺模板ID',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
@ -2405,9 +2405,9 @@ CREATE TABLE `li_full_discount` (
`start_time` datetime(6) NULL DEFAULT NULL COMMENT '活动开始时间',
`coupon_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '优惠券ID',
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '活动说明',
`full_minus` double(20, 2) NULL DEFAULT NULL COMMENT '减现金',
`full_money` double(20, 2) NOT NULL COMMENT '优惠门槛金额',
`full_rate` double(20, 2) NULL DEFAULT NULL COMMENT '打折',
`full_minus` decimal(10, 2) NULL DEFAULT NULL COMMENT '减现金',
`full_money` decimal(10, 2) NOT NULL COMMENT '优惠门槛金额',
`full_rate` decimal(10, 2) NULL DEFAULT NULL COMMENT '打折',
`gift_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '赠品ID',
`coupon_flag` bit(1) NULL DEFAULT NULL COMMENT '是否赠优惠券',
`free_freight_flag` bit(1) NULL DEFAULT NULL COMMENT '是否包邮',
@ -2448,17 +2448,17 @@ CREATE TABLE `li_goods` (
`buy_count` int NULL DEFAULT 0 COMMENT '购买数量',
`category_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分类路径',
`comment_num` int NULL DEFAULT NULL COMMENT '评论数量',
`cost` double(10, 2) NULL DEFAULT NULL COMMENT '成本价格',
`cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '成本价格',
`goods_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品名称',
`goods_unit` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计量单位',
`goods_video` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品视频',
`grade` double(10, 2) NULL DEFAULT NULL COMMENT '商品好评率',
`grade` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品好评率',
`intro` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '商品详情',
`auth_flag` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审核状态',
`market_enable` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '上架状态',
`mobile_intro` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '商品移动端详情',
`original` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '原图路径',
`price` double(10, 2) NULL DEFAULT NULL COMMENT '商品价格',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品价格',
`quantity` int NULL DEFAULT 0 COMMENT '库存',
`recommend` bit(1) NULL DEFAULT NULL COMMENT '是否为推荐商品',
`sales_model` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '销售模式',
@ -2472,7 +2472,7 @@ CREATE TABLE `li_goods` (
`template_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '运费模板ID',
`thumbnail` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '缩略图路径',
`under_message` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '下架原因',
`weight` double(10, 2) NULL DEFAULT NULL COMMENT '重量',
`weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量',
`store_category_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺分类路径',
`big` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '大图路径',
`params` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
@ -3324,22 +3324,22 @@ CREATE TABLE `li_goods_sku` (
`buy_count` int NULL DEFAULT NULL COMMENT '购买数量',
`category_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分类路径',
`comment_num` int NULL DEFAULT NULL COMMENT '评价数量',
`cost` double(20, 2) NULL DEFAULT NULL COMMENT '成本价格',
`cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '成本价格',
`freight_payer` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '运费承担者',
`freight_template_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '配送模版ID',
`goods_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品ID',
`goods_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品名称',
`goods_unit` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '计量单位',
`goods_video` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品视频',
`grade` double(20, 2) NULL DEFAULT NULL COMMENT '商品好评率',
`grade` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品好评率',
`intro` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '商品详情',
`auth_flag` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审核状态',
`promotion_flag` bit(1) NULL DEFAULT NULL COMMENT '是否是促销商品',
`market_enable` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '上架状态',
`mobile_intro` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '移动端商品详情',
`original` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '原图路径',
`price` double(20, 2) NULL DEFAULT NULL COMMENT '商品价格',
`promotion_price` double(20, 2) NULL DEFAULT NULL COMMENT '促销价',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品价格',
`promotion_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '促销价',
`quantity` int NULL DEFAULT NULL COMMENT '库存',
`recommend` bit(1) NOT NULL COMMENT '是否为推荐商品',
`sales_model` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '销售模式',
@ -3354,7 +3354,7 @@ CREATE TABLE `li_goods_sku` (
`thumbnail` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '缩略图路径',
`under_message` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '下架原因',
`view_count` int NULL DEFAULT NULL COMMENT '浏览数量',
`weight` double(20, 2) NULL DEFAULT NULL COMMENT '重量',
`weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量',
`simple_specs` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '规格信息',
`store_category_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺分类路径',
`goods_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
@ -4032,10 +4032,10 @@ CREATE TABLE `li_kanjia_activity` (
`kanjia_activity_goods_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`member_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`member_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`purchase_price` double NULL DEFAULT NULL,
`purchase_price` decimal(10, 2) NULL DEFAULT NULL,
`sku_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`status` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`surplus_price` double NULL DEFAULT NULL,
`surplus_price` decimal(10, 2) NULL DEFAULT NULL,
`thumbnail` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = DYNAMIC;
@ -4061,11 +4061,11 @@ CREATE TABLE `li_kanjia_activity_goods` (
`store_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`store_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`goods_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`highest_price` double NULL DEFAULT NULL,
`lowest_price` double NULL DEFAULT NULL,
`original_price` double NULL DEFAULT NULL,
`purchase_price` double NULL DEFAULT NULL,
`settlement_price` double NULL DEFAULT NULL,
`highest_price` decimal(10, 2) NULL DEFAULT NULL,
`lowest_price` decimal(10, 2) NULL DEFAULT NULL,
`original_price` decimal(10, 2) NULL DEFAULT NULL,
`purchase_price` decimal(10, 2) NULL DEFAULT NULL,
`settlement_price` decimal(10, 2) NULL DEFAULT NULL,
`sku_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`stock` int NULL DEFAULT NULL,
`thumbnail` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
@ -4094,8 +4094,8 @@ CREATE TABLE `li_kanjia_activity_log` (
`kanjia_member_face` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`kanjia_member_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`kanjia_member_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`kanjia_price` double NULL DEFAULT NULL,
`surplus_price` double NULL DEFAULT NULL,
`kanjia_price` decimal(10, 2) NULL DEFAULT NULL,
`surplus_price` decimal(10, 2) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = DYNAMIC;
@ -4220,21 +4220,21 @@ CREATE TABLE `li_member_coupon` (
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`consume_threshold` double(20, 2) NULL DEFAULT NULL COMMENT '消费门槛',
`consume_threshold` decimal(10, 2) NULL DEFAULT NULL COMMENT '消费门槛',
`consumption_time` datetime(6) NULL DEFAULT NULL COMMENT '核销时间',
`coupon_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '优惠券ID',
`coupon_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '活动类型',
`discount` double NULL DEFAULT NULL COMMENT '折扣',
`discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
`end_time` datetime(6) NULL DEFAULT NULL COMMENT '使用截止时间',
`get_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '优惠券类型',
`platform_flag` bit(1) NULL DEFAULT NULL COMMENT '是否是平台优惠券',
`member_coupon_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '会员优惠券状态',
`member_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '会员ID',
`member_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '会员名称',
`price` double(20, 2) NULL DEFAULT NULL COMMENT '面额',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '面额',
`scope_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '范围关联的ID',
`scope_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联范围类型',
`store_commission` double(20, 2) NULL DEFAULT NULL COMMENT '店铺承担比例',
`store_commission` decimal(10, 2) NULL DEFAULT NULL COMMENT '店铺承担比例',
`store_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺ID',
`start_time` datetime(6) NULL DEFAULT NULL COMMENT '使用起始时间',
`store_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺名称',
@ -4500,10 +4500,10 @@ CREATE TABLE `li_member_wallet` (
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`member_frozen_wallet` double NULL DEFAULT NULL COMMENT '会员预存款冻结金额',
`member_frozen_wallet` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员预存款冻结金额',
`member_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '会员ID',
`member_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '会员用户名',
`member_wallet` double NULL DEFAULT NULL COMMENT '会员预存款',
`member_wallet` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员预存款',
`wallet_password` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '预存款密码',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = DYNAMIC;
@ -4524,7 +4524,7 @@ CREATE TABLE `li_member_withdraw_apply` (
`delete_flag` bit(1) NULL DEFAULT NULL COMMENT '删除标志 true/false 删除/未删除',
`update_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '更新者',
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`apply_money` double(20, 2) NULL DEFAULT NULL COMMENT '申请提现金额',
`apply_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '申请提现金额',
`apply_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '提现状态',
`inspect_remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审核备注',
`inspect_time` datetime(6) NULL DEFAULT NULL COMMENT '审核时间',
@ -4760,11 +4760,11 @@ CREATE TABLE `li_order` (
`consignee_mobile` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收件人手机',
`consignee_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收件人姓名',
`deliver_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货运状态',
`discount_price` double(10, 2) NULL DEFAULT NULL COMMENT '优惠的金额',
`flow_price` double(10, 2) NULL DEFAULT NULL COMMENT '总价格',
`freight_price` double(10, 2) NULL DEFAULT NULL COMMENT '运费',
`discount_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠的金额',
`flow_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '总价格',
`freight_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '运费',
`goods_num` int NULL DEFAULT NULL COMMENT '商品数量',
`goods_price` double(10, 2) NULL DEFAULT NULL COMMENT '商品价格',
`goods_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品价格',
`logistics_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物流公司CODE',
`logistics_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物流公司名称',
`logistics_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发货单号',
@ -4786,9 +4786,9 @@ CREATE TABLE `li_order` (
`store_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺名称',
`sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '订单编号',
`trade_sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '交易编号 关联Trade',
`weight` double(10, 2) NULL DEFAULT NULL COMMENT '订单商品总重量',
`weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单商品总重量',
`qr_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '提货码',
`update_price` double(10, 2) NULL DEFAULT NULL COMMENT '修改价格',
`update_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '修改价格',
`distribution_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分销员ID',
`delivery_method` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '配送方式',
`use_platform_member_coupon_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '使用的平台会员优惠券id',
@ -4823,17 +4823,17 @@ CREATE TABLE `li_order_complaint` (
`consignee_mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '收货人手机',
`consignee_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '收货人',
`content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '投诉内容',
`freight_price` double(20, 2) NULL DEFAULT NULL COMMENT '运费',
`freight_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '运费',
`goods_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '商品ID',
`goods_image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '商品图片',
`goods_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '商品名称',
`goods_price` double(20, 2) NULL DEFAULT NULL COMMENT '商品价格',
`goods_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品价格',
`images` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '投诉凭证图片',
`logistics_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '物流单号',
`member_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '会员ID',
`member_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '会员名称',
`num` int NULL DEFAULT NULL COMMENT '购买的商品数量',
`order_price` double(20, 2) NULL DEFAULT NULL COMMENT '订单金额',
`order_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
`order_sn` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '订单编号',
`order_time` datetime NULL DEFAULT NULL COMMENT '下单时间',
`store_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '店铺ID',
@ -4885,8 +4885,8 @@ CREATE TABLE `li_order_item` (
`comment_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '评论状态',
`complain_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '交易投诉ID',
`complain_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '投诉状态',
`flow_price` double(10, 2) NULL DEFAULT NULL COMMENT '实际金额',
`goods_price` double(10, 2) NULL DEFAULT NULL COMMENT '销售金额',
`flow_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '实际金额',
`goods_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '销售金额',
`goods_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品ID',
`image` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图片',
`goods_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品名称',
@ -4900,9 +4900,9 @@ CREATE TABLE `li_order_item` (
`snapshot_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '快照ID',
`specs` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '规格json',
`trade_sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '交易编号',
`price_fluctuation_ratio` double(10, 2) NULL DEFAULT NULL COMMENT '浮动价格比例',
`unit_price` double(10, 2) NULL DEFAULT NULL COMMENT '单价',
`sub_total` double(20, 2) NULL DEFAULT NULL COMMENT '小记',
`price_fluctuation_ratio` decimal(10, 2) NULL DEFAULT NULL COMMENT '浮动价格比例',
`unit_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '单价',
`sub_total` decimal(10, 2) NULL DEFAULT NULL COMMENT '小记',
`return_goods_number` int NULL DEFAULT 0 COMMENT '已退货数量 ',
`is_goods_number` int NULL DEFAULT 0 COMMENT '正在进行售后的商品数量 ',
PRIMARY KEY (`id`) USING BTREE
@ -5059,11 +5059,11 @@ CREATE TABLE `li_points_goods` (
`points` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '兑换积分',
`points_goods_category_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '积分商品分类编号',
`points_goods_category_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '分类名称',
`settlement_price` double(10, 2) NULL DEFAULT NULL COMMENT '结算价格',
`settlement_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '结算价格',
`sku_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '商品编号',
`scope_id` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '范围关联的ID',
`scope_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT 'PORTION_GOODS' COMMENT '关联范围类型',
`original_price` double(10, 2) NULL DEFAULT NULL COMMENT '原价',
`original_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '原价',
`thumbnail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '缩略图',
`goods_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品编号',
`goods_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '货品名称',
@ -5111,7 +5111,7 @@ CREATE TABLE `li_promotion_goods` (
`goods_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '货品名称',
`limit_num` int NULL DEFAULT NULL COMMENT '限购数量',
`num` int NULL DEFAULT NULL COMMENT '卖出的商品数量',
`price` double(10, 2) NULL DEFAULT NULL COMMENT '促销价格',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '促销价格',
`promotion_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '活动ID',
`quantity` int NULL DEFAULT NULL COMMENT '促销库存',
`promotion_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '促销工具类型',
@ -5125,7 +5125,7 @@ CREATE TABLE `li_promotion_goods` (
`goods_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`scope_id` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '范围关联的ID',
`scope_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT 'PORTION_GOODS' COMMENT '关联范围类型',
`original_price` double(10, 2) NULL DEFAULT NULL COMMENT '原价',
`original_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '原价',
`points` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '兑换积分',
`goods_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品编号',
PRIMARY KEY (`id`) USING BTREE
@ -5179,7 +5179,7 @@ CREATE TABLE `li_purchase_order_item` (
`goods_unit` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数量单位',
`images` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图片',
`num` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数量',
`price` double(10, 2) NULL DEFAULT NULL COMMENT '价格',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '价格',
`purchase_order_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '采购ID',
`specs` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '规格',
PRIMARY KEY (`id`) USING BTREE
@ -5222,7 +5222,7 @@ CREATE TABLE `li_purchase_quoted_item` (
`goods_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品名称',
`goods_unit` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数量单位',
`num` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数量',
`price` double(10, 2) NULL DEFAULT NULL COMMENT '价格',
`price` decimal(10, 2) NULL DEFAULT NULL COMMENT '价格',
`specs` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '规格',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
@ -5348,7 +5348,7 @@ CREATE TABLE `li_recharge` (
`member_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '会员名称',
`pay_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付状态',
`payment_plugin_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付插件id',
`recharge_money` double NULL DEFAULT NULL COMMENT '充值金额',
`recharge_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
`recharge_sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '充值订单编号',
`recharge_way` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '充值方式',
`pay_time` datetime(6) NULL DEFAULT NULL COMMENT '支付时间',
@ -5490,13 +5490,13 @@ CREATE TABLE `li_refund_log` (
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`error_message` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '退款失败原因',
`is_refund` bit(1) NULL DEFAULT NULL COMMENT '是否已退款',
`pay_price` double(10, 2) NULL DEFAULT NULL COMMENT '交易支付金额',
`pay_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '交易支付金额',
`payment_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '退款方式',
`payment_out_order_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '支付第三方申请流水号',
`payment_receivable_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '支付第三方返回流水',
`receivable_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '第三方返回退款流水号',
`refund_reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '退款理由',
`total_amount` double(10, 2) NULL DEFAULT NULL COMMENT '金额',
`total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额',
`member_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '会员ID',
`order_sn` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '订单编号',
`out_order_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '退款申请号码',
@ -51295,8 +51295,8 @@ CREATE TABLE `li_seckill_apply` (
`update_time` datetime(6) NULL DEFAULT NULL COMMENT '更新时间',
`fail_reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '驳回原因',
`goods_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品名称',
`original_price` double(10, 2) NULL DEFAULT NULL COMMENT '商品原始价格',
`price` double(10, 2) NOT NULL COMMENT '价格',
`original_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品原始价格',
`price` decimal(10, 2) NOT NULL COMMENT '价格',
`promotion_apply_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '促销活动申请状态',
`quantity` int NOT NULL COMMENT '促销数量',
`sales_num` int NULL DEFAULT NULL COMMENT '已售数量',
@ -52079,9 +52079,9 @@ CREATE TABLE `li_store` (
`store_address_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地址名称',
`store_center` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '经纬度',
`store_desc` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '店铺简介',
`delivery_score` double(10, 2) NULL DEFAULT NULL COMMENT '物流评分',
`description_score` double(10, 2) NULL DEFAULT NULL COMMENT '描述评分',
`service_score` double(10, 2) NULL DEFAULT NULL COMMENT '服务评分',
`delivery_score` decimal(10, 2) NULL DEFAULT NULL COMMENT '物流评分',
`description_score` decimal(10, 2) NULL DEFAULT NULL COMMENT '描述评分',
`service_score` decimal(10, 2) NULL DEFAULT NULL COMMENT '服务评分',
`goods_num` int NULL DEFAULT NULL COMMENT '商品数量',
`collection_num` int NULL DEFAULT NULL COMMENT '收藏数量',
`yzf_mp_sign` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
@ -52211,7 +52211,7 @@ CREATE TABLE `li_store_detail` (
`license_num` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '营业执照号',
`link_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人姓名',
`link_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人电话',
`registered_capital` double(10, 2) NULL DEFAULT NULL COMMENT '注册资金',
`registered_capital` decimal(10, 2) NULL DEFAULT NULL COMMENT '注册资金',
`scope` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '法定经营范围',
`settlement_bank_account_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '结算银行开户行名称',
`settlement_bank_account_num` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '结算银行开户账号',
@ -52250,12 +52250,12 @@ INSERT INTO `li_store_detail` VALUES (1376433566338019329, '详细地址', '1371
DROP TABLE IF EXISTS `li_store_flow`;
CREATE TABLE `li_store_flow` (
`id` bigint NOT NULL COMMENT 'ID',
`bill_price` double NULL DEFAULT NULL COMMENT '最终结算金额',
`bill_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '最终结算金额',
`category_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '分类ID',
`commission_price` double(10, 2) NULL DEFAULT NULL COMMENT '平台收取交易佣金',
`commission_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '平台收取交易佣金',
`create_time` datetime(6) NULL DEFAULT NULL COMMENT '创建时间',
`distribution_rebate` double(10, 2) NULL DEFAULT NULL COMMENT '单品分销返现支出',
`final_price` double(10, 2) NULL DEFAULT NULL COMMENT '流水金额',
`distribution_rebate` decimal(10, 2) NULL DEFAULT NULL COMMENT '单品分销返现支出',
`final_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '流水金额',
`flow_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '流水类型',
`goods_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '商品ID',
`goods_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '商品名称',
@ -52266,9 +52266,9 @@ CREATE TABLE `li_store_flow` (
`order_item_sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '子订单编号',
`payment_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '支付方式名称',
`refund_sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '售后SN',
`site_coupon_commission` double(10, 2) NULL DEFAULT NULL COMMENT '站点优惠券佣金',
`site_coupon_point` double(10, 2) NULL DEFAULT NULL COMMENT '站点优惠券佣金比例',
`site_coupon_price` double(10, 2) NULL DEFAULT NULL COMMENT '平台优惠券使用金额',
`site_coupon_commission` decimal(10, 2) NULL DEFAULT NULL COMMENT '站点优惠券佣金',
`site_coupon_point` decimal(10, 2) NULL DEFAULT NULL COMMENT '站点优惠券佣金比例',
`site_coupon_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '平台优惠券使用金额',
`sku_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '货品ID',
`sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '编号',
`specs` text CHARACTER SET utf8 COLLATE utf8_bin NULL COMMENT '规格',
@ -52276,8 +52276,8 @@ CREATE TABLE `li_store_flow` (
`store_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '店铺名称',
`transaction_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '第三方交易流水号',
`order_sn` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
`point_settlement_price` double NULL DEFAULT 0 COMMENT '积分商品结算金额',
`kanjia_settlement_price` double NULL DEFAULT 0 COMMENT '砍价商品结算金额',
`point_settlement_price` decimal(10, 2) NULL DEFAULT 0 COMMENT '积分商品结算金额',
`kanjia_settlement_price` decimal(10, 2) NULL DEFAULT 0 COMMENT '砍价商品结算金额',
`order_promotion_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = DYNAMIC;
@ -52802,10 +52802,10 @@ CREATE TABLE `li_trade` (
`consignee_address_id_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地址id',
`consignee_address_path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地址名称',
`consignee_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收货人姓名',
`discount_price` double(10, 2) NULL DEFAULT NULL COMMENT '优惠的金额',
`flow_price` double(10, 2) NULL DEFAULT NULL COMMENT '总价格',
`freight_price` double(10, 2) NULL DEFAULT NULL COMMENT '运费',
`goods_price` double(10, 2) NULL DEFAULT NULL COMMENT '原价',
`discount_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠的金额',
`flow_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '总价格',
`freight_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '运费',
`goods_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '原价',
`member_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '买家id',
`member_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '买家用户名',
`payment_method` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '支付方式',
@ -52947,7 +52947,7 @@ CREATE TABLE `li_wallet_log` (
`detail` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '日志明细',
`member_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '会员id',
`member_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '会员名称',
`money` double NULL DEFAULT NULL COMMENT '金额',
`money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额',
`service_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '业务类型',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = DYNAMIC;
@ -53040,7 +53040,7 @@ CREATE TABLE `payment_log` (
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`update_time` datetime(6) NULL DEFAULT NULL,
`client_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`flow_price` double NULL DEFAULT NULL,
`flow_price` decimal(10, 2) NULL DEFAULT NULL,
`member_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`member_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`order_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,