Explorar el Código

fix:去除指标限制

zqbao hace 8 meses
padre
commit
db30a6c443
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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