mirror of https://github.com/Rekoe/rk_svnadmin
fix
parent
a2f7614b14
commit
8f8d3bf59f
|
@ -22,6 +22,9 @@ public class ProjectConfigService extends BaseService<ProjectConfig> {
|
|||
|
||||
public ProjectConfig get() {
|
||||
ProjectConfig conf = dao().fetch(getEntityClass());
|
||||
if (conf == null) {
|
||||
dao().insert(new ProjectConfig());
|
||||
}
|
||||
return conf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue