更新 mes_in_sct/app/action/CheckBomInfo.php
This commit is contained in:
parent
082a69eafe
commit
c55e38a033
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user