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

Merge remote-tracking branch 'origin/eta/2.3' into debug

Roc 3 сар өмнө
parent
commit
2951d49219

+ 0 - 9
services/data/edb_public_classify.go

@@ -808,17 +808,8 @@ func moveEdbPublicClassify(parentEdbClassifyInfo, edbClassifyInfo, prevClassify,
 		updateCol = append(updateCol, "Sort", "ModifyTime")
 	}
 
-	oldClassifyIdPath := edbClassifyInfo.ClassifyIdPath
-	oldClassifyNamePath := edbClassifyInfo.ClassifyNamePath
-	newClassifyNamePath := fmt.Sprint(parentEdbClassifyInfo.ClassifyNamePath, `|`, edbClassifyInfo.ClassifyName)
-	newClassifyIdPath := fmt.Sprint(parentEdbClassifyInfo.ClassifyIdPath, `,`, edbClassifyInfo.ClassifyId)
-
 	//更新
 	if len(updateCol) > 0 {
-		edbClassifyInfo.ClassifyNamePath = newClassifyNamePath
-		edbClassifyInfo.ClassifyIdPath = newClassifyIdPath
-		updateCol = append(updateCol, "ClassifyNamePath", "ClassifyIdPath")
-
 		err = edbClassifyInfo.Update(updateCol)
 		if err != nil {
 			errMsg = "移动失败"