* [highgo] Remove 'limit 1' in update sql.

This commit is contained in:
朱金勇
2025-11-06 21:59:35 +08:00
committed by Gitfox
parent 9a5d2c821b
commit 76fb872562
-2
View File
@@ -446,7 +446,6 @@ class executionModel extends model
->checkIF(!empty($execution->code), 'code', 'unique', "id != $executionID and type in ('sprint','stage', 'kanban') and `project` = '$executionProject' and `deleted` = '0'")
->checkFlow()
->where('id')->eq($executionID)
->limit(1)
->exec();
if(dao::isError()) return false;
@@ -561,7 +560,6 @@ class executionModel extends model
->checkIF(!empty($execution->code), 'code', 'unique', "id != $executionID and type in ('sprint','stage','kanban') and `project` = $projectID and `deleted` = '0'")
->checkFlow()
->where('id')->eq($executionID)
->limit(1)
->exec();
if(dao::isError()) return false;