@Override
 public List<RouteTheme> selectByThemeId(String themeId) {
   // TODO Auto-generated method stub
   if (themeId == null || themeId.equals("")) {
     logger.error("themeId不能为null");
     throw new NullPointerException("themeId不能为null");
   }
   List<RouteTheme> record = routeThemeMapper.selectByThemeId(themeId);
   return record;
 }
 @Override
 public int updateByPrimaryKey(RouteTheme record) {
   // TODO Auto-generated method stub
   if (record == null) {
     logger.error("RouteTheme不能为null");
     throw new NullPointerException("RouteTheme不能为null");
   }
   int count = routeThemeMapper.updateByPrimaryKey(record);
   return count;
 }
 @Override
 public RouteTheme selectByPrimaryKey(String id) {
   // TODO Auto-generated method stub
   if (id == null || id.equals("")) {
     logger.error("Id不能为null");
     throw new NullPointerException("Id不能为null");
   }
   RouteTheme record = routeThemeMapper.selectByPrimaryKey(id);
   return record;
 }
 @Override
 public int deleteByPrimaryKey(String id) {
   // TODO Auto-generated method stub
   if (id == null || id.equals("")) {
     logger.error("id不能为null");
     throw new NullPointerException("id不能为null");
   }
   int count = routeThemeMapper.deleteByPrimaryKey(id);
   return count;
 }
 @Override
 public List<String> selectRouteId(String[] themeId) {
   return routeThemeMapper.selectRouteId(themeId);
 }