|
|
@@ -279,7 +279,9 @@ class Facility extends Api
|
|
|
$list = [];
|
|
|
if (!empty($data['工单编号'])){
|
|
|
$endTime = \db('工单_工艺资料')
|
|
|
- ->where('UniqId',$data['任务ID'])
|
|
|
+ ->where('Gy0_gdbh',$data['工单编号'])
|
|
|
+ ->where('Gy0_yjno',$data['印件号'])
|
|
|
+ ->where('Gy0_gxh',$data['工序号'])
|
|
|
->find();
|
|
|
$list['工单编号'] = $data['工单编号'];
|
|
|
if (!empty($endTime)){
|