From 648d1dc0c582f60ee4e9aa7976edd2e06efe7cdc Mon Sep 17 00:00:00 2001 From: jianxing Date: Wed, 26 Jul 2023 10:10:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E9=87=8D=E7=BD=AE=E9=85=8D=E9=A2=9D=EF=BC=8C=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=85=8D=E9=A2=9D=E9=80=89=E9=A1=B9=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E9=87=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1028143 --user=陈建星 【系统设置】配额管理-使用默认配额-重置失败 https://www.tapd.cn/55049933/s/1397645 --- .../io/metersphere/quota/service/QuotaManagementService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/QuotaManagementService.java b/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/QuotaManagementService.java index ceee904a24..3bcd26fa9c 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/QuotaManagementService.java +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/quota/service/QuotaManagementService.java @@ -205,6 +205,7 @@ public class QuotaManagementService { qt.setProjectId(quota.getProjectId()); qt.setUseDefault(false); qt.setUpdateTime(System.currentTimeMillis()); + qt.setUseDefault(true); quotaMapper.insert(qt); quotaMapper.deleteByPrimaryKey(id); }