fix(系统设置): 修复无xpack权限创建项目失败问题

--user=郭雨琦
This commit is contained in:
guoyuqi 2022-11-28 14:48:05 +08:00 committed by xiaomeinvG
parent d01ca1b5e1
commit 81594428e8
1 changed files with 4 additions and 1 deletions

View File

@ -123,7 +123,10 @@ public class SystemProjectService {
// 设置默认的通知
baseProjectMapper.setDefaultMessageTask(project.getId());
quotaService.projectUseDefaultQuota(pjId);
if (quotaService != null) {
quotaService.projectUseDefaultQuota(pjId);
}
// 创建默认版本
addProjectVersion(project);
// 初始化项目应用管理