From c55e38a03346d443360080f3b375e7a7280a49c0 Mon Sep 17 00:00:00 2001 From: james Date: Sun, 15 Jun 2025 11:50:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20mes=5Fin=5Fsct/app/action/?= =?UTF-8?q?CheckBomInfo.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes_in_sct/app/action/CheckBomInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mes_in_sct/app/action/CheckBomInfo.php b/mes_in_sct/app/action/CheckBomInfo.php index c732203..d363b34 100644 --- a/mes_in_sct/app/action/CheckBomInfo.php +++ b/mes_in_sct/app/action/CheckBomInfo.php @@ -31,7 +31,7 @@ class CheckBomInfo } $sql = "SELECT id FROM hf_mes_device WHERE code='".$device_code."'"; - $ret = Db::fetch($sql); + $ret = Db::fetch($sql2); if(empty($ret)){ throw new Exception("设备编码[$device_code]不存在",4001); }