|
@@ -43,6 +43,7 @@ create table ocr_trip
|
|
|
(
|
|
|
upload_id varchar(32) not null comment '主键',
|
|
|
shop_name varchar(32) not null default '' comment '渠道名',
|
|
|
+ o2o_shop_name varchar(32) not null default '' comment 'O2O渠道名称',
|
|
|
branch_shop_name varchar(32) not null default '' comment '渠道名分店',
|
|
|
purchase_date varchar(32) not null default '' comment '购买日期',
|
|
|
total_spend varchar(16) not null default '' comment '消费金额',
|
|
@@ -51,6 +52,31 @@ create table ocr_trip
|
|
|
address varchar(256) not null default '' comment '店铺地址',
|
|
|
phone varchar(64) not null default '' comment '店铺电话',
|
|
|
pay varchar(16) not null default '' comment '支付方式',
|
|
|
+ spec_pay_value varchar(16) not null default '' comment '特殊支付方式支付额',
|
|
|
+ offer varchar(128) not null default '' comment '优惠形式',
|
|
|
+ member varchar(64) not null default '' comment '会员信息',
|
|
|
+ global_prob varchar(16) not null default '' comment '全局置信度',
|
|
|
+ primary key (upload_id)
|
|
|
+)
|
|
|
+ engine = InnoDB,
|
|
|
+ default charset = utf8;
|
|
|
+
|
|
|
+# 小票识别结果置信度
|
|
|
+drop table if exists ocr_trip_prob;
|
|
|
+create table ocr_trip_prob
|
|
|
+(
|
|
|
+ upload_id varchar(32) not null comment '主键',
|
|
|
+ shop_name varchar(32) not null default '' comment '渠道名',
|
|
|
+ o2o_shop_name varchar(32) not null default '' comment 'O2O渠道名称',
|
|
|
+ branch_shop_name varchar(32) not null default '' comment '渠道名分店',
|
|
|
+ purchase_date varchar(32) not null default '' comment '购买日期',
|
|
|
+ total_spend varchar(16) not null default '' comment '消费金额',
|
|
|
+ basket varchar(16) not null default '' comment '购物篮大小',
|
|
|
+ trip_number varchar(32) not null default '' comment '小票条码',
|
|
|
+ address varchar(256) not null default '' comment '店铺地址',
|
|
|
+ phone varchar(64) not null default '' comment '店铺电话',
|
|
|
+ pay varchar(16) not null default '' comment '支付方式',
|
|
|
+ spec_pay_value varchar(16) not null default '' comment '特殊支付方式支付额',
|
|
|
offer varchar(128) not null default '' comment '优惠形式',
|
|
|
member varchar(64) not null default '' comment '会员信息',
|
|
|
global_prob varchar(16) not null default '' comment '全局置信度',
|
|
@@ -191,6 +217,7 @@ create table cb_trip
|
|
|
(
|
|
|
upload_id varchar(32) not null comment '主键',
|
|
|
shop_name varchar(32) not null default '' comment '渠道名',
|
|
|
+ o2o_shop_name varchar(32) not null default '' comment 'O2O渠道名称',
|
|
|
branch_shop_name varchar(32) not null default '' comment '渠道名分店',
|
|
|
purchase_date varchar(32) not null default '' comment '购买日期',
|
|
|
total_spend varchar(16) not null default '' comment '消费金额',
|
|
@@ -199,6 +226,7 @@ create table cb_trip
|
|
|
address varchar(256) not null default '' comment '店铺地址',
|
|
|
phone varchar(64) not null default '' comment '店铺电话',
|
|
|
pay varchar(16) not null default '' comment '支付方式',
|
|
|
+ spec_pay_value varchar(16) not null default '' comment '特殊支付方式支付额',
|
|
|
offer varchar(128) not null default '' comment '优惠形式',
|
|
|
member varchar(64) not null default '' comment '会员信息',
|
|
|
create_time varchar(32) not null default '' comment '创建时间',
|