|
|
@@ -900,6 +900,7 @@ class WorkOrderVerification extends Api
|
|
|
c.yj_ls,d.jjcp_sl,d.jjcp_sj
|
|
|
';
|
|
|
$where['a.qczl_gdbh'] = $params['order'];
|
|
|
+// $where['a.qczl_yjno'] = $params['yjno'];
|
|
|
$where['b.行号'] = 1;
|
|
|
$data = db('db_qczl')->alias('a')
|
|
|
->join('工单_基本资料 b','a.qczl_gdbh = b.Gd_gdbh','left')
|
|
|
@@ -907,6 +908,7 @@ class WorkOrderVerification extends Api
|
|
|
->join('成品入仓 d','a.qczl_gdbh = d.jjcp_gdbh','left')
|
|
|
->where($where)
|
|
|
->field($field)
|
|
|
+ ->where('a.qczl_yjno','1')
|
|
|
->group('qczl_yjno,qczl_num')
|
|
|
->select();
|
|
|
$list = [];
|