cqp 3 달 전
부모
커밋
ddce08e76f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Service/EquipmentService.php

+ 1 - 0
app/Service/EquipmentService.php

@@ -224,6 +224,7 @@ class EquipmentService extends Service
 
     public function getDeviceList($index = "title", $value = "code"){
         $deviceList = Equipment::where('del_time',0)
+            ->where('model','<>',1)
             ->select('id','title','code')
             ->get()->toArray();