Skip to content

Commit

Permalink
修复综合选股字段长度不够错误
Browse files Browse the repository at this point in the history
  • Loading branch information
myhhub committed Dec 4, 2024
1 parent 431f82d commit 0743cb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions instock/core/tablestructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,12 +534,12 @@
'map': 'TURNOVERRATE'},
'listing_date': {'type': DATE, 'cn': '上市时间', 'size': 110,
'map': 'LISTING_DATE'},
'industry': {'type': NVARCHAR(length=20), 'cn': '行业', 'size': 100,
'industry': {'type': NVARCHAR(length=50), 'cn': '行业', 'size': 100,
'map': 'INDUSTRY'},
'area': {'type': NVARCHAR(length=20), 'cn': '地区', 'size': 70, 'map': 'AREA'},
'concept': {'type': NVARCHAR(length=300), 'cn': '概念', 'size': 150,
'area': {'type': NVARCHAR(length=50), 'cn': '地区', 'size': 70, 'map': 'AREA'},
'concept': {'type': NVARCHAR(length=800), 'cn': '概念', 'size': 150,
'map': 'CONCEPT'},
'style': {'type': NVARCHAR(length=300), 'cn': '板块', 'size': 150,
'style': {'type': NVARCHAR(length=255), 'cn': '板块', 'size': 150,
'map': 'STYLE'},
'is_hs300': {'type': NVARCHAR(length=2), 'cn': '沪300', 'size': 0,
'map': 'IS_HS300'},
Expand Down

1 comment on commit 0743cb1

@XDAntenna
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

运行还是会报同样的错误。。。

Please sign in to comment.