Ver Fonte

印版领用工单详情优化

unknown há 8 meses atrás
pai
commit
bef5637109
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      application/api/controller/PrintingPlate.php

+ 2 - 2
application/api/controller/PrintingPlate.php

@@ -396,8 +396,8 @@ class PrintingPlate extends Api
             ->join('工单_基本资料 b', 'a.Yb_工单编号 = b.Gd_gdbh','left')
             ->where('a.Yb_存货编码',$param['code'])
             ->where('a.Yb_供方批号',$param['batch'])
-            ->order('a.Yb_领用日期 desc')
-            ->group('a.Yb_工单编号')
+            ->order('a.UniqID desc')
+            ->group('a.Yb_工单编号,a.Yb_印件号,a.UniqID')
             ->select();
         if (empty($list)){
             $this->error('未找到领用记录');