Browse Source

跨品种分析

xyxie 9 months ago
parent
commit
e212e67475
1 changed files with 2 additions and 2 deletions
  1. 2 2
      services/data/edb_classify.go

+ 2 - 2
services/data/edb_classify.go

@@ -623,7 +623,7 @@ func DeleteCheck(classifyId, edbInfoId int, sysUser *system.Admin) (deleteStatus
 			}
 			if len(tagXList) > 0 {
 				deleteStatus = 7
-				errMsg = "当前指标已添加到跨品种分析,不可删除"
+				tipsMsg = "当前指标已添加到跨品种分析,不可删除"
 				return
 			}
 			tagYList, tmpErr := cross_variety.GetChartInfoCrossVarietyByYEdbInfoId(edbInfoId)
@@ -635,7 +635,7 @@ func DeleteCheck(classifyId, edbInfoId int, sysUser *system.Admin) (deleteStatus
 
 			if len(tagYList) > 0 {
 				deleteStatus = 7
-				errMsg = "当前指标已添加到跨品种分析,不可删除"
+				tipsMsg = "当前指标已添加到跨品种分析,不可删除"
 				return
 			}
 			/*calculateCount, tmpErr := cross_variety.GetCountByEdbInfoId(edbInfoId)