소스 검색

优化流程单

huangsanjia 1 년 전
부모
커밋
5bde9f32a8
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      application/api/controller/ProcessDocument.php

+ 1 - 2
application/api/controller/ProcessDocument.php

@@ -89,7 +89,7 @@ class ProcessDocument extends Api
 
         $where = array();
         $where['Gd_gdbh'] = $order;
-        $where['行号'] = 1;
+        
         $product = db('工单_基本资料')
             ->where($where)
             ->field('成品代号')
@@ -148,7 +148,6 @@ class ProcessDocument extends Api
         $data['data'] = substr($params['data'],0,-1);
         $where = array();
         $where['Gd_gdbh'] = $params['order'];
-        $where['行号'] = 1;
         $product = db('工单_基本资料')
             ->where($where)
             ->field('成品代号')