Эх сурвалжийг харах

fix:ppt转报告bug修复

Roc 7 сар өмнө
parent
commit
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]
 	}