* Fix bug.

This commit is contained in:
孙广明
2022-02-09 13:24:33 +08:00
parent 4f26dd32fe
commit 0ce75c876f
+1 -1
View File
@@ -93,7 +93,7 @@ class kanbanModel extends model
$region->order = $order;
$this->dao->insert(TABLE_KANBANREGION)->data($region)
->batchCheck($this->config->kanban->require->createregion, 'notempty')
->check('name', 'unique', "kanban = {$kanban->id} AND deleted = '0' AND space = {$kanban->space}")
->check('name', 'unique', "kanban = {$kanban->id} AND deleted = '0'")
->autoCheck()
->exec();