Example #1
0
 @SuppressWarnings("unchecked")
 public List<WebSearchInfo> findsearchInfoByNameZhTw(String nameZhTw, WebEmployee webEmployee) {
   String hql = daoimpl.getHql("WebSearchInfo", webEmployee);
   hql += "and isDataEffid=1 and nameZhTw like '%" + nameZhTw + "%'";
   Query query = this.getSession().createQuery(hql);
   List<WebSearchInfo> retList = query.list();
   return retList;
 }
Example #2
0
 @SuppressWarnings("unchecked")
 public List<WebSearchInfo> findSearchInfoAll(WebEmployee webEmployee) {
   String hql = daoimpl.getHql("WebSearchInfo", webEmployee);
   hql += " and isDataEffid=1 ";
   Query query = this.getSession().createQuery(hql);
   List<WebSearchInfo> retList = query.list();
   return retList;
 }