@@ -89,11 +89,13 @@ class ProcessDocument extends Api
$where = array();
$where['Gd_gdbh'] = $order;
-
$product = db('工单_基本资料')
->where($where)
->field('成品代号')
->find();
+ if (empty($product)){
+ $this->success('请求成功');
+ }
$map =array();
$map['product_number'] = rtrim($product['成品代号']);
if ($params['peijian'] > 0){