Skip to content

Commit 0743cb1

Browse files
committed
修复综合选股字段长度不够错误
1 parent 431f82d commit 0743cb1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

instock/core/tablestructure.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -534,12 +534,12 @@
534534
'map': 'TURNOVERRATE'},
535535
'listing_date': {'type': DATE, 'cn': '上市时间', 'size': 110,
536536
'map': 'LISTING_DATE'},
537-
'industry': {'type': NVARCHAR(length=20), 'cn': '行业', 'size': 100,
537+
'industry': {'type': NVARCHAR(length=50), 'cn': '行业', 'size': 100,
538538
'map': 'INDUSTRY'},
539-
'area': {'type': NVARCHAR(length=20), 'cn': '地区', 'size': 70, 'map': 'AREA'},
540-
'concept': {'type': NVARCHAR(length=300), 'cn': '概念', 'size': 150,
539+
'area': {'type': NVARCHAR(length=50), 'cn': '地区', 'size': 70, 'map': 'AREA'},
540+
'concept': {'type': NVARCHAR(length=800), 'cn': '概念', 'size': 150,
541541
'map': 'CONCEPT'},
542-
'style': {'type': NVARCHAR(length=300), 'cn': '板块', 'size': 150,
542+
'style': {'type': NVARCHAR(length=255), 'cn': '板块', 'size': 150,
543543
'map': 'STYLE'},
544544
'is_hs300': {'type': NVARCHAR(length=2), 'cn': '沪300', 'size': 0,
545545
'map': 'IS_HS300'},

0 commit comments

Comments
 (0)