Compare commits
2 Commits
main
...
james-patc
Author | SHA1 | Date | |
---|---|---|---|
c9e11770f2 | |||
57851c8450 |
@ -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($sql3);
|
||||
if(empty($ret)){
|
||||
throw new Exception("工序单元[$workingsubclass]不存在",4001);
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ class GetBatteryInfo
|
||||
WHERE battery_id='%s' ORDER BY id DESC LIMIT 1;",
|
||||
$battery_id
|
||||
);
|
||||
$ret = Db::fetch($sql);
|
||||
$ret = Db::fetch($sql2);
|
||||
|
||||
list($tray, $lot, $batch, $subbatch) = [
|
||||
$ret['tray'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user