소스 검색

跨品种分析

xyxie 11 달 전
부모
커밋
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)