更新 mes_in_sct/app/action/CheckBomInfo.php
This commit is contained in:
parent
7acea7ef56
commit
a856480ca0
@ -25,7 +25,7 @@ class CheckBomInfo
|
|||||||
|
|
||||||
//2.判断工序单元、设备编码是存在?
|
//2.判断工序单元、设备编码是存在?
|
||||||
$sql = "SELECT id FROM hf_mes_process_workingsubclass WHERE code='".$workingsubclass."'";
|
$sql = "SELECT id FROM hf_mes_process_workingsubclass WHERE code='".$workingsubclass."'";
|
||||||
$ret = Db::fetch($sql);
|
$ret = Db::fetch($sql2);
|
||||||
if(empty($ret)){
|
if(empty($ret)){
|
||||||
throw new Exception("工序单元[$workingsubclass]不存在",4001);
|
throw new Exception("工序单元[$workingsubclass]不存在",4001);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user