|
|
@@ -1120,6 +1120,12 @@ class Product extends Api
|
|
|
->where('yj_yjno',$param['yjno'])
|
|
|
->field('rtrim(yj_ks) as 开数,rtrim(yj_ls) as 联数')
|
|
|
->find();
|
|
|
+ $process = \db('产品_工艺资料')
|
|
|
+ ->where('Gy0_cpdh',$param['product'])
|
|
|
+ ->where('Gy0_yjno',$param['yjno'])
|
|
|
+ ->order('Gy0_gxh desc')
|
|
|
+ ->value('Gy0_gxh');
|
|
|
+ $list['工序号'] = $process + 1;
|
|
|
$this->success('成功',$list);
|
|
|
}
|
|
|
}
|