diff --git a/.idea/dataSources/4bc53945-f65a-487e-8aae-a32e60fe31b7.xml b/.idea/dataSources/4bc53945-f65a-487e-8aae-a32e60fe31b7.xml
index ca49fd2..f4dd2d1 100644
--- a/.idea/dataSources/4bc53945-f65a-487e-8aae-a32e60fe31b7.xml
+++ b/.idea/dataSources/4bc53945-f65a-487e-8aae-a32e60fe31b7.xml
@@ -950,1787 +950,3659 @@ SELECT|sys.sys_config:null
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1
int|0s
1
null
-
+
2
varchar(150)|0s
1
-
+
name
1
btree
-
+
1
id
1
-
+
name
name
-
+
1
bigint|0s
1
null
-
+
2
int|0s
1
-
+
3
int|0s
1
-
+
group_id
permission_id
1
btree
-
+
permission_id
btree
-
+
1
id
1
-
+
group_id
permission_id
auth_group_permissions_group_id_permission_id_0cd325b0_uniq
-
+
group_id
auth_group
id
-
+
permission_id
auth_permission
id
-
+
1
int|0s
1
null
-
+
2
varchar(255)|0s
1
-
+
3
int|0s
1
-
+
4
varchar(100)|0s
1
-
+
content_type_id
codename
1
btree
-
+
1
id
1
-
+
content_type_id
codename
auth_permission_content_type_id_codename_01ab375a_uniq
-
+
content_type_id
django_content_type
id
-
+
1
int|0s
1
-
+
2
varchar(30)|0s
1
-
+
3
int|0s
1
-
+
province_id
btree
-
+
1
id
1
-
+
province_id
province
id
-
+
1
int|0s
1
null
-
+
2
datetime(6)|0s
1
-
+
3
longtext|0s
-
+
4
varchar(200)|0s
1
-
+
5
smallint unsigned|0s
1
-
+
6
longtext|0s
1
-
+
7
int|0s
-
+
8
bigint|0s
1
-
+
content_type_id
btree
-
+
user_id
btree
-
+
1
id
1
-
+
content_type_id
django_content_type
id
-
+
user_id
t_user
id
-
+
1
int|0s
1
null
-
+
2
varchar(100)|0s
1
-
+
3
varchar(100)|0s
1
-
+
app_label
model
1
btree
-
+
1
id
1
-
+
app_label
model
django_content_type_app_label_model_76bd3d3b_uniq
-
+
1
bigint|0s
1
null
-
+
2
varchar(255)|0s
1
-
+
3
varchar(255)|0s
1
-
+
4
datetime(6)|0s
1
-
+
1
id
1
-
+
1
varchar(40)|0s
1
-
+
2
longtext|0s
1
-
+
3
datetime(6)|0s
1
-
+
expire_date
btree
-
+
1
session_key
1
-
+
1
int|0s
1
-
+
2
varchar(30)|0s
1
-
+
1
id
1
-
+
1
int|0s
1
-
+
2
varchar(30)|0s
1
-
+
3
int|0s
1
-
+
nation_id
btree
-
+
1
id
1
-
+
nation_id
nation
id
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
5
varchar(100)|0s
1
-
+
6
varchar(20)|0s
-
+
1
id
1
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
+ 5
+ varchar(28)|0s
+ 1
+
+
+ 6
+ varchar(20)|0s
+ 1
+
+
+ 7
+ varchar(50)|0s
+
+
+ 8
+ varchar(50)|0s
+
+
+ 9
+ varchar(50)|0s
+
+
+ 10
+ varchar(512)|0s
+
+
+ 11
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 12
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 13
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 14
+ bigint|0s
+
+
+ 15
+ bigint|0s
+
+
+ 16
+ bigint|0s
+
+
+ goods_id
+ btree
+
+
+ parent_goods_id
+ btree
+
+
+ units_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ goods_id
+ t_goods
+ id
+
+
+ parent_goods_id
+ t_goods
+ id
+
+
+ units_id
+ t_units
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ int|0s
+ 1
+
+
+ 6
+ varchar(50)|0s
+ 1
+
+
+ 7
+ varchar(20)|0s
+ 1
+
+
+ 8
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 9
+ varchar(512)|0s
+
+
+ 10
+ bigint|0s
+
+
+ 11
+ bigint|0s
+
+
+ leader_user_id
+ btree
+
+
+ parent_goods_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ leader_user_id
+ t_user
+ id
+
+
+ parent_goods_id
+ t_goods
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
5
varchar(100)|0s
1
-
+
6
varchar(28)|0s
1
-
+
7
varchar(512)|0s
-
+
8
int|0s
1
-
+
9
bigint|0s
-
+
number_code
1
btree
-
+
parent_id
btree
-
+
1
id
1
-
+
number_code
number_code
-
+
parent_id
t_category
id
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
5
varchar(100)|0s
1
-
+
6
varchar(11)|0s
-
+
7
varchar(22)|0s
-
+
8
varchar(22)|0s
-
+
9
varchar(50)|0s
-
+
10
varchar(50)|0s
-
+
11
varchar(50)|0s
-
+
12
varchar(50)|0s
-
+
13
varchar(50)|0s
-
+
14
varchar(50)|0s
-
+
15
varchar(50)|0s
-
+
16
varchar(50)|0s
-
+
17
varchar(512)|0s
-
+
18
decimal(20,2 digit)|0s
-
+
19
decimal(20,2 digit)|0s
-
+
20
int|0s
1
-
+
name
1
btree
-
+
1
id
1
-
+
name
name
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
5
varchar(32)|0s
1
-
+
6
varchar(128)|0s
1
-
+
7
bigint|0s
-
+
name
1
btree
-
+
parent_id
btree
-
+
1
id
1
-
+
name
name
-
+
parent_id
t_dept
id
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
5
varchar(20)|0s
1
-
+
6
varchar(50)|0s
-
+
7
varchar(50)|0s
-
+
8
varchar(50)|0s
-
+
9
varchar(50)|0s
-
+
10
int|0s
-
+
11
varchar(512)|0s
-
+
12
varchar(28)|0s
1
-
+
13
decimal(10,2 digit)|0s
1
-
+
14
decimal(10,2 digit)|0s
1
-
+
15
decimal(10,2 digit)|0s
1
-
+
16
decimal(10,2 digit)|0s
1
-
+
17
int|0s
1
-
+
18
varchar(20)|0s
-
+
19
bigint|0s
-
+
20
bigint|0s
-
+
name
1
btree
-
+
number_code
1
btree
-
+
category_id
btree
-
+
units_id
btree
-
+
1
id
1
-
+
name
name
-
+
number_code
number_code
-
+
category_id
t_category
id
-
+
units_id
t_units
id
-
+
1
bigint|0s
1
null
-
+
2
decimal(10,2 digit)|0s
1
-
+
3
decimal(10,2 digit)|0s
1
-
+
4
decimal(10,2 digit)|0s
1
-
+
5
decimal(10,2 digit)|0s
1
-
+
6
varchar(50)|0s
1
-
+
7
bigint|0s
-
+
8
bigint|0s
1
-
+
goods_id
btree
-
+
warehouse_id
btree
-
+
1
id
1
-
+
goods_id
t_goods
id
-
+
warehouse_id
t_warehouse
id
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
5
int|0s
-
+
6
varchar(256)|0s
-
+
7
varchar(50)|0s
1
-
+
8
bigint|0s
-
+
parent_id
btree
-
+
1
id
1
-
+
parent_id
t_menu
id
-
- 1
- bigint|0s
- 1
- null
-
-
- 2
- varchar(1)|0s
- 1
-
-
- 3
- datetime(6)|0s
- 1
-
-
- 4
- datetime(6)|0s
- 1
-
-
- 5
- varchar(50)|0s
- 1
-
-
- 6
- tinyint(1)|0s
- 1
-
-
- 7
- varchar(8)|0s
- 1
-
-
- 8
- varchar(200)|0s
- 1
-
-
- 9
- varchar(512)|0s
- 1
-
-
- 10
- bigint|0s
-
-
- menu_id
- btree
-
-
- 1
- id
- 1
-
-
- menu_id
- t_menu
- id
-
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
5
datetime(6)|0s
1
-
+
6
varchar(28)|0s
1
-
+
7
- decimal(5,2 digit)|0s
- 1
+ decimal(10,2 digit)|0s
-
+
8
decimal(10,2 digit)|0s
1
-
+
9
- varchar(512)|0s
+ decimal(10,2 digit)|0s
+ 1
-
+
10
- decimal(13,2 digit)|0s
- 1
+ varchar(512)|0s
-
+
11
- decimal(10,2 digit)|0s
- 1
+ varchar(20)|0s
-
+
12
- decimal(10,2 digit)|0s
- 1
+ varchar(2)|0s
-
+
13
varchar(1)|0s
1
-
+
14
varchar(20)|0s
-
+
15
varchar(20)|0s
-
+
16
varchar(30)|0s
-
+
17
varchar(20)|0s
-
+
18
bigint|0s
-
+
19
bigint|0s
-
+
20
bigint|0s
-
+
21
bigint|0s
-
+
+ 22
+ bigint|0s
+
+
account_id
btree
-
+
check_user_id
btree
-
+
operator_user_id
btree
-
+
+ purchase_id
+ btree
+
+
supplier_id
btree
-
+
1
id
1
-
+
account_id
t_settlement_account
id
-
+
check_user_id
t_user
id
-
+
operator_user_id
t_user
id
-
+
+ purchase_id
+ t_purchase
+ id
+
+
supplier_id
t_supplier
id
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
5
- varchar(20)|0s
+ varchar(28)|0s
1
-
+
6
- varchar(50)|0s
-
-
- 7
- varchar(28)|0s
-
-
- 8
- varchar(512)|0s
-
-
- 9
decimal(10,2 digit)|0s
1
-
- 10
+
+ 7
decimal(10,2 digit)|0s
1
-
- 11
- decimal(10,2 digit)|0s
- 1
+
+ 8
+ varchar(512)|0s
-
- 12
+
+ 9
bigint|0s
-
- 13
+
+ 10
bigint|0s
-
- goods_id
+
+ payment_id
btree
-
- purchase_id
+
+ purchase_storage_id
btree
-
+
1
id
1
-
- goods_id
- t_goods
+
+ payment_id
+ t_payment
id
-
- purchase_id
- t_purchase
+
+ purchase_storage_id
+ t_purchase_storage
id
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
5
- varchar(32)|0s
+ varchar(50)|0s
1
-
- name
- 1
- btree
-
-
- 1
- id
- 1
-
-
- name
- name
-
-
- 1
- bigint|0s
+
+ 6
+ tinyint(1)|0s
+ 1
+
+
+ 7
+ varchar(8)|0s
+ 1
+
+
+ 8
+ varchar(200)|0s
+ 1
+
+
+ 9
+ varchar(512)|0s
+ 1
+
+
+ 10
+ bigint|0s
+
+
+ menu_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ menu_id
+ t_menu
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ varchar(28)|0s
+ 1
+
+
+ 6
+ varchar(20)|0s
+ 1
+
+
+ 7
+ varchar(50)|0s
+
+
+ 8
+ varchar(50)|0s
+
+
+ 9
+ varchar(50)|0s
+
+
+ 10
+ varchar(512)|0s
+
+
+ 11
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 12
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 13
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 14
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 15
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 16
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 17
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ bigint|0s
+
+
+ 20
+ bigint|0s
+
+
+ goods_id
+ btree
+
+
+ product_task_id
+ btree
+
+
+ units_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ goods_id
+ t_goods
+ id
+
+
+ product_task_id
+ t_product_task
+ id
+
+
+ units_id
+ t_units
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ int|0s
+ 1
+
+
+ 6
+ varchar(128)|0s
+ 1
+
+
+ 7
+ varchar(20)|0s
+ 1
+
+
+ 8
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 9
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 10
+ date|0s
+
+
+ 11
+ varchar(512)|0s
+
+
+ 12
+ bigint|0s
+
+
+ 13
+ bigint|0s
+
+
+ leader_user_id
+ btree
+
+
+ product_task_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ leader_user_id
+ t_user
+ id
+
+
+ product_task_id
+ t_product_task
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ datetime(6)|0s
+
+
+ 6
+ varchar(28)|0s
+ 1
+
+
+ 7
+ varchar(20)|0s
+ 1
+
+
+ 8
+ varchar(50)|0s
+
+
+ 9
+ varchar(50)|0s
+
+
+ 10
+ varchar(28)|0s
+ 1
+
+
+ 11
+ varchar(28)|0s
+
+
+ 12
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 13
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 14
+ date|0s
+
+
+ 15
+ date|0s
+ 1
+
+
+ 16
+ varchar(28)|0s
+
+
+ 17
+ varchar(1)|0s
+ 1
+
+
+ 18
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 19
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 20
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 21
+ varchar(512)|0s
+
+
+ 22
+ bigint|0s
+
+
+ 23
+ bigint|0s
+
+
+ 24
+ bigint|0s
+
+
+ 25
+ varchar(20)|0s
+
+
+ number_code
+ 1
+ btree
+
+
+ goods_id
+ btree
+
+
+ sale_id
+ btree
+
+
+ check_user_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ number_code
+ number_code
+
+
+ goods_id
+ t_goods
+ id
+
+
+ sale_id
+ t_sales
+ id
+
+
+ check_user_id
+ t_user
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ datetime(6)|0s
+ 1
+
+
+ 6
+ varchar(28)|0s
+ 1
+
+
+ 7
+ decimal(5,2 digit)|0s
+ 1
+
+
+ 8
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 9
+ varchar(512)|0s
+
+
+ 10
+ decimal(13,2 digit)|0s
+ 1
+
+
+ 11
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 12
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 13
+ varchar(1)|0s
+ 1
+
+
+ 14
+ varchar(20)|0s
+
+
+ 15
+ varchar(20)|0s
+
+
+ 16
+ varchar(30)|0s
+
+
+ 17
+ varchar(20)|0s
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ bigint|0s
+
+
+ 20
+ bigint|0s
+
+
+ 21
+ bigint|0s
+
+
+ account_id
+ btree
+
+
+ check_user_id
+ btree
+
+
+ operator_user_id
+ btree
+
+
+ supplier_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ account_id
+ t_settlement_account
+ id
+
+
+ check_user_id
+ t_user
+ id
+
+
+ operator_user_id
+ t_user
+ id
+
+
+ supplier_id
+ t_supplier
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ varchar(20)|0s
+ 1
+
+
+ 6
+ varchar(50)|0s
+
+
+ 7
+ varchar(28)|0s
+
+
+ 8
+ varchar(512)|0s
+
+
+ 9
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 10
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 11
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 12
+ bigint|0s
+
+
+ 13
+ bigint|0s
+
+
+ goods_id
+ btree
+
+
+ purchase_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ goods_id
+ t_goods
+ id
+
+
+ purchase_id
+ t_purchase
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ datetime(6)|0s
+ 1
+
+
+ 6
+ varchar(28)|0s
+ 1
+
+
+ 7
+ varchar(512)|0s
+
+
+ 8
+ decimal(5,2 digit)|0s
+
+
+ 9
+ decimal(10,2 digit)|0s
+
+
+ 10
+ decimal(13,2 digit)|0s
+
+
+ 11
+ decimal(10,2 digit)|0s
+
+
+ 12
+ decimal(10,2 digit)|0s
+
+
+ 13
+ decimal(10,2 digit)|0s
+
+
+ 14
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 15
+ varchar(1)|0s
+ 1
+
+
+ 16
+ varchar(20)|0s
+
+
+ 17
+ varchar(20)|0s
+
+
+ 18
+ varchar(30)|0s
+
+
+ 19
+ varchar(20)|0s
+
+
+ 20
+ varchar(1)|0s
+ 1
+
+
+ 21
+ bigint|0s
+
+
+ 22
+ bigint|0s
+
+
+ 23
+ bigint|0s
+
+
+ 24
+ bigint|0s
+
+
+ 25
+ bigint|0s
+
+
+ account_id
+ btree
+
+
+ check_user_id
+ btree
+
+
+ operator_user_id
+ btree
+
+
+ purchase_id
+ btree
+
+
+ supplier_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ account_id
+ t_settlement_account
+ id
+
+
+ check_user_id
+ t_user
+ id
+
+
+ operator_user_id
+ t_user
+ id
+
+
+ purchase_id
+ t_purchase
+ id
+
+
+ supplier_id
+ t_supplier
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ varchar(20)|0s
+ 1
+
+
+ 6
+ varchar(28)|0s
+
+
+ 7
+ varchar(50)|0s
+
+
+ 8
+ varchar(50)|0s
+
+
+ 9
+ varchar(50)|0s
+
+
+ 10
+ varchar(50)|0s
+
+
+ 11
+ varchar(50)|0s
+
+
+ 12
+ varchar(512)|0s
+
+
+ 13
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 14
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 15
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 16
+ varchar(50)|0s
+
+
+ 17
+ bigint|0s
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ bigint|0s
+
+
+ 20
+ bigint|0s
+
+
+ 21
+ bigint|0s
+
+
+ category_id
+ btree
+
+
+ goods_id
+ btree
+
+
+ purchase_storage_id
+ btree
+
+
+ units_id
+ btree
+
+
+ warehouse_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ category_id
+ t_category
+ id
+
+
+ goods_id
+ t_goods
+ id
+
+
+ purchase_storage_id
+ t_purchase_storage
+ id
+
+
+ units_id
+ t_units
+ id
+
+
+ warehouse_id
+ t_warehouse
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ datetime(6)|0s
+ 1
+
+
+ 6
+ varchar(28)|0s
+ 1
+
+
+ 7
+ decimal(10,2 digit)|0s
+
+
+ 8
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 9
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 10
+ varchar(512)|0s
+
+
+ 11
+ varchar(20)|0s
+
+
+ 12
+ varchar(2)|0s
+
+
+ 13
+ varchar(1)|0s
+ 1
+
+
+ 14
+ varchar(20)|0s
+
+
+ 15
+ varchar(20)|0s
+
+
+ 16
+ varchar(30)|0s
+
+
+ 17
+ varchar(20)|0s
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ bigint|0s
+
+
+ 20
+ bigint|0s
+
+
+ 21
+ bigint|0s
+
+
+ 22
+ bigint|0s
+
+
+ account_id
+ btree
+
+
+ check_user_id
+ btree
+
+
+ customer_id
+ btree
+
+
+ operator_user_id
+ btree
+
+
+ sale_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ account_id
+ t_settlement_account
+ id
+
+
+ check_user_id
+ t_user
+ id
+
+
+ customer_id
+ t_customer
+ id
+
+
+ operator_user_id
+ t_user
+ id
+
+
+ sale_id
+ t_sales
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ varchar(28)|0s
+ 1
+
+
+ 6
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 7
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 8
+ varchar(512)|0s
+
+
+ 9
+ bigint|0s
+
+
+ 10
+ bigint|0s
+
+
+ deliver_storage_id
+ btree
+
+
+ receipt_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ deliver_storage_id
+ t_sale_deliver
+ id
+
+
+ receipt_id
+ t_receipt
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ varchar(32)|0s
+ 1
+
+
+ name
+ 1
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ name
+ name
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ bigint|0s
+ 1
+
+
+ 3
+ bigint|0s
+ 1
+
+
+ rolesmodel_id
+permissionsmodel_id
+ 1
+ btree
+
+
+ permissionsmodel_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ rolesmodel_id
+permissionsmodel_id
+ t_roles_permissions_rolesmodel_id_permission_791416f1_uniq
+
+
+ rolesmodel_id
+ t_roles
+ id
+
+
+ permissionsmodel_id
+ t_permissions
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ datetime(6)|0s
+ 1
+
+
+ 6
+ varchar(28)|0s
+ 1
+
+
+ 7
+ varchar(512)|0s
+
+
+ 8
+ decimal(5,2 digit)|0s
+
+
+ 9
+ decimal(10,2 digit)|0s
+
+
+ 10
+ decimal(13,2 digit)|0s
+
+
+ 11
+ decimal(10,2 digit)|0s
+
+
+ 12
+ decimal(10,2 digit)|0s
+
+
+ 13
+ decimal(10,2 digit)|0s
+
+
+ 14
+ decimal(10,2 digit)|0s
+
+
+ 15
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 16
+ varchar(1)|0s
+ 1
+
+
+ 17
+ varchar(20)|0s
+
+
+ 18
+ varchar(20)|0s
+
+
+ 19
+ varchar(30)|0s
+
+
+ 20
+ varchar(20)|0s
+
+
+ 21
+ varchar(1)|0s
+ 1
+
+
+ 22
+ bigint|0s
+
+
+ 23
+ bigint|0s
+
+
+ 24
+ bigint|0s
+
+
+ 25
+ bigint|0s
+
+
+ 26
+ bigint|0s
+
+
+ 27
+ bigint|0s
+
+
+ account_id
+ btree
+
+
+ check_user_id
+ btree
+
+
+ customer_id
+ btree
+
+
+ operator_user_id
+ btree
+
+
+ sale_id
+ btree
+
+
+ product_task_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ account_id
+ t_settlement_account
+ id
+
+
+ check_user_id
+ t_user
+ id
+
+
+ customer_id
+ t_customer
+ id
+
+
+ operator_user_id
+ t_user
+ id
+
+
+ sale_id
+ t_sales
+ id
+
+
+ product_task_id
+ t_product_task
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ varchar(20)|0s
+ 1
+
+
+ 6
+ varchar(28)|0s
+
+
+ 7
+ varchar(50)|0s
+
+
+ 8
+ varchar(50)|0s
+
+
+ 9
+ varchar(50)|0s
+
+
+ 10
+ varchar(50)|0s
+
+
+ 11
+ varchar(50)|0s
+
+
+ 12
+ varchar(512)|0s
+
+
+ 13
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 14
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 15
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 16
+ varchar(50)|0s
+
+
+ 17
+ bigint|0s
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ bigint|0s
+
+
+ 20
+ bigint|0s
+
+
+ 21
+ bigint|0s
+
+
+ category_id
+ btree
+
+
+ goods_id
+ btree
+
+
+ sale_deliver_id
+ btree
+
+
+ units_id
+ btree
+
+
+ warehouse_id
+ btree
+
+
+ 1
+ id
+ 1
+
+
+ category_id
+ t_category
+ id
+
+
+ goods_id
+ t_goods
+ id
+
+
+ sale_deliver_id
+ t_sale_deliver
+ id
+
+
+ units_id
+ t_units
+ id
+
+
+ warehouse_id
+ t_warehouse
+ id
+
+
+ 1
+ bigint|0s
1
null
-
+
2
- bigint|0s
+ varchar(1)|0s
1
-
+
3
- bigint|0s
+ datetime(6)|0s
1
-
- rolesmodel_id
-permissionsmodel_id
- 1
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ datetime(6)|0s
+ 1
+
+
+ 6
+ varchar(28)|0s
+ 1
+
+
+ 7
+ decimal(5,2 digit)|0s
+ 1
+
+
+ 8
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 9
+ varchar(512)|0s
+
+
+ 10
+ decimal(13,2 digit)|0s
+ 1
+
+
+ 11
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 12
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 13
+ varchar(1)|0s
+ 1
+
+
+ 14
+ varchar(20)|0s
+
+
+ 15
+ varchar(20)|0s
+
+
+ 16
+ varchar(30)|0s
+
+
+ 17
+ varchar(20)|0s
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ bigint|0s
+
+
+ 20
+ bigint|0s
+
+
+ 21
+ bigint|0s
+
+
+ account_id
btree
-
- permissionsmodel_id
+
+ check_user_id
+ btree
+
+
+ customer_id
+ btree
+
+
+ operator_user_id
btree
-
+
1
id
1
-
- rolesmodel_id
-permissionsmodel_id
- t_roles_permissions_rolesmodel_id_permission_791416f1_uniq
+
+ account_id
+ t_settlement_account
+ id
+
+
+ check_user_id
+ t_user
+ id
+
+
+ customer_id
+ t_customer
+ id
+
+
+ operator_user_id
+ t_user
+ id
+
+
+ 1
+ bigint|0s
+ 1
+ null
+
+
+ 2
+ varchar(1)|0s
+ 1
+
+
+ 3
+ datetime(6)|0s
+ 1
+
+
+ 4
+ datetime(6)|0s
+ 1
+
+
+ 5
+ varchar(20)|0s
+ 1
+
+
+ 6
+ varchar(28)|0s
+
+
+ 7
+ varchar(50)|0s
+
+
+ 8
+ varchar(50)|0s
+
+
+ 9
+ varchar(50)|0s
+
+
+ 10
+ varchar(50)|0s
+
+
+ 11
+ varchar(512)|0s
+
+
+ 12
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 13
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 14
+ decimal(10,2 digit)|0s
+ 1
+
+
+ 15
+ bigint|0s
+
+
+ 16
+ bigint|0s
+
+
+ 17
+ bigint|0s
+
+
+ goods_id
+ btree
+
+
+ sale_id
+ btree
+
+
+ units_id
+ btree
+
+
+ 1
+ id
+ 1
-
- rolesmodel_id
- t_roles
+
+ goods_id
+ t_goods
id
-
- permissionsmodel_id
- t_permissions
+
+ sale_id
+ t_sales
+ id
+
+
+ units_id
+ t_units
id
-
+
1
bigint|0s
1
null
-
+
2
varchar(1)|0s
1
-
+
3
datetime(6)|0s
1
-
+
4
datetime(6)|0s
1
-
+
5
varchar(100)|0s
1
-
+
6
varchar(28)|0s
1
-
+
7
varchar(512)|0s
-
+
8
decimal(10,2 digit)|0s
-
+
9
decimal(10,2 digit)|0s
-
+
10
int|0s
1
-
+
11
tinyint(1)|0s
1
-
+
name
1
btree
-
+
number_code
1
btree
-
+
1
id
1
-
+
name
name
-
+
number_code
number_code
-
+
1
bigint|0s
1
null
-
+