0922.10:30employment接口合并

This commit is contained in:
2026-09-22 10:31:25 +08:00
parent 1577daac42
commit 458cdac004
4 changed files with 28 additions and 48 deletions
+10 -13
View File
@@ -1,19 +1,16 @@
from fastapi import APIRouter, Depends, HTTPException, Query
from sqlalchemy.orm import Session
from core.database import get_db
from dao.employment import (
create_employment,
get_employment_by_id,
get_employment_by_student_id,
get_employment_list,
update_employment,
delete_employment_logic
)
from schemas.employment import (
EmploymentCreate,
EmploymentUpdate,
EmploymentResponse
)
from dao.employment import (create_employment,
get_employment_by_id,
get_employment_by_student_id,
get_employment_list,
update_employment,
delete_employment_logic)
from schemas.employment import (EmploymentCreate,
EmploymentUpdate,
EmploymentResponse)
employment_router = APIRouter(prefix="/employments", tags=["就业管理模块"])