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

联查时间范围查询bug修改

@@ -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){