From 76fb872562cc9ec145397a62b97293c369439881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E9=87=91=E5=8B=87?= Date: Thu, 6 Nov 2025 21:59:35 +0800 Subject: [PATCH] * [highgo] Remove 'limit 1' in update sql. --- module/execution/model.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/execution/model.php b/module/execution/model.php index 092df114a5..6518217686 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -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;