/*
 Navicat Premium Data Transfer

 Source Server         : 虚拟机80-mysql8.0
 Source Server Type    : MySQL
 Source Server Version : 80036
 Source Host           : 192.168.110.169:3306
 Source Schema         : charging_pile_order

 Target Server Type    : MySQL
 Target Server Version : 80036
 File Encoding         : 65001

 Date: 05/08/2024 18:43:00
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for t_charging_order
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order`;
CREATE TABLE `t_charging_order`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_0
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_0`;
CREATE TABLE `t_charging_order_0`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_1
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_1`;
CREATE TABLE `t_charging_order_1`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_10
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_10`;
CREATE TABLE `t_charging_order_10`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_10
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_11
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_11`;
CREATE TABLE `t_charging_order_11`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_11
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_12
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_12`;
CREATE TABLE `t_charging_order_12`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_12
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_13
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_13`;
CREATE TABLE `t_charging_order_13`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_13
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_14
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_14`;
CREATE TABLE `t_charging_order_14`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_14
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_15
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_15`;
CREATE TABLE `t_charging_order_15`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_15
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_16
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_16`;
CREATE TABLE `t_charging_order_16`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_16
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_17
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_17`;
CREATE TABLE `t_charging_order_17`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_17
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_18
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_18`;
CREATE TABLE `t_charging_order_18`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_18
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_19
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_19`;
CREATE TABLE `t_charging_order_19`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_19
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_2
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_2`;
CREATE TABLE `t_charging_order_2`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_20
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_20`;
CREATE TABLE `t_charging_order_20`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_20
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_21
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_21`;
CREATE TABLE `t_charging_order_21`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_21
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_22
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_22`;
CREATE TABLE `t_charging_order_22`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_22
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_23
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_23`;
CREATE TABLE `t_charging_order_23`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_23
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_24
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_24`;
CREATE TABLE `t_charging_order_24`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_24
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_25
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_25`;
CREATE TABLE `t_charging_order_25`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_25
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_26
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_26`;
CREATE TABLE `t_charging_order_26`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_26
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_27
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_27`;
CREATE TABLE `t_charging_order_27`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_27
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_28
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_28`;
CREATE TABLE `t_charging_order_28`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_28
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_29
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_29`;
CREATE TABLE `t_charging_order_29`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_29
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_3
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_3`;
CREATE TABLE `t_charging_order_3`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_30
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_30`;
CREATE TABLE `t_charging_order_30`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_30
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_31
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_31`;
CREATE TABLE `t_charging_order_31`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_31
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_32
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_32`;
CREATE TABLE `t_charging_order_32`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_32
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_33
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_33`;
CREATE TABLE `t_charging_order_33`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_33
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_34
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_34`;
CREATE TABLE `t_charging_order_34`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_34
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_35
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_35`;
CREATE TABLE `t_charging_order_35`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_35
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_36
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_36`;
CREATE TABLE `t_charging_order_36`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_36
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_37
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_37`;
CREATE TABLE `t_charging_order_37`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_37
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_38
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_38`;
CREATE TABLE `t_charging_order_38`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_38
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_39
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_39`;
CREATE TABLE `t_charging_order_39`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_39
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_4
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_4`;
CREATE TABLE `t_charging_order_4`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_40
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_40`;
CREATE TABLE `t_charging_order_40`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_40
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_41
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_41`;
CREATE TABLE `t_charging_order_41`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_41
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_42
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_42`;
CREATE TABLE `t_charging_order_42`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_42
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_43
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_43`;
CREATE TABLE `t_charging_order_43`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_43
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_44
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_44`;
CREATE TABLE `t_charging_order_44`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_44
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_45
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_45`;
CREATE TABLE `t_charging_order_45`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_45
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_46
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_46`;
CREATE TABLE `t_charging_order_46`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_46
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_47
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_47`;
CREATE TABLE `t_charging_order_47`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_47
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_48
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_48`;
CREATE TABLE `t_charging_order_48`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_48
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_49
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_49`;
CREATE TABLE `t_charging_order_49`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_49
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_5
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_5`;
CREATE TABLE `t_charging_order_5`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_6
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_6`;
CREATE TABLE `t_charging_order_6`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_7
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_7`;
CREATE TABLE `t_charging_order_7`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_8
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_8`;
CREATE TABLE `t_charging_order_8`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_9
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_9`;
CREATE TABLE `t_charging_order_9`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单（小程序），2=充电订单（刷卡））',
  `order_classification` int NULL DEFAULT NULL COMMENT '订单分类（1=线上，2=线下）',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `app_user_car_id` int NULL DEFAULT NULL COMMENT '充电车辆 id',
  `parking_lot_id` int NULL DEFAULT NULL COMMENT '停车场id',
  `charging_pile_id` int NULL DEFAULT NULL COMMENT '充电桩id',
  `charging_gun_id` int NULL DEFAULT NULL COMMENT '充电枪id',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '充电开始时间',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '充电结束时间',
  `status` int NULL DEFAULT NULL COMMENT '状态（0=未知，1=等待中，2=启动中，3=充电中，4=停止中，5=已结束）',
  `recharge_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `recharge_payment_type` int NULL DEFAULT NULL COMMENT '充值支付方式（1=微信，2=支付宝）',
  `recharge_payment_status` int NULL DEFAULT NULL COMMENT '充值支付状态（1=待支付，2=已支付）',
  `recharge_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '充值支付第三方流水号',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_9
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy`;
CREATE TABLE `t_charging_order_accounting_strategy`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_0
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_0`;
CREATE TABLE `t_charging_order_accounting_strategy_0`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_1
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_1`;
CREATE TABLE `t_charging_order_accounting_strategy_1`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_10
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_10`;
CREATE TABLE `t_charging_order_accounting_strategy_10`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_10
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_11
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_11`;
CREATE TABLE `t_charging_order_accounting_strategy_11`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_11
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_12
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_12`;
CREATE TABLE `t_charging_order_accounting_strategy_12`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_12
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_13
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_13`;
CREATE TABLE `t_charging_order_accounting_strategy_13`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_13
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_14
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_14`;
CREATE TABLE `t_charging_order_accounting_strategy_14`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_14
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_15
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_15`;
CREATE TABLE `t_charging_order_accounting_strategy_15`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_15
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_16
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_16`;
CREATE TABLE `t_charging_order_accounting_strategy_16`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_16
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_17
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_17`;
CREATE TABLE `t_charging_order_accounting_strategy_17`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_17
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_18
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_18`;
CREATE TABLE `t_charging_order_accounting_strategy_18`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_18
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_19
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_19`;
CREATE TABLE `t_charging_order_accounting_strategy_19`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_19
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_2
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_2`;
CREATE TABLE `t_charging_order_accounting_strategy_2`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_20
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_20`;
CREATE TABLE `t_charging_order_accounting_strategy_20`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_20
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_21
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_21`;
CREATE TABLE `t_charging_order_accounting_strategy_21`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_21
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_22
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_22`;
CREATE TABLE `t_charging_order_accounting_strategy_22`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_22
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_23
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_23`;
CREATE TABLE `t_charging_order_accounting_strategy_23`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_23
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_24
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_24`;
CREATE TABLE `t_charging_order_accounting_strategy_24`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_24
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_25
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_25`;
CREATE TABLE `t_charging_order_accounting_strategy_25`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_25
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_26
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_26`;
CREATE TABLE `t_charging_order_accounting_strategy_26`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_26
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_27
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_27`;
CREATE TABLE `t_charging_order_accounting_strategy_27`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_27
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_28
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_28`;
CREATE TABLE `t_charging_order_accounting_strategy_28`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_28
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_29
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_29`;
CREATE TABLE `t_charging_order_accounting_strategy_29`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_29
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_3
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_3`;
CREATE TABLE `t_charging_order_accounting_strategy_3`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_30
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_30`;
CREATE TABLE `t_charging_order_accounting_strategy_30`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_30
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_31
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_31`;
CREATE TABLE `t_charging_order_accounting_strategy_31`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_31
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_32
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_32`;
CREATE TABLE `t_charging_order_accounting_strategy_32`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_32
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_33
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_33`;
CREATE TABLE `t_charging_order_accounting_strategy_33`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_33
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_34
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_34`;
CREATE TABLE `t_charging_order_accounting_strategy_34`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_34
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_35
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_35`;
CREATE TABLE `t_charging_order_accounting_strategy_35`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_35
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_36
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_36`;
CREATE TABLE `t_charging_order_accounting_strategy_36`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_36
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_37
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_37`;
CREATE TABLE `t_charging_order_accounting_strategy_37`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_37
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_38
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_38`;
CREATE TABLE `t_charging_order_accounting_strategy_38`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_38
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_39
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_39`;
CREATE TABLE `t_charging_order_accounting_strategy_39`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_39
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_4
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_4`;
CREATE TABLE `t_charging_order_accounting_strategy_4`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_40
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_40`;
CREATE TABLE `t_charging_order_accounting_strategy_40`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_40
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_41
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_41`;
CREATE TABLE `t_charging_order_accounting_strategy_41`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_41
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_42
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_42`;
CREATE TABLE `t_charging_order_accounting_strategy_42`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_42
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_43
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_43`;
CREATE TABLE `t_charging_order_accounting_strategy_43`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_43
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_44
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_44`;
CREATE TABLE `t_charging_order_accounting_strategy_44`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_44
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_45
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_45`;
CREATE TABLE `t_charging_order_accounting_strategy_45`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_45
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_46
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_46`;
CREATE TABLE `t_charging_order_accounting_strategy_46`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_46
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_47
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_47`;
CREATE TABLE `t_charging_order_accounting_strategy_47`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_47
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_48
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_48`;
CREATE TABLE `t_charging_order_accounting_strategy_48`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_48
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_49
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_49`;
CREATE TABLE `t_charging_order_accounting_strategy_49`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_49
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_5
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_5`;
CREATE TABLE `t_charging_order_accounting_strategy_5`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_6
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_6`;
CREATE TABLE `t_charging_order_accounting_strategy_6`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_7
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_7`;
CREATE TABLE `t_charging_order_accounting_strategy_7`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_8
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_8`;
CREATE TABLE `t_charging_order_accounting_strategy_8`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_charging_order_accounting_strategy_9
-- ----------------------------
DROP TABLE IF EXISTS `t_charging_order_accounting_strategy_9`;
CREATE TABLE `t_charging_order_accounting_strategy_9`  (
  `id` bigint NOT NULL COMMENT '主键',
  `charging_order_id` bigint NULL DEFAULT NULL COMMENT '充电订单id',
  `type` int NULL DEFAULT NULL COMMENT '阶段（1=尖阶段，2=峰阶段，3=平阶段，4=谷阶段）',
  `start_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '结束时间',
  `electrovalence` double(10, 4) NULL DEFAULT NULL COMMENT '电价',
  `service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '服务费',
  `cost_service_charge` double(10, 4) NULL DEFAULT NULL COMMENT '原价服务费',
  `charging_capacity` decimal(10, 2) NULL DEFAULT NULL COMMENT '充电度数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `charging_order_id`(`charging_order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '充电订单计费策略明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_charging_order_accounting_strategy_9
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order`;
CREATE TABLE `t_exchange_order`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_0
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_0`;
CREATE TABLE `t_exchange_order_0`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_1
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_1`;
CREATE TABLE `t_exchange_order_1`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_10
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_10`;
CREATE TABLE `t_exchange_order_10`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_10
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_11
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_11`;
CREATE TABLE `t_exchange_order_11`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_11
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_12
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_12`;
CREATE TABLE `t_exchange_order_12`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_12
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_13
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_13`;
CREATE TABLE `t_exchange_order_13`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_13
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_14
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_14`;
CREATE TABLE `t_exchange_order_14`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_14
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_15
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_15`;
CREATE TABLE `t_exchange_order_15`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_15
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_16
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_16`;
CREATE TABLE `t_exchange_order_16`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_16
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_17
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_17`;
CREATE TABLE `t_exchange_order_17`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_17
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_18
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_18`;
CREATE TABLE `t_exchange_order_18`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_18
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_19
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_19`;
CREATE TABLE `t_exchange_order_19`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_19
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_2
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_2`;
CREATE TABLE `t_exchange_order_2`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_3
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_3`;
CREATE TABLE `t_exchange_order_3`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_4
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_4`;
CREATE TABLE `t_exchange_order_4`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_5
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_5`;
CREATE TABLE `t_exchange_order_5`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_6
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_6`;
CREATE TABLE `t_exchange_order_6`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_7
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_7`;
CREATE TABLE `t_exchange_order_7`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_8
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_8`;
CREATE TABLE `t_exchange_order_8`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_exchange_order_9
-- ----------------------------
DROP TABLE IF EXISTS `t_exchange_order_9`;
CREATE TABLE `t_exchange_order_9`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `points` int NULL DEFAULT NULL COMMENT '支付积分',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '积分兑换订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_exchange_order_9
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal`;
CREATE TABLE `t_order_appeal`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_0
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_0`;
CREATE TABLE `t_order_appeal_0`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_1
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_1`;
CREATE TABLE `t_order_appeal_1`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_2
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_2`;
CREATE TABLE `t_order_appeal_2`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_3
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_3`;
CREATE TABLE `t_order_appeal_3`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_4
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_4`;
CREATE TABLE `t_order_appeal_4`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_5
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_5`;
CREATE TABLE `t_order_appeal_5`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_6
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_6`;
CREATE TABLE `t_order_appeal_6`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_7
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_7`;
CREATE TABLE `t_order_appeal_7`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_8
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_8`;
CREATE TABLE `t_order_appeal_8`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_appeal_9
-- ----------------------------
DROP TABLE IF EXISTS `t_order_appeal_9`;
CREATE TABLE `t_order_appeal_9`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉原因',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片地址',
  `feedback` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '申诉反馈',
  `feedback_user_id` int NULL DEFAULT NULL COMMENT '反馈人id',
  `feedback_time` datetime(0) NULL DEFAULT NULL COMMENT '反馈时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单申诉' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_appeal_9
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate`;
CREATE TABLE `t_order_evaluate`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_0
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_0`;
CREATE TABLE `t_order_evaluate_0`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_1
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_1`;
CREATE TABLE `t_order_evaluate_1`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_2
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_2`;
CREATE TABLE `t_order_evaluate_2`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_3
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_3`;
CREATE TABLE `t_order_evaluate_3`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_4
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_4`;
CREATE TABLE `t_order_evaluate_4`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_5
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_5`;
CREATE TABLE `t_order_evaluate_5`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_6
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_6`;
CREATE TABLE `t_order_evaluate_6`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_7
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_7`;
CREATE TABLE `t_order_evaluate_7`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_8
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_8`;
CREATE TABLE `t_order_evaluate_8`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_9
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_9`;
CREATE TABLE `t_order_evaluate_9`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `mark` int NULL DEFAULT NULL COMMENT '评分',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价内容',
  `img_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '图片',
  `evaluation_response` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '评价回复',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '评价时间',
  `response_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间',
  `del_flag` int NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_9
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag`;
CREATE TABLE `t_order_evaluate_tag`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_0
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_0`;
CREATE TABLE `t_order_evaluate_tag_0`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_1
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_1`;
CREATE TABLE `t_order_evaluate_tag_1`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_10
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_10`;
CREATE TABLE `t_order_evaluate_tag_10`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_10
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_11
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_11`;
CREATE TABLE `t_order_evaluate_tag_11`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_11
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_12
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_12`;
CREATE TABLE `t_order_evaluate_tag_12`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_12
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_13
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_13`;
CREATE TABLE `t_order_evaluate_tag_13`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_13
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_14
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_14`;
CREATE TABLE `t_order_evaluate_tag_14`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_14
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_15
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_15`;
CREATE TABLE `t_order_evaluate_tag_15`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_15
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_16
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_16`;
CREATE TABLE `t_order_evaluate_tag_16`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_16
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_17
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_17`;
CREATE TABLE `t_order_evaluate_tag_17`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_17
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_18
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_18`;
CREATE TABLE `t_order_evaluate_tag_18`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_18
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_19
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_19`;
CREATE TABLE `t_order_evaluate_tag_19`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_19
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_2
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_2`;
CREATE TABLE `t_order_evaluate_tag_2`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_3
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_3`;
CREATE TABLE `t_order_evaluate_tag_3`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_4
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_4`;
CREATE TABLE `t_order_evaluate_tag_4`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_5
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_5`;
CREATE TABLE `t_order_evaluate_tag_5`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_6
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_6`;
CREATE TABLE `t_order_evaluate_tag_6`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_7
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_7`;
CREATE TABLE `t_order_evaluate_tag_7`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_8
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_8`;
CREATE TABLE `t_order_evaluate_tag_8`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_evaluate_tag_9
-- ----------------------------
DROP TABLE IF EXISTS `t_order_evaluate_tag_9`;
CREATE TABLE `t_order_evaluate_tag_9`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_evaluate_id` bigint NULL DEFAULT NULL COMMENT '订单评价id',
  `evaluation_tag_id` int NULL DEFAULT NULL COMMENT '评价标签id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_evaluate_id`(`order_evaluate_id`) USING BTREE,
  INDEX `evaluation_tag_id`(`evaluation_tag_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单评价标签关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_evaluate_tag_9
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice`;
CREATE TABLE `t_order_invoice`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_0
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_0`;
CREATE TABLE `t_order_invoice_0`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_1
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_1`;
CREATE TABLE `t_order_invoice_1`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_2
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_2`;
CREATE TABLE `t_order_invoice_2`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_3
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_3`;
CREATE TABLE `t_order_invoice_3`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_4
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_4`;
CREATE TABLE `t_order_invoice_4`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_5
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_5`;
CREATE TABLE `t_order_invoice_5`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_6
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_6`;
CREATE TABLE `t_order_invoice_6`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_7
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_7`;
CREATE TABLE `t_order_invoice_7`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_8
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_8`;
CREATE TABLE `t_order_invoice_8`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_9
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_9`;
CREATE TABLE `t_order_invoice_9`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '流水号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '开票订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `invoicing_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开票公司',
  `invoice_type` int NULL DEFAULT NULL COMMENT '发票类型（1=增值税普通发票，2=增值税专用发票）',
  `invoice_material` int NULL DEFAULT NULL COMMENT '发票材质（1=纸质发票，2=电子发票）',
  `invoicing_method` int NULL DEFAULT NULL COMMENT '开票方式（1=人工，2=自动）',
  `invoicing_object_type` int NULL DEFAULT NULL COMMENT '抬头类型（1=个人，2=企业）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  `tax_identification_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '纳税识别号',
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司地址',
  `company_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司电话',
  `deposit_bank` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '开户银行',
  `bank_account` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '银行账户',
  `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票总金额',
  `invoice_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '电子发票地址',
  `mailbox` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '邮箱',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待开票，2=开票中，3=已开票）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_9
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail`;
CREATE TABLE `t_order_invoice_detail`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_0
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_0`;
CREATE TABLE `t_order_invoice_detail_0`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_1
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_1`;
CREATE TABLE `t_order_invoice_detail_1`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_10
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_10`;
CREATE TABLE `t_order_invoice_detail_10`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_10
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_11
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_11`;
CREATE TABLE `t_order_invoice_detail_11`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_11
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_12
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_12`;
CREATE TABLE `t_order_invoice_detail_12`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_12
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_13
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_13`;
CREATE TABLE `t_order_invoice_detail_13`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_13
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_14
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_14`;
CREATE TABLE `t_order_invoice_detail_14`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_14
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_15
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_15`;
CREATE TABLE `t_order_invoice_detail_15`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_15
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_16
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_16`;
CREATE TABLE `t_order_invoice_detail_16`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_16
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_17
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_17`;
CREATE TABLE `t_order_invoice_detail_17`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_17
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_18
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_18`;
CREATE TABLE `t_order_invoice_detail_18`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_18
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_19
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_19`;
CREATE TABLE `t_order_invoice_detail_19`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_19
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_2
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_2`;
CREATE TABLE `t_order_invoice_detail_2`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_3
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_3`;
CREATE TABLE `t_order_invoice_detail_3`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_4
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_4`;
CREATE TABLE `t_order_invoice_detail_4`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_5
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_5`;
CREATE TABLE `t_order_invoice_detail_5`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_6
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_6`;
CREATE TABLE `t_order_invoice_detail_6`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_7
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_7`;
CREATE TABLE `t_order_invoice_detail_7`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_8
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_8`;
CREATE TABLE `t_order_invoice_detail_8`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_order_invoice_detail_9
-- ----------------------------
DROP TABLE IF EXISTS `t_order_invoice_detail_9`;
CREATE TABLE `t_order_invoice_detail_9`  (
  `id` bigint NOT NULL COMMENT '主键',
  `order_invoice_id` bigint NULL DEFAULT NULL COMMENT '订单开票id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=充电订单，2=购物订单，3=兑换订单，4=会员订单）',
  `order_id` bigint NULL DEFAULT NULL COMMENT '订单id',
  `invoice_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '开票金额',
  `electricity_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '电费税率',
  `service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '服务费税率',
  `added_service_tariff` double(10, 2) NULL DEFAULT NULL COMMENT '增值服务费税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_invoice_id`(`order_invoice_id`) USING BTREE,
  INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '订单开票明细' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_order_invoice_detail_9
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order`;
CREATE TABLE `t_shopping_order`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_0
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_0`;
CREATE TABLE `t_shopping_order_0`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_1
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_1`;
CREATE TABLE `t_shopping_order_1`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_10
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_10`;
CREATE TABLE `t_shopping_order_10`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_10
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_11
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_11`;
CREATE TABLE `t_shopping_order_11`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_11
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_12
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_12`;
CREATE TABLE `t_shopping_order_12`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_12
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_13
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_13`;
CREATE TABLE `t_shopping_order_13`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_13
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_14
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_14`;
CREATE TABLE `t_shopping_order_14`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_14
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_15
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_15`;
CREATE TABLE `t_shopping_order_15`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_15
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_16
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_16`;
CREATE TABLE `t_shopping_order_16`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_16
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_17
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_17`;
CREATE TABLE `t_shopping_order_17`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_17
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_18
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_18`;
CREATE TABLE `t_shopping_order_18`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_18
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_19
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_19`;
CREATE TABLE `t_shopping_order_19`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_19
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_2
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_2`;
CREATE TABLE `t_shopping_order_2`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_3
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_3`;
CREATE TABLE `t_shopping_order_3`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_4
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_4`;
CREATE TABLE `t_shopping_order_4`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_5
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_5`;
CREATE TABLE `t_shopping_order_5`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_6
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_6`;
CREATE TABLE `t_shopping_order_6`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_7
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_7`;
CREATE TABLE `t_shopping_order_7`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_8
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_8`;
CREATE TABLE `t_shopping_order_8`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_shopping_order_9
-- ----------------------------
DROP TABLE IF EXISTS `t_shopping_order_9`;
CREATE TABLE `t_shopping_order_9`  (
  `id` bigint NOT NULL COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `order_type` int NULL DEFAULT NULL COMMENT '订单类型（1=商品，2=优惠券）',
  `goods_id` int NULL DEFAULT NULL COMMENT '商品id',
  `coupon_id` int NULL DEFAULT NULL COMMENT '优惠券id',
  `purchase_quantity` int NULL DEFAULT NULL COMMENT '购买数量',
  `app_user_address_id` bigint NULL DEFAULT NULL COMMENT '用户收货地址id',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `app_coupon_id` bigint NULL DEFAULT NULL COMMENT '优惠券id',
  `coupon_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠金额',
  `vip_discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员折扣',
  `vip_discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员优惠金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '备注',
  `status` int NULL DEFAULT NULL COMMENT '状态（1=待发货，2=待收货，3=已完成，4=已取消）',
  `express_company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递公司',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递号',
  `consigner_id` int NULL DEFAULT NULL COMMENT '发货人id',
  `consigner_time` datetime(0) NULL DEFAULT NULL COMMENT '发货时间',
  `receiving_time` datetime(0) NULL DEFAULT NULL COMMENT '收货时间',
  `cancellation_time` datetime(0) NULL DEFAULT NULL COMMENT '取消时间',
  `cancellation_id` int NULL DEFAULT NULL COMMENT '取消人id',
  `refund_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款流水号',
  `refund_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额',
  `refund_status` int NULL DEFAULT NULL COMMENT '退款状态（1=退款中，2=退款成功）',
  `refund_serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款第三方流水号',
  `refund_time` datetime(0) NULL DEFAULT NULL COMMENT '退款成功时间',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '购物订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_shopping_order_9
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order`;
CREATE TABLE `t_vip_order`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_0
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_0`;
CREATE TABLE `t_vip_order_0`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_0
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_1
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_1`;
CREATE TABLE `t_vip_order_1`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_1
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_10
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_10`;
CREATE TABLE `t_vip_order_10`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_10
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_11
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_11`;
CREATE TABLE `t_vip_order_11`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_11
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_12
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_12`;
CREATE TABLE `t_vip_order_12`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_12
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_13
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_13`;
CREATE TABLE `t_vip_order_13`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_13
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_14
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_14`;
CREATE TABLE `t_vip_order_14`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_14
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_15
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_15`;
CREATE TABLE `t_vip_order_15`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_15
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_16
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_16`;
CREATE TABLE `t_vip_order_16`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_16
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_17
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_17`;
CREATE TABLE `t_vip_order_17`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_17
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_18
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_18`;
CREATE TABLE `t_vip_order_18`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_18
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_19
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_19`;
CREATE TABLE `t_vip_order_19`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_19
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_2
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_2`;
CREATE TABLE `t_vip_order_2`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_2
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_3
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_3`;
CREATE TABLE `t_vip_order_3`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_3
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_4
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_4`;
CREATE TABLE `t_vip_order_4`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_4
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_5
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_5`;
CREATE TABLE `t_vip_order_5`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_5
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_6
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_6`;
CREATE TABLE `t_vip_order_6`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_6
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_7
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_7`;
CREATE TABLE `t_vip_order_7`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_7
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_8
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_8`;
CREATE TABLE `t_vip_order_8`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_8
-- ----------------------------

-- ----------------------------
-- Table structure for t_vip_order_9
-- ----------------------------
DROP TABLE IF EXISTS `t_vip_order_9`;
CREATE TABLE `t_vip_order_9`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单编号',
  `app_user_id` bigint NULL DEFAULT NULL COMMENT '用户id',
  `type` int NULL DEFAULT NULL COMMENT '类型（1=购买，2=赠送）',
  `vip_id` int NULL DEFAULT NULL COMMENT '购买的会员id',
  `vip_type` int NULL DEFAULT NULL COMMENT '会员类型（1=月卡，2=季卡，3=年卡）',
  `order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单金额',
  `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣',
  `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣金额',
  `payment_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '支付金额',
  `payment_status` int NULL DEFAULT NULL COMMENT '支付状态（1=待支付，2=已支付）',
  `payment_type` int NULL DEFAULT NULL COMMENT '支付方式（1=微信，2=支付宝）',
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '添加时间',
  `del_flag` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '删除（0=否，1=是）',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `app_user_id`(`app_user_id`) USING BTREE,
  INDEX `vip_id`(`vip_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '会员订单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of t_vip_order_9
-- ----------------------------

SET FOREIGN_KEY_CHECKS = 1;
