/* (非 Javadoc)
   * <p>Title: findGateway</p>
   * <p>Description: </p>
   * @param pagerModel
   * @see com.dhcc.pms.service.platformManage.GatewayService#findGateway(com.dhcc.framework.common.PagerModel)
   */
  @Override
  public void findGateway(PagerModel pagerModel, GatewayDto gatewayDto) {
    // TODO Auto-generated method stub
    gatewayDao.buildPagerModelQuery(pagerModel, gatewayDto);
    commonService.fillPagerModelData(pagerModel);

    log.info("\n===========Num==========\n" + pagerModel.getPageData().size());
  }
  /* (非 Javadoc)
   * <p>Title: findGatewayById</p>
   * <p>Description: </p>
   * @param id
   * @return
   * @see com.dhcc.pms.service.platformManage.GatewayService#findGatewayById(java.lang.String)
   */
  @Override
  public Gateway findGatewayById(String id) {
    // TODO Auto-generated method stub
    log.info("=====this is findGatewayById operation in GatewayServiceImpl====");
    Gateway gateway = gatewayDao.findById(id);

    return gateway;
  }
 /* (非 Javadoc)
  * <p>Title: delGateway</p>
  * <p>Description: </p>
  * @param gateway
  * @see com.dhcc.pms.service.platformManage.GatewayService#delGateway(com.dhcc.pms.entity.platformManage.Gateway)
  */
 @Override
 public void delGateway(Gateway gateway) {
   // TODO Auto-generated method stub
   log.info("=====this is delGateway operation in CertServiceImpl====");
   gatewayDao.delete(gateway);
 }
 /* (非 Javadoc)
  * <p>Title: delGatewayById</p>
  * <p>Description: </p>
  * @param id
  * @see com.dhcc.pms.service.platformManage.GatewayService#delGatewayById(java.lang.String)
  */
 @Override
 public void delGatewayById(String id) {
   // TODO Auto-generated method stub
   log.info("=====this is delGatewayById operation in GatewayServiceImpl====");
   gatewayDao.deleteById(GatewayDao.class, id);
 }
 /* (非 Javadoc)
  * <p>Title: updateGateway</p>
  * <p>Description: </p>
  * @param gateway
  * @see com.dhcc.pms.service.platformManage.GatewayService#updateGateway(com.dhcc.pms.entity.platformManage.Gateway)
  */
 @Override
 public void updateGateway(Gateway gateway) {
   // TODO Auto-generated method stub
   log.info("=====this is updateGateway operation in GatewayServiceImpl====");
   gatewayDao.update(gateway);
 }
 /* (非 Javadoc)
  * <p>Title: saveOrUpdate</p>
  * <p>Description: </p>
  * @param gateway
  * @see com.dhcc.pms.service.platformManage.GatewayService#saveOrUpdate(com.dhcc.pms.entity.platformManage.Gateway)
  */
 @Override
 public void saveOrUpdate(Gateway gateway) {
   // TODO Auto-generated method stub
   log.info("=====this is saveOrUpdate operation in GatewayServiceImpl====");
   gatewayDao.saveOrUpdate(gateway);
 }