Update model.php

This commit is contained in:
孙华伟
2022-05-11 08:45:54 +00:00
parent d4050ef0ef
commit 43984d13b4
+1 -2
View File
@@ -637,11 +637,10 @@ class projectModel extends model
* */
public function getBySearch($projectQuery)
{
$projects = $this->dao->select('*')->from(TABLE_PROJECT)
return $this->dao->select('*')->from(TABLE_PROJECT)
->where($projectQuery)
->andWhere('type')->eq('project')
->fetchAll();
return $projects;
}
/*