Add application file
Browse files- config.yaml +160 -0
config.yaml
ADDED
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# 本地数据库路径
|
2 |
+
db_path: ./DB/SQL.db
|
3 |
+
|
4 |
+
# 表结构信息
|
5 |
+
TABLE: #
|
6 |
+
cargo: # 表名
|
7 |
+
info: 货物销售表,主要存储货物名称、净收益率、损失率、环比增长率、销售量、货物品类、货物仓库、销售负责人名字、销售部门、销售负责人联系方式
|
8 |
+
field: # 字段信息
|
9 |
+
cargo_id: [货物编号, text]
|
10 |
+
cargo_name: [货物名称, text]
|
11 |
+
year: [年份, int]
|
12 |
+
net_yield: [净收益率%, int]
|
13 |
+
loss_rate: [损失率%, int]
|
14 |
+
month_on_month_growth_rate: [环比增长率%, int]
|
15 |
+
sales_volume: [销售量, int]
|
16 |
+
cargo_price: [货物单价, int]
|
17 |
+
cargo_category: [货物品类, text]
|
18 |
+
source_cargo: [货物来源, text]
|
19 |
+
storage_warehouse: [货物仓库, text]
|
20 |
+
sales_person_name: [销售责任人名字, text]
|
21 |
+
sales_person_id: [销售负责人id, text]
|
22 |
+
sales_department: [销售部门, text]
|
23 |
+
sales_person_numbers: [销售负责人联系方式, text]
|
24 |
+
sales:
|
25 |
+
info: 人员信息表,主要存储销售人员人名、入职时间、当前业绩、职位等级
|
26 |
+
field:
|
27 |
+
sales_person_id: [销售人员id, text]
|
28 |
+
sales_person_name: [人员名称, text]
|
29 |
+
sales_person_level: [人员等级, text]
|
30 |
+
sales_person_work_date: [入职时间, text]
|
31 |
+
sales_person_leader_id: [人员主管id, text]
|
32 |
+
sales_person_number: [人员电话, text]
|
33 |
+
sales_person_achievement_year: [人员业绩年份, int]
|
34 |
+
sales_person_achievement: [人员业绩, int]
|
35 |
+
sales_person_department: [人员部门名称, text]
|
36 |
+
sales_person_department_id: [人员部门id, text]
|
37 |
+
cargo_info:
|
38 |
+
info: 货物信息表,主要存储货物名称、货物来源地、购买价格、货物大类、货物品类、供应商名称和供应商负责人
|
39 |
+
field:
|
40 |
+
cargo_info_id: [货物信息id, text]
|
41 |
+
cargo_id: [货物id, text]
|
42 |
+
cargo_name: [货物名称, text]
|
43 |
+
origin_cargo: [货物产地, text]
|
44 |
+
cargo_purchase_price: [货物购买价, int]
|
45 |
+
cargo_category: [货物品类, text]
|
46 |
+
cargo_supply_company: [供货公司, text]
|
47 |
+
cargo_num: [货物数量, int]
|
48 |
+
cargo_supply_aftermarket_person: [货物售后负责人, text]
|
49 |
+
cargo_supply_aftermarket_person_number: [货物售后负责人联系电话, text]
|
50 |
+
cargo_supply_market_person: [货物公司销售负责人, text]
|
51 |
+
cargo_supply_market_person_number: [货物公司负责人联系电话, text]
|
52 |
+
depart_list:
|
53 |
+
info: 部门表,主要存储部门名称、部门职责、部门主管
|
54 |
+
field:
|
55 |
+
department_id: [部门id, text]
|
56 |
+
department_name: [部门名称, text]
|
57 |
+
department_duty: [部门职责, text]
|
58 |
+
department_lead_name: [部门负责人名字, text]
|
59 |
+
department_lead_name_id: [部门负责人id, text]
|
60 |
+
department_person_nums: [部门人数, text]
|
61 |
+
purchase_info:
|
62 |
+
info: 购买信息表,主要存储购买公司名称、购买公司街道、购买负责人、购买货物名称和数量以及类型
|
63 |
+
field:
|
64 |
+
purchase_company_id: [货物购买方id, text]
|
65 |
+
purchase_company_name: [货物购买方名称, text]
|
66 |
+
purchase_company_address: [货物购买方地址, text]
|
67 |
+
purchase_company_person_name: [货物购买方负责人人名, text]
|
68 |
+
purchase_company_person_numbers: [货物购买方负责人联系方式, text]
|
69 |
+
purchase_company_person_level: [货物购买方负责人职位, text]
|
70 |
+
purchase_cargo_name_id: [购买货物id, text]
|
71 |
+
purchase_cargo_name: [购买货物名称, text]
|
72 |
+
purchase_cargo_nums: [购买货物数量, int]
|
73 |
+
purchase_cargo_category: [购买货物品类, text]
|
74 |
+
supply_company:
|
75 |
+
info: 供应商信息表,主要存储供应商名称、供应商地址、供应商货物名称、入供应商目录日期
|
76 |
+
field:
|
77 |
+
supply_company_id: [供货公司id, text]
|
78 |
+
supply_company_name: [供货公司名称, text]
|
79 |
+
supply_company_address: [供货公司地址, text]
|
80 |
+
supply_company_product_id: [供货公司货物id, text]
|
81 |
+
supply_company_product_name: [供货公司货物名称, text]
|
82 |
+
supply_company_date: [供货公司入名录时间, text]
|
83 |
+
|
84 |
+
|
85 |
+
|
86 |
+
# 表结构信息
|
87 |
+
TABLE_Values: #
|
88 |
+
cargo: # 表名
|
89 |
+
field: # 字段信息
|
90 |
+
cargo_id: ["001", 002", "003"]
|
91 |
+
cargo_name: [板材, 钢材, 卷板]
|
92 |
+
year: [2019, 2019, 2020]
|
93 |
+
net_yield: [10, 20 ,30]
|
94 |
+
loss_rate: [5, 10 ,15]
|
95 |
+
month_on_month_growth_rate: [1, 2, 3]
|
96 |
+
sales_volume: [500, 1000, 4000]
|
97 |
+
cargo_price: [100, 200, 300]
|
98 |
+
cargo_category: [板材, 板材, 板材]
|
99 |
+
source_cargo: [上海, 北京, 广州]
|
100 |
+
storage_warehouse: [上海青浦仓库, 北京亦庄仓库, 广州三里屯仓库]
|
101 |
+
sales_person_name: [张三, 张三, 李四]
|
102 |
+
sales_person_id: [xs002, xs002, xs003]
|
103 |
+
sales_department: [板材销售部门,板材销售部门,板材销售部门]
|
104 |
+
sales_person_numbers: ["12345666", "12345666", "2344256"]
|
105 |
+
sales:
|
106 |
+
field:
|
107 |
+
sales_person_id: [xs001, xs002, xs003]
|
108 |
+
sales_person_name: [刘五, 张三, 李四]
|
109 |
+
sales_person_level: ["02", "01", "01"]
|
110 |
+
sales_person_work_date: ["2020-08-07", "2021-08-07", "2022-08-07"]
|
111 |
+
sales_person_leader_id: ["", xs001, xs001]
|
112 |
+
sales_person_number: ["5677333", "12345666", "2344256"]
|
113 |
+
sales_person_achievement_year: [2020, 2021, 2022]
|
114 |
+
sales_person_achievement: [1000, 10000, 2000]
|
115 |
+
sales_person_department: [板材销售部,板材销售部,板材销售部]
|
116 |
+
sales_person_department_id: [dep001, dep001, dep001]
|
117 |
+
cargo_info:
|
118 |
+
field:
|
119 |
+
cargo_info_id: [cargo_001, cargo_002, cargo_003]
|
120 |
+
cargo_id: ["001", "002", "003"]
|
121 |
+
cargo_name: [板材, 钢材, 卷板]
|
122 |
+
origin_cargo: [大连, 大连, 大连] # 货物产地
|
123 |
+
cargo_purchase_price: [50, 60, 70]
|
124 |
+
cargo_category: [板材, 板材, 板材]
|
125 |
+
cargo_supply_company: [上海XXX有限公司, 北京XX有限公司, 大连XX有限公司]
|
126 |
+
cargo_num: [100, 100, 100]
|
127 |
+
cargo_supply_aftermarket_person: [AA_1, BB_1, CC_1]
|
128 |
+
cargo_supply_aftermarket_person_number: ["1234555", "214167", "789943"]
|
129 |
+
cargo_supply_market_person: [AA_2, BB_2, CC_2]
|
130 |
+
cargo_supply_market_person_number: ["1234556", "214168", "789944"]
|
131 |
+
depart_list:
|
132 |
+
field:
|
133 |
+
department_id: [dep001, dep002, dep003]
|
134 |
+
department_name: [板材销售部, 钢材销售部, 其他销售部]
|
135 |
+
department_duty: [销售板材, 销售钢材, 销售其他]
|
136 |
+
department_lead_name: [刘五, 王继, 李峰]
|
137 |
+
department_lead_name_id: [xs001, xs004, xs005]
|
138 |
+
department_person_nums: [3, 1, 1]
|
139 |
+
purchase_info:
|
140 |
+
field:
|
141 |
+
purchase_company_id: [pur_0001]
|
142 |
+
purchase_company_name: [上海XX能源有限公司]
|
143 |
+
purchase_company_address: [上海浦东新区]
|
144 |
+
purchase_company_person_name: [张力]
|
145 |
+
purchase_company_person_numbers: ["1231455"]
|
146 |
+
purchase_company_person_level: ["业务负责人"]
|
147 |
+
purchase_cargo_name_id: ["001"]
|
148 |
+
purchase_cargo_name: [板材]
|
149 |
+
purchase_cargo_nums: [10]
|
150 |
+
purchase_cargo_category: [板材]
|
151 |
+
supply_company:
|
152 |
+
info: 供应商信息表,主要存储供应商名称、供应商地址、供应商货物名称、入供应商目录日期
|
153 |
+
field:
|
154 |
+
supply_company_id: [sup_001]
|
155 |
+
supply_company_name: [青岛XXX有限公司]
|
156 |
+
supply_company_address: [青岛市XXX街道]
|
157 |
+
supply_company_product_id: ["002"]
|
158 |
+
supply_company_product_name: [钢材]
|
159 |
+
supply_company_date: ["2019-3-23"]
|
160 |
+
|