正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -165,6 +165,9 @@ class ProductController extends BaseController | @@ -165,6 +165,9 @@ class ProductController extends BaseController | ||
| 165 | if(isset($this->map['status'])){ | 165 | if(isset($this->map['status'])){ |
| 166 | $query = $query->where('status',$this->map['status']); | 166 | $query = $query->where('status',$this->map['status']); |
| 167 | } | 167 | } |
| 168 | + if(isset($this->map['created_uid'])){ | ||
| 169 | + $query = $query->where('created_uid',$this->map['created_uid']); | ||
| 170 | + } | ||
| 168 | if(!empty($this->param['start_at']) && !empty($this->param['end_at'])){ | 171 | if(!empty($this->param['start_at']) && !empty($this->param['end_at'])){ |
| 169 | $query->where('created_at', '>=' ,$this->param['start_at'].' 00:00:00')->where('created_at', '<=' ,$this->param['end_at'].' 59:59:59'); | 172 | $query->where('created_at', '>=' ,$this->param['start_at'].' 00:00:00')->where('created_at', '<=' ,$this->param['end_at'].' 59:59:59'); |
| 170 | } | 173 | } |
-
请 注册 或 登录 后发表评论