Explorar o código

当前生产工单优化

qiuenguang hai 1 ano
pai
achega
055057717f
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      application/api/controller/Facility.php

+ 0 - 2
application/api/controller/Facility.php

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