ソースを参照

新增数据源钢联指标

tuoling805 1 年間 前
コミット
306c89c593
1 ファイル変更0 行追加10 行削除
  1. 0 10
      controllers/base_from_mysteel_chemical.go

+ 0 - 10
controllers/base_from_mysteel_chemical.go

@@ -587,16 +587,6 @@ func (this *MySteelChemicalController) AddMysteelIndex() {
 		br.ErrMsg = "参数解析失败,Err:" + err.Error()
 		return
 	}
-
-	/*
-		func (m *BaseFromMysteelChemicalIndex) GetIndexItem(indexCode string) (item *BaseFromMysteelChemicalIndex, err error) {
-			o := orm.NewOrm()
-			sql := `SELECT * FROM base_from_mysteel_chemical_index WHERE index_code = ? `
-			err = o.Raw(sql, indexCode).QueryRow(&item)
-			return
-		}
-	*/
-
 	mysteelIndexObj := new(models.BaseFromMysteelChemicalIndex)
 	indexItem, err := mysteelIndexObj.GetIndexItem(req.EdbCode)
 	var isAdd bool