数据查询完善

This commit is contained in:
lhx
2025-09-29 17:27:45 +08:00
parent 8fe42e6fdd
commit 08faa06611
9 changed files with 29 additions and 34 deletions

View File

@@ -32,8 +32,7 @@ class LevelDataService(BaseService[LevelData]):
if id is not None:
conditions["id"] = id
level_data = self.search_by_conditions(db, conditions)
# 查询原始数据
return self.search_by_conditions(db, conditions)
def get_by_nyid_and_linecode(self, db: Session, nyid: str, linecode: str = None) -> Optional[LevelData]: