This commit is contained in:
zhouxudong
2022-06-13 06:47:08 +00:00
parent ca2f458c12
commit 1dded0473e
+4 -2
View File
@@ -6328,7 +6328,7 @@ class upgradeModel extends model
*/
public function replaceSetLanePriv()
{
$groupIDList = $this->dao->select('group')->from(TABLE_GROUPPRIV)
$groupIDList = $this->dao->select('`group`')->from(TABLE_GROUPPRIV)
->where('module')->eq('kanban')
->andWhere('method')->eq('setLane')
->fetchAll();
@@ -6344,7 +6344,7 @@ class upgradeModel extends model
foreach($groupIDList as $groupID)
{
$data = new stdClass();
$data->group = $groupID;
$data->group = $groupID->group;
$data->module = 'kanban';
$data->method = 'editLaneName';
$this->dao->insert(TABLE_GROUPPRIV)->data($data)->exec();
@@ -6352,5 +6352,7 @@ class upgradeModel extends model
$data->method = 'editLaneColor';
$this->dao->insert(TABLE_GROUPPRIV)->data($data)->exec();
}
return true;
}
}