This commit is contained in:
滔哥
2017-11-17 15:02:35 +08:00
16 changed files with 124 additions and 30 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ class treeModel extends model
*/
public function getLinePairs()
{
return $this->dao->select('id, name')->from(TABLE_MODULE)->where('type')->eq('line')->fetchPairs();
return $this->dao->select('id, name')->from(TABLE_MODULE)->where('type')->eq('line')->andWhere('deleted')->eq(0)->fetchPairs();
}
/**