@@ -0,0 +1 @@
+<?php
@@ -256,7 +256,7 @@ class MachineList extends Api
$this->error('参数错误');
}
$where = [];
- if (isset($param['type']) && $param['type'] == '修理') {
+ if (isset($param['type'])) {
$where['st_jylb'] =['like','修理领用%'];
$list = db('物料_收发记录')