|
|
@@ -254,14 +254,12 @@ class Facility extends Api
|
|
|
if (empty($data['工单编号'])){
|
|
|
$this->success('未找到生产订单');
|
|
|
}
|
|
|
- halt($data);
|
|
|
$endTime = \db('工单_工艺资料')
|
|
|
->where('Gy0_gdbh',$data['工单编号'])
|
|
|
->where('Gy0_yjno',$data['印件号'])
|
|
|
->where('Gy0_gxh',$data['工序号'])
|
|
|
->where('Gy0_sbbh','like','%'.$machine.'%')
|
|
|
->find();
|
|
|
- halt($endTime);
|
|
|
$list = [];
|
|
|
if ($endTime['PD_WG'] === '1900-01-01 00:00:00'){
|
|
|
$list['工单编号'] = $data['工单编号'];
|