Merge branch 'sprint/194_liumengyi_fixbug' into 'master'

* Fix bug #22665.

See merge request easycorp/zentaopms!3588
This commit is contained in:
孙广明
2022-05-25 05:49:16 +00:00
-1
View File
@@ -3703,7 +3703,6 @@ class kanbanModel extends model
$count = $this->dao->select('COUNT(id) AS count')->from(TABLE_KANBANLANE)
->where('deleted')->eq('0')
->andWhere('region')->eq($object->region)
->beginIF($action == 'deletelane')->andWhere('type')->eq($object->type)->fi()
->beginIF($action == 'sortlane')->andWhere('`group`')->eq($object->group)->fi()
->fetch('count');
return $count > 1;