响应格式修改,原始数据查询修改

This commit is contained in:
lhx
2025-10-23 11:32:10 +08:00
parent 21c61cdec7
commit 34b698386a
12 changed files with 542 additions and 232 deletions

View File

@@ -38,11 +38,11 @@ def get_original_data_model(account_id: int):
'__table_args__': {'extend_existing': True},
'id': Column(Integer, primary_key=True, index=True, autoincrement=True),
'account_id': Column(Integer, nullable=False, comment="账号ID", index=True),
'bfpcode': 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)"),
'bfpcode': Column(String(1000), comment="前(后)视点名称"),
'mtime': Column(DateTime, comment="测点观测时间"),
'bffb': Column(String(1000), comment="前(后)视标记符"),
'bfpl': Column(String(1000), comment="前(后)视距离(m)"),
'bfpvalue': Column(String(1000), comment="前(后)视尺读数(m)"),
'NYID': Column(String(100), nullable=False, comment="期数id", index=True),
'sort': Column(Integer, comment="序号")
}