}
return report;
}
public ReportApp getReportApp(String appId, String appVersion, String appName) {
ReportApp reportApp = reportAppDao.getReportApp(appId, appVersion);
if (reportApp == null) {
reportApp = new ReportApp();
reportApp.setAppId(appId);
reportApp.setAppVersion(appVersion);
reportApp.setAppName(appName);
if (reportAppDao.saveReportApp(reportApp)) {
return reportAppDao.getReportApp(appId, appVersion);
} else {
return null;
}