作者 tangxvhui

bug 修复

@@ -465,7 +465,7 @@ func checkSelfCheckData(data []protocol.TemplateSelfCheck) error { @@ -465,7 +465,7 @@ func checkSelfCheckData(data []protocol.TemplateSelfCheck) error {
465 if _, ok := childTitleMap[vv.Title]; ok { 465 if _, ok := childTitleMap[vv.Title]; ok {
466 return protocol.NewErrWithMessage("10130") 466 return protocol.NewErrWithMessage("10130")
467 } else { 467 } else {
468 - titleMap[vv.Title] = 1 468 + childTitleMap[vv.Title] = 1
469 } 469 }
470 cnt++ 470 cnt++
471 } 471 }
@@ -478,6 +478,7 @@ func checkSelfCheckData(data []protocol.TemplateSelfCheck) error { @@ -478,6 +478,7 @@ func checkSelfCheckData(data []protocol.TemplateSelfCheck) error {
478 478
479 func auditFlowMustActionTypeOr(auditflow protocol.AuditFlowConfig) error { 479 func auditFlowMustActionTypeOr(auditflow protocol.AuditFlowConfig) error {
480 for _, v := range auditflow.ProcessConfig { 480 for _, v := range auditflow.ProcessConfig {
  481 +
481 if v.AcitonType != models.ActionTypeOr { 482 if v.AcitonType != models.ActionTypeOr {
482 return protocol.NewErrWithMessage("10129") 483 return protocol.NewErrWithMessage("10129")
483 } 484 }