@SuppressWarnings("unchecked")
 public List<ShopRoomTarriffCorporateRateView> findByExample2(
     ShopRoomTarriffCorporateRateView example, DateCompare type) {
   FindByDateExample findByExample =
       DaoUtil.findByExample2(example, ShopRoomTarriffCorporateRateView.class, em, type).init();
   return findByExample.getQuery().setMaxResults(100).getResultList();
 }
 @SuppressWarnings("unchecked")
 public List<InfoPermission> findByExample2(InfoPermission example, DateCompare type) {
   FindByDateExample findByExample =
       DaoUtil.findByExample2(example, InfoPermission.class, em, type).init();
   return findByExample.getQuery().setMaxResults(100).getResultList();
 }