@@ -376,7 +376,7 @@ func (this *EdbInfoController) ResetEdbClassify() {
// 获取指标信息
edbInfo, e := models.GetEdbInfoOnlyByEdbCode(req.IndexCode)
if e != nil {
- if e.Error() != utils.ErrNoRow() {
+ if e.Error() == utils.ErrNoRow() {
br.Msg = "指标不存在"
return
}