时间格式,获取沉降数据接口limit

This commit is contained in:
lhx
2025-10-14 09:14:59 +08:00
parent 667b793aa1
commit ef0d92f86f
6 changed files with 38 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
from sqlalchemy import Column, Integer, String
from sqlalchemy import Column, Integer, String, DateTime
from ..core.database import Base
class SettlementData(Base):
@@ -8,13 +8,13 @@ class SettlementData(Base):
point_id = Column(String(100), nullable=False, comment="观测点id", index=True)
CVALUE = Column(String(100), nullable=False, comment="修正量(m)")
MAVALUE = Column(String(100), nullable=False, comment="成果值(m)")
MTIME_W = Column(String(100), nullable=False, comment="观测时间")
MTIME_W = Column(DateTime, nullable=False, comment="观测时间")
NYID = Column(String(100), nullable=False, comment="期数id", index=True)
PRELOADH = Column(String(100), nullable=False)
PSTATE = Column(String(100), nullable=False)
REMARK = Column(String(100), comment="备注")
WORKINFO = Column(String(100))
createdate = Column(String(100), nullable=False, comment="上传时间")
createdate = Column(DateTime, nullable=False, comment="上传时间", index=True)
day = Column(String(100), nullable=False, comment="累计天数")
day_jg = Column(String(100), nullable=False, comment="两次观测时")
isgzjdxz = Column(String(100))