|
...
|
...
|
@@ -165,6 +165,9 @@ class ProductController extends BaseController |
|
|
|
if(isset($this->map['status'])){
|
|
|
|
$query = $query->where('status',$this->map['status']);
|
|
|
|
}
|
|
|
|
if(isset($this->map['created_uid'])){
|
|
|
|
$query = $query->where('created_uid',$this->map['created_uid']);
|
|
|
|
}
|
|
|
|
if(!empty($this->param['start_at']) && !empty($this->param['end_at'])){
|
|
|
|
$query->where('created_at', '>=' ,$this->param['start_at'].' 00:00:00')->where('created_at', '<=' ,$this->param['end_at'].' 59:59:59');
|
|
|
|
}
|
...
|
...
|
|