正在显示
1 个修改的文件
包含
7 行增加
和
1 行删除
@@ -105,7 +105,13 @@ class Study extends Backend | @@ -105,7 +105,13 @@ class Study extends Backend | ||
105 | unset($filter['is_pass'],$op['is_pass']); | 105 | unset($filter['is_pass'],$op['is_pass']); |
106 | $this->request->get(["filter"=>json_encode($filter),'op'=>json_encode($op)]); | 106 | $this->request->get(["filter"=>json_encode($filter),'op'=>json_encode($op)]); |
107 | } | 107 | } |
108 | - | 108 | + // 解决报错 |
109 | + if(isset($filter['user.expirationtime'])){ | ||
110 | + $expirationtime = explode(' - ',$filter['user.expirationtime']); | ||
111 | + $basic_where['user.expirationtime'] = ['BETWEEN',[strtotime($expirationtime[0]),strtotime($expirationtime[1])]]; | ||
112 | + unset($filter['user.expirationtime'],$op['user.expirationtime']); | ||
113 | + $this->request->get(["filter"=>json_encode($filter),'op'=>json_encode($op)]); | ||
114 | + } | ||
109 | //所属组织 | 115 | //所属组织 |
110 | $organization_id = $this->getOrganizationId(); | 116 | $organization_id = $this->getOrganizationId(); |
111 | if($organization_id > 0){ | 117 | if($organization_id > 0){ |
-
请 注册 或 登录 后发表评论