Merge branch 'sgm_fixbug' into 'master'

* Fix kanban bug.

See merge request easycorp/zentaopms!1469
This commit is contained in:
王怡栋
2022-01-18 05:25:33 +00:00
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -840,6 +840,7 @@ class kanbanModel extends model
->andWhere("INSTR(t2.cards, CONCAT(',',t1.id,','))")->gt(0)
->andWhere('archived')->eq(0)
->andWhere('t2.kanban')->eq($kanbanID)
->andWhere('t2.type')->eq('common')
//->orderBy('`order` asc')
->fetchAll('id');
+1 -1
View File
@@ -5401,7 +5401,7 @@ class upgradeModel extends model
$cell->kanban = $key[0];
$cell->lane = $key[1];
$cell->column = $key[2];
$cell->type = 'card';
$cell->type = 'common';
$cell->cards = $cards;
$this->dao->insert(TABLE_KANBANCELL)->data($cell)->exec();