From 5ef6e47b2ef8acde702e669b6731ef792eec71e3 Mon Sep 17 00:00:00 2001 From: james Date: Sun, 15 Jun 2025 01:22:08 +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..3c82b9c 100644 --- a/mes_in_sct/app/action/CheckBomInfo.php +++ b/mes_in_sct/app/action/CheckBomInfo.php @@ -25,7 +25,7 @@ class CheckBomInfo //2.判断工序单元、设备编码是存在? $sql = "SELECT id FROM hf_mes_process_workingsubclass WHERE code='".$workingsubclass."'"; - $ret = Db::fetch($sql); + $ret = Db::fetch($sql2); if(empty($ret)){ throw new Exception("工序单元[$workingsubclass]不存在",4001); }