Browse Source

当前生产订单优化

qiuenguang 1 năm trước cách đây
mục cha
commit
39e59e7e20
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      application/api/controller/Facility.php

+ 3 - 1
application/api/controller/Facility.php

@@ -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)){