1.自动更新今日需要抓取数据
2.工况接口返回
This commit is contained in:
12
app/models/daily.py
Normal file
12
app/models/daily.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from sqlalchemy import Column, Integer, String
|
||||
from ..core.database import Base
|
||||
|
||||
class DailyData(Base):
|
||||
__tablename__ = "daily"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
||||
account_id = Column(Integer, nullable=False, comment="账户id")
|
||||
point_id = Column(String(100), comment="测点id")
|
||||
NYID = Column(String(100), nullable=False, comment="期数id")
|
||||
linecode = Column(String(255), nullable=False, comment="水准线路编码")
|
||||
section_id = Column(String(255), nullable=False, comment="所属断面id")
|
||||
Reference in New Issue
Block a user