This commit is contained in:
jhc 2023-05-08 16:46:05 +08:00
parent 874c6d377a
commit e1610eb019

View File

@ -825,7 +825,7 @@ func getApprovalContentFactory(typeFiled string) (ApprovalContentInterface, erro
if TypeMap[typeFiled] == TypeOa {
return &ApprovalOA{}, nil
} else {
return nil, errors.New("无法识别的审批类型")
return &Approval{}, nil
}
}
}