调整
This commit is contained in:
parent
874c6d377a
commit
e1610eb019
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user