소스 검색

fix:ppt转报告bug修复

Roc 7 달 전
부모
커밋
7fcfcccd05
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/ppt.go

+ 1 - 1
services/ppt.go

@@ -107,7 +107,7 @@ func SavePPTReport(pptId, classifyId int, title string, adminInfo *system.Admin)
 		return
 	}
 	twoClassify, hasTwo = classifyMap[baseClassify.ParentId]
-	if ok {
+	if hasTwo {
 		threeClassify, hasThird = classifyMap[twoClassify.ParentId]
 	}