ソースを参照

新加筛选字段

durong 5 年 前
コミット
4717651c18
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3 0
      app/Repositories/Behavior/BehaviorRepository.php

+ 3 - 0
app/Repositories/Behavior/BehaviorRepository.php

@@ -498,6 +498,9 @@ class BehaviorRepository
             if (isset($request['trigger_type'])) {
                 $where[] = ['trigger_type', $request['trigger_type']];
             }
+            if(isset($request['virus_behavior_id'])){
+                $where[] = ['virus_behavior_id', $request['virus_behavior_id']];
+            }
 
             if ($type == 'registered_record') {
                 $registeredRecord = $this->registeredRecord;