作者 何书鹏
1 个管道 的构建 失败 耗费 27 秒

联查时间范围查询bug修改

... ... @@ -105,7 +105,13 @@ class Study extends Backend
unset($filter['is_pass'],$op['is_pass']);
$this->request->get(["filter"=>json_encode($filter),'op'=>json_encode($op)]);
}
// 解决报错
if(isset($filter['user.expirationtime'])){
$expirationtime = explode(' - ',$filter['user.expirationtime']);
$basic_where['user.expirationtime'] = ['BETWEEN',[strtotime($expirationtime[0]),strtotime($expirationtime[1])]];
unset($filter['user.expirationtime'],$op['user.expirationtime']);
$this->request->get(["filter"=>json_encode($filter),'op'=>json_encode($op)]);
}
//所属组织
$organization_id = $this->getOrganizationId();
if($organization_id > 0){
... ...