Kaynağa Gözat

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

qiuenguang 1 yıl önce
ebeveyn
işleme
9f9d6da28d
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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('设备_产量计酬')