通过水准线路编码生成 daily 数据

This commit is contained in:
lhx
2025-11-07 13:43:35 +08:00
parent b97617cb15
commit 772b5924ef
5 changed files with 227 additions and 4 deletions

View File

@@ -5,12 +5,11 @@ class DailyData(Base):
__tablename__ = "daily"
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
user_id = Column(Integer, nullable=False, comment="用户id")
user_id = Column(Integer, default=1, nullable=False, comment="用户id")
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")
remaining = Column(Integer, nullable=False, comment="剩余天数")
user_id = Column(Integer, default=1, nullable=False, comment="用户id")
is_all = Column(Integer, default=1, nullable=False, comment="是否全量数据")
is_all = Column(Integer, default=0, nullable=False, comment="是否全量数据")