Beispiel #1
0
  /**
   * @param date yyyy-MM-dd
   * @return
   * @throws Exception
   */
  public Map<Integer, MonitorVo> findMonitorCountMapByDate(String date) throws Exception {
    if (dao != null) {

      Map<Integer, MonitorVo> result = dao.findMonitorCountMapByDate(date);
      return result;
    } else {
      return null;
    }
  }
Beispiel #2
0
 /**
  * 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;
   }
 }
Beispiel #3
0
 /**
  * @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;
   }
 }