Jelajahi Sumber

决策支持月度产量统计优化

qiuenguang 1 tahun lalu
induk
melakukan
9f9d6da28d
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      application/api/controller/Decision.php

+ 1 - 0
application/api/controller/Decision.php

@@ -70,6 +70,7 @@ class Decision extends Api
         $mouth = date_create_from_format('Ym', $param['mouth'])->format('Y-m');
         $machine = \db('设备_基本资料')
             ->where($where)
+            ->where('sys_sbID','<>','')
             ->field('设备编号')
             ->select();
         $day = \db('设备_产量计酬')