更新任务关键字查询
This commit is contained in:
parent
c15f192361
commit
c347014afb
|
@ -76,6 +76,9 @@ class ProjectTask extends Model
|
||||||
if (!empty($param['keywords'])) {
|
if (!empty($param['keywords'])) {
|
||||||
$where[] = ['title|content', 'like', '%' . $param['keywords'] . '%'];
|
$where[] = ['title|content', 'like', '%' . $param['keywords'] . '%'];
|
||||||
}
|
}
|
||||||
|
if (!empty($param['keyword'])) {
|
||||||
|
$where[] = ['title|content', 'like', '%' . $param['keyword'] . '%'];
|
||||||
|
}
|
||||||
|
|
||||||
$where[] = ['delete_time', '=', 0];
|
$where[] = ['delete_time', '=', 0];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue