$data = reqlist::with( [ 'elist'=> function($query) use($emap) { if(!empty($emap)){ $query->where($emap); } } ] ) ->where($map) ->paginate($limit);
date":"2020-10-12","elist":null},