Browse Source

机台日报表新增相关接口优化

曹鹤洋 1 year ago
parent
commit
80c6e10aa2
1 changed files with 1 additions and 11 deletions
  1. 1 11
      application/api/controller/MachineProductionReport.php

+ 1 - 11
application/api/controller/MachineProductionReport.php

@@ -627,17 +627,7 @@ class MachineProductionReport extends Api
             ->where('生产工序','like','%'.$sczl_type.'%')
             ->order('设备编号 asc')
             ->select();
-            halt($rows);
-        // foreach ($arr as $value) {
-        //     $data[$value] = [];
-        //     foreach ($rows as $row){
-        //         if($row['使用部门']==$value){
-        //             unset($row['使用部门']);
-        //             array_push($data[$value], $row);
-        //         }
-        //     }
-        // }
-        $this->success('成功',[$data]);
+        $this->success('成功',$rows);
     }
 
     /**