|
|
@@ -1915,8 +1915,6 @@ def patch_plan_hazard_cert_ready(
|
|
|
user: DbUserContext = Depends(get_db_current_user),
|
|
|
) -> PlanWithProducts:
|
|
|
"""标记或取消危化品证书齐备(人工确认)"""
|
|
|
- if not user_can_manage_plan_cert_ready(db, user):
|
|
|
- raise HTTPException(status_code=403, detail="无证书齐备操作权限")
|
|
|
tenant_no = get_tenant_no(db, user.to_tenant_user_dict())
|
|
|
_get_plan(db, tenant_no, id, user)
|
|
|
set_hazard_cert_ready(
|