|
@@ -34,6 +34,12 @@ class GenaralRecordRepository
|
|
if(isset($request['virus_behavior_id'])){
|
|
if(isset($request['virus_behavior_id'])){
|
|
$where[] = ['virus_behavior_id', $request['virus_behavior_id']];
|
|
$where[] = ['virus_behavior_id', $request['virus_behavior_id']];
|
|
}
|
|
}
|
|
|
|
+ if(isset($request['content_author_id'])){
|
|
|
|
+ $where[] = ['content_author_id', $request['content_author_id']];
|
|
|
|
+ }
|
|
|
|
+ if(isset($request['related_content_id'])){
|
|
|
|
+ $where[] = ['related_content_id', $request['related_content_id']];
|
|
|
|
+ }
|
|
|
|
|
|
if(isset($request['behavior_identification'])){
|
|
if(isset($request['behavior_identification'])){
|
|
$virus_id = $this->behavior->select('virus_behavior_id')->where('behavior_identification',$request['behavior_identification'])->first();
|
|
$virus_id = $this->behavior->select('virus_behavior_id')->where('behavior_identification',$request['behavior_identification'])->first();
|