时间格式,获取沉降数据接口limit
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from sqlalchemy import Column, Integer, String
|
||||
from sqlalchemy import Column, Integer, String, DateTime
|
||||
from ..core.database import Base
|
||||
|
||||
class LevelData(Base):
|
||||
@@ -9,4 +9,5 @@ class LevelData(Base):
|
||||
benchmarkids = Column(String(100), comment="工作基点名称序列")
|
||||
wsphigh = Column(String(100), comment="工作基点高程序列(m)")
|
||||
NYID = Column(String(100), nullable=False, comment="期数id", index=True)
|
||||
createDate = Column(String(100), comment="上传时间")
|
||||
createDate = Column(DateTime, comment="上传时间")
|
||||
mtype = Column(String(100), comment="水准观测类型")
|
||||
@@ -6,10 +6,9 @@ class OriginalData(Base):
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
||||
bfpcode = Column(String(1000), nullable=False, comment="前(后)视点名称")
|
||||
mtime = Column(String(1000), nullable=False, comment="测点观测时间")
|
||||
mtime = Column(DateTime, nullable=False, comment="测点观测时间")
|
||||
bffb = Column(String(1000), nullable=False, comment="前(后)视标记符")
|
||||
bfpl = Column(String(1000), nullable=False, comment="前(后)视距离(m)")
|
||||
bfpvalue = Column(String(1000), nullable=False, comment="前(后)视尺读数(m)")
|
||||
times = Column(String(1000), nullable=False, comment="上传时间")
|
||||
NYID = Column(String(100), nullable=False, comment="期数id", index=True)
|
||||
sort = Column(Integer, comment="序号")
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user