瀏覽代碼

当前生产订单优化

qiuenguang 1 年之前
父節點
當前提交
39e59e7e20
共有 1 個文件被更改,包括 3 次插入1 次删除
  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)){