Merge branch 'oa' into dev

This commit is contained in:
jhc 2023-05-08 16:46:18 +08:00
commit ea8e5eb17f

View File

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