|
@@ -194,8 +194,7 @@ class InstitutionService:
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
create_data_dict = create_data.model_dump(exclude_unset=True)
|
|
create_data_dict = create_data.model_dump(exclude_unset=True)
|
|
|
- if issue_rule_id:
|
|
|
|
|
- create_data_dict["issue_rule_id"] = issue_rule_id
|
|
|
|
|
|
|
+ # issue_rule_id 暂不写入模型(模型无该字段),后续扩展
|
|
|
crud = InstitutionCRUD(auth)
|
|
crud = InstitutionCRUD(auth)
|
|
|
await crud.create(create_data_dict)
|
|
await crud.create(create_data_dict)
|
|
|
|
|
|