Compare commits
2 Commits
main
...
james-patc
Author | SHA1 | Date | |
---|---|---|---|
366738a6c4 | |||
bcbdcb4697 |
@ -10,6 +10,7 @@ class GetBatteryProcessRoute
|
||||
{
|
||||
public function execute($post)
|
||||
{
|
||||
|
||||
// 验证数据
|
||||
$param = check_valid($post['action'], [
|
||||
['device_code', 'string', '设备编码'],
|
||||
@ -124,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user