pull/3/head
rekoe 2016-03-25 14:41:23 +08:00
parent a2f7614b14
commit 8f8d3bf59f
1 changed files with 3 additions and 0 deletions

View File

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