fix(系统设置): 重置配额,使用默认配额选项没有重置
--bug=1028143 --user=陈建星 【系统设置】配额管理-使用默认配额-重置失败 https://www.tapd.cn/55049933/s/1397645
This commit is contained in:
parent
ebb82cea35
commit
648d1dc0c5
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue