소스 검색

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

qiuenguang 1 년 전
부모
커밋
9f9d6da28d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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('设备_产量计酬')