diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 7e1589c24..8f210537f 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -651,7 +651,7 @@ func CreateActForMtByOrder(ctx *jxcontext.Context, act *model.Act, vendorIDs []i err2 = "" vendorID int ) - if len(vendorIDs) > 0 { + if len(vendorIDs) > 1 { return fmt.Errorf("只允许单平台创建!") } vendorID = vendorIDs[0]