* Get more fields.

This commit is contained in:
daitingting
2023-07-20 05:21:38 +00:00
parent afafac92ef
commit c8e0f4f3a5
+1 -1
View File
@@ -85,7 +85,7 @@ class treeModel extends model
if(($type == 'feedback' or $type == 'ticket') and strpos($param, 'noproduct') === false and isset($syncConfig[$rootID])) $type = 'story,' . $type;
if($this->isMergeModule($rootID, $type))
{
return $this->dao->select('id, name, grade, path, parent')->from(TABLE_MODULE)
return $this->dao->select('id, name, root, branch, grade, path, parent')->from(TABLE_MODULE)
->where('root')->eq((int)$rootID)
->beginIF($type == 'task')->andWhere('type')->eq('task')->fi()
->beginIF($type != 'task')->andWhere('type')->in("story,$type")->fi()