Sfoglia il codice sorgente

fix:去除指标限制

zqbao 8 mesi fa
parent
commit
db30a6c443
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      controllers/base_from_mysteel_chemical.go

+ 1 - 1
controllers/base_from_mysteel_chemical.go

@@ -87,7 +87,7 @@ func (this *MySteelChemicalController) Refresh() {
 		br.ErrMsg = "请输入指标编码,指标编码为空"
 		return
 	}
-	if req.EdbInfoId <= 0 {
+	if req.EdbInfoId < 0 {
 		br.Msg = "请输入指标ID!"
 		br.ErrMsg = "请输入指标ID"
 		return