fix(系统设置): 重置配额,使用默认配额选项没有重置

--bug=1028143 --user=陈建星 【系统设置】配额管理-使用默认配额-重置失败 https://www.tapd.cn/55049933/s/1397645
This commit is contained in:
jianxing 2023-07-26 10:10:53 +08:00 committed by jianxing
parent ebb82cea35
commit 648d1dc0c5
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}