Compare commits

...

3 Commits

Author SHA1 Message Date
840087755b 更新 mes_in_sct/app/action/GetBatteryProcessResult.php
All checks were successful
Run Unit Tests / test (pull_request) Successful in 5s
2025-06-15 11:53:43 +08:00
d47848b927 更新 mes_in_sct/app/action/GetBatteryProcessResult.php
Some checks failed
Run Unit Tests / test (pull_request) Failing after 8s
2025-06-15 11:52:35 +08:00
c55e38a033 更新 mes_in_sct/app/action/CheckBomInfo.php 2025-06-15 11:50:58 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -28,7 +28,7 @@ class GetBatteryProcessResult
$battery_ids = $param['battery_ids'];
$process_code = $param['process_code'];
// 修改参数名字
$result = [];
// 判断结果参数是否都上传了