mns-common 1.3.7.9__py3-none-any.whl → 1.3.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mns-common might be problematic. Click here for more details.
- mns_common/component/company/company_common_service_api.py +21 -1
- {mns_common-1.3.7.9.dist-info → mns_common-1.3.8.0.dist-info}/METADATA +1 -1
- {mns_common-1.3.7.9.dist-info → mns_common-1.3.8.0.dist-info}/RECORD +5 -5
- {mns_common-1.3.7.9.dist-info → mns_common-1.3.8.0.dist-info}/WHEEL +0 -0
- {mns_common-1.3.7.9.dist-info → mns_common-1.3.8.0.dist-info}/top_level.txt +0 -0
|
@@ -15,6 +15,26 @@ import mns_common.constant.db_name_constant as db_name_constant
|
|
|
15
15
|
mongodb_util = MongodbUtil('27017')
|
|
16
16
|
|
|
17
17
|
|
|
18
|
+
@lru_cache(maxsize=None)
|
|
19
|
+
def get_company_info_name():
|
|
20
|
+
return mongodb_util.find_query_data_choose_field('company_info', {},
|
|
21
|
+
{"_id": 1, 'name': 1,
|
|
22
|
+
"industry": 1, "company_type": 1,
|
|
23
|
+
"ths_concept_name": 1, "ths_concept_code": 1,
|
|
24
|
+
"ths_concept_sync_day": 1, 'sub_stock': 1,
|
|
25
|
+
"first_sw_industry": 1, "second_sw_industry": 1,
|
|
26
|
+
"third_sw_industry": 1, "mv_circulation_ratio": 1,
|
|
27
|
+
"diff_days": 1,
|
|
28
|
+
'em_industry': 1,
|
|
29
|
+
'ths_concept_list_info': 1,
|
|
30
|
+
'ths_concept_name_list_str': 1,
|
|
31
|
+
"kpl_plate_name": 1,
|
|
32
|
+
"kpl_plate_list_info": 1,
|
|
33
|
+
'operate_profit': 1,
|
|
34
|
+
'total_operate_income': 1
|
|
35
|
+
})
|
|
36
|
+
|
|
37
|
+
|
|
18
38
|
@lru_cache(maxsize=None)
|
|
19
39
|
def get_company_info_industry():
|
|
20
40
|
return mongodb_util.find_query_data_choose_field('company_info', {},
|
|
@@ -26,7 +46,7 @@ def get_company_info_industry():
|
|
|
26
46
|
"diff_days": 1,
|
|
27
47
|
'em_industry': 1,
|
|
28
48
|
'ths_concept_list_info': 1,
|
|
29
|
-
'ths_concept_name_list_str':1,
|
|
49
|
+
'ths_concept_name_list_str': 1,
|
|
30
50
|
"kpl_plate_name": 1,
|
|
31
51
|
"kpl_plate_list_info": 1,
|
|
32
52
|
'operate_profit': 1,
|
|
@@ -80,7 +80,7 @@ mns_common/component/classify/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb
|
|
|
80
80
|
mns_common/component/classify/symbol_classify_api.py,sha256=uccN15MNvkZQX0l_oZ47FqjivjQFqidlyw68Xs8uDL8,8138
|
|
81
81
|
mns_common/component/classify/symbol_classify_param.py,sha256=ZOXoZeZ2grVACrpRCQyTF6_NEI9fI-tspYj7jubnkmc,1356
|
|
82
82
|
mns_common/component/company/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
83
|
-
mns_common/component/company/company_common_service_api.py,sha256=
|
|
83
|
+
mns_common/component/company/company_common_service_api.py,sha256=bEQ1ftKFnGi51FCDGAR7teXUTYFRRNyTQbxTB4UBpnA,9647
|
|
84
84
|
mns_common/component/company/company_common_service_new_api.py,sha256=3TSmAIO4j9S26MPmDNx-2wXztBToULbwNSmbayb_v3U,5593
|
|
85
85
|
mns_common/component/concept/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
|
|
86
86
|
mns_common/component/concept/kpl_concept_common_service_api.py,sha256=tagVanuIwcJxBuesFAciiS5kOz7a89gaugnDbp9D0ds,3286
|
|
@@ -150,7 +150,7 @@ mns_common/utils/date_handle_util.py,sha256=XS-MyA8_7k35LOCFAYOHgVcVkMft_Kc4Wa9U
|
|
|
150
150
|
mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
|
|
151
151
|
mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
|
|
152
152
|
mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
|
|
153
|
-
mns_common-1.3.
|
|
154
|
-
mns_common-1.3.
|
|
155
|
-
mns_common-1.3.
|
|
156
|
-
mns_common-1.3.
|
|
153
|
+
mns_common-1.3.8.0.dist-info/METADATA,sha256=PTZ57HO0_9F3uslmSBhPqe3YmAYTfBIOvcKwMg0OL2Q,61
|
|
154
|
+
mns_common-1.3.8.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
155
|
+
mns_common-1.3.8.0.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
|
|
156
|
+
mns_common-1.3.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|