更新 mes_in_sct/app/action/GetBatteryProcessRoute.php
All checks were successful
Run Unit Tests / test (pull_request) Successful in 4s

This commit is contained in:
james 2025-07-27 01:13:38 +08:00
parent bcbdcb4697
commit 366738a6c4

View File

@ -125,7 +125,7 @@ class GetBatteryProcessRoute
$h = $k + 1;
if (!empty($freeze_data)) {
// 检查 status 是否为 5 和 workingsubclass为ALLPROCESS
if ($freeze_data['status'] == 5 && $freeze_data['workingsubclass'] = 'ALLPROCESS') {
if ($freeze_data['status'] == 5 && $freeze_data['workingsubclass'] == 'ALLPROCESS') {
throw new Exception("(!!!紧急冻结全工序!!!)第[{$h}]位置电池条码{$battery_id}在工序[{$ret['next_workingsubclass']}]已被标记[{$freeze_data['classname']}]冻结,需要设备排出或人工取出!!!");
// 检查 status 是否为 1
} elseif($freeze_data['status'] == 1) {