/** * add by zhongting.zy * * @param date yyyy-MM-dd * @return * @throws Exception */ public Map<Integer, MonitorVo> findMonitorCountMapByDate(AppInfoPo appInfo, String date) throws Exception { if (dao != null && appInfo != null) { Map<Integer, MonitorVo> result = dao.findMonitorCountMapByDate(appInfo.getAppId(), appInfo.getOpsName(), date); return result; } else { return null; } }
/** * @param date yyyy-MM-dd * @return * @throws Exception */ public Map<Integer, MonitorVo> findMonitorCountMapByDate(Integer appid, String date) throws Exception { if (dao != null) { AppInfoPo appInfo = AppInfoAo.get().findAppInfoById(appid); Map<Integer, MonitorVo> result = dao.findMonitorCountMapByDate(appid, appInfo.getOpsName(), date); return result; } else { return null; } }