作者 lyh

gx

... ... @@ -47,7 +47,7 @@ class ProjectController extends BaseController
$map[] = ['type',Project::TYPE_ONE];
}
if(isset($this->param['type']) && $this->param['type'] == Project::TYPE_ZERO){
$map[] = ['type',Project::TYPE_ZERO];
$map[] = ['type','in',[Project::TYPE_ZERO]];
}
//搜索技术组
if(!empty($this->param['dep_id'])){
... ...
... ... @@ -249,8 +249,6 @@ class Logic
}
switch ($v[1]) {
case 'like':
var_dump($v[1]);
die();
// like查询 ['name|title', 'like', '%a%']
if (strpos($v[0], '|') !== false) {
$query->where(function ($query) use ($v) {
... ...