unknown 1 неделя назад
Родитель
Сommit
c24e191f0e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/api/controller/ReportingWork.php

+ 1 - 1
application/api/controller/ReportingWork.php

@@ -111,7 +111,7 @@ class ReportingWork extends Api
                 ->where('status', 0)
                 ->field('process_code as 工艺编号,process_name as 工艺名称,standard_hour as 标准工时,
                 standard_score as 标准工分,coefficient as 系数,remark as 备注')
-                ->order('process_code')
+                ->order('part_code,process_code')
                 ->select();
             if (empty($data)) {
                 $this->error('未找到工艺数据');