This commit is contained in:
maruizhi
2026-09-22 22:41:22 +08:00
parent 9f87dd25d1
commit 9f0fae933f
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ def add_emp_dao(o,db):
e1 = Employment_info(**o)
db.add(e1)
db.commit()
return e1
return o
except Exception as e:
db.rollback()
raise HTTPException(status_code=500, detail=f'新增就业信息失败: {e}')