浏览代码

跨品种分析

xyxie 9 月之前
父节点
当前提交
e212e67475
共有 1 个文件被更改,包括 2 次插入2 次删除
  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)