作者 tangxvhui

bug 修复

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