Compare commits
3 Commits
main
...
james-patc
Author | SHA1 | Date | |
---|---|---|---|
840087755b | |||
d47848b927 | |||
c55e38a033 |
@ -31,7 +31,7 @@ class CheckBomInfo
|
|||||||
}
|
}
|
||||||
|
|
||||||
$sql = "SELECT id FROM hf_mes_device WHERE code='".$device_code."'";
|
$sql = "SELECT id FROM hf_mes_device WHERE code='".$device_code."'";
|
||||||
$ret = Db::fetch($sql);
|
$ret = Db::fetch($sql2);
|
||||||
if(empty($ret)){
|
if(empty($ret)){
|
||||||
throw new Exception("设备编码[$device_code]不存在",4001);
|
throw new Exception("设备编码[$device_code]不存在",4001);
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ class GetBatteryProcessResult
|
|||||||
|
|
||||||
$battery_ids = $param['battery_ids'];
|
$battery_ids = $param['battery_ids'];
|
||||||
$process_code = $param['process_code'];
|
$process_code = $param['process_code'];
|
||||||
|
// 修改参数名字
|
||||||
$result = [];
|
$result = [];
|
||||||
|
|
||||||
// 判断结果参数是否都上传了
|
// 判断结果参数是否都上传了
|
||||||
|
Loading…
x
Reference in New Issue
Block a user