zqbao 8 сар өмнө
parent
commit
db30a6c443

+ 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