@@ -137,7 +137,7 @@ func (this *ReportChapterTypeController) Add() {
br.ErrMsg = "获取重名报告章节失败, Err:" + e.Error()
return
}
- if exists != nil {
+ if exists != nil && exists.ReportChapterTypeId > 0 {
br.Msg = "章节名称已存在"