数据库 数据校验写入等逻辑更新。
This commit is contained in:
161
tmp/table_analysis/dwd_settlement_head_ex.txt
Normal file
161
tmp/table_analysis/dwd_settlement_head_ex.txt
Normal file
@@ -0,0 +1,161 @@
|
||||
================================================================================
|
||||
Table: billiards_dwd.dwd_settlement_head_ex
|
||||
Primary Key: order_settle_id
|
||||
================================================================================
|
||||
|
||||
## COLUMNS
|
||||
--------------------------------------------------------------------------------
|
||||
order_settle_id: bigint | nullable=NO | PK
|
||||
serial_number: integer | nullable=YES |
|
||||
settle_status: integer | nullable=YES |
|
||||
can_be_revoked: boolean | nullable=YES |
|
||||
revoke_order_name: character varying(100) | nullable=YES |
|
||||
revoke_time: timestamp with time zone | nullable=YES |
|
||||
is_first_order: boolean | nullable=YES |
|
||||
service_money: numeric(18,2) | nullable=YES |
|
||||
cash_amount: numeric(18,2) | nullable=YES |
|
||||
card_amount: numeric(18,2) | nullable=YES |
|
||||
online_amount: numeric(18,2) | nullable=YES |
|
||||
refund_amount: numeric(18,2) | nullable=YES |
|
||||
prepay_money: numeric(18,2) | nullable=YES |
|
||||
payment_method: integer | nullable=YES |
|
||||
coupon_sale_amount: numeric(18,2) | nullable=YES |
|
||||
all_coupon_discount: numeric(18,2) | nullable=YES |
|
||||
goods_promotion_money: numeric(18,2) | nullable=YES |
|
||||
assistant_promotion_money: numeric(18,2) | nullable=YES |
|
||||
activity_discount: numeric(18,2) | nullable=YES |
|
||||
assistant_manual_discount: numeric(18,2) | nullable=YES |
|
||||
point_discount_price: numeric(18,2) | nullable=YES |
|
||||
point_discount_cost: numeric(18,2) | nullable=YES |
|
||||
is_use_coupon: boolean | nullable=YES |
|
||||
is_use_discount: boolean | nullable=YES |
|
||||
is_activity: boolean | nullable=YES |
|
||||
operator_name: character varying(100) | nullable=YES |
|
||||
salesman_name: character varying(100) | nullable=YES |
|
||||
order_remark: character varying(255) | nullable=YES |
|
||||
operator_id: bigint | nullable=YES |
|
||||
salesman_user_id: bigint | nullable=YES |
|
||||
|
||||
## VALUE ANALYSIS (for enum detection)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
order_settle_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 23366
|
||||
Top values:
|
||||
2800957557606597: 1
|
||||
2976413737093189: 1
|
||||
2999989561657733: 1
|
||||
2813089803389701: 1
|
||||
3016989267592773: 1
|
||||
3021547742021445: 1
|
||||
2993181992014533: 1
|
||||
2947505138716229: 1
|
||||
2992745472101061: 1
|
||||
2854193189832517: 1
|
||||
2993477589912261: 1
|
||||
2997829514791365: 1
|
||||
2870187561552133: 1
|
||||
2998670603291013: 1
|
||||
2927680632849861: 1
|
||||
|
||||
serial_number:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 23366
|
||||
|
||||
settle_status:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2: 23366
|
||||
|
||||
can_be_revoked:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
revoke_order_name:
|
||||
Total: 23366, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
is_first_order:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
payment_method:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 23366
|
||||
|
||||
is_use_coupon:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
is_use_discount:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
is_activity:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
False: 23366
|
||||
|
||||
operator_name:
|
||||
Total: 23366, Non-null: 23366, Distinct: 4
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
收银员:郑丽珊: 23361
|
||||
收银员:郑丽珍: 2
|
||||
教练:周蒙: 2
|
||||
店长:郑丽珊: 1
|
||||
|
||||
salesman_name:
|
||||
Total: 23366, Non-null: 0, Distinct: 0
|
||||
Top values:
|
||||
|
||||
order_remark:
|
||||
Total: 23366, Non-null: 154, Distinct: 54
|
||||
Top values:
|
||||
五折: 42
|
||||
轩哥: 24
|
||||
陈德韩: 7
|
||||
五折已收68: 5
|
||||
已收48: 4
|
||||
已收58: 4
|
||||
晖哥: 4
|
||||
五折 : 3
|
||||
蔡总: 3
|
||||
免台费: 3
|
||||
卡片: 3
|
||||
七折: 2
|
||||
游哥: 2
|
||||
已收96: 2
|
||||
廖总: 2
|
||||
|
||||
operator_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 3
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
2790687322443013: 23362
|
||||
2801909606452165: 2
|
||||
2794761849227077: 2
|
||||
|
||||
salesman_user_id:
|
||||
Total: 23366, Non-null: 23366, Distinct: 1
|
||||
*** LIKELY ENUM (distinct <= 15) ***
|
||||
Top values:
|
||||
0: 23366
|
||||
|
||||
## SAMPLE DATA (first 10 rows)
|
||||
--------------------------------------------------------------------------------
|
||||
No sample data available.
|
||||
Reference in New Issue
Block a user