/** 查询规则列表 */
 protected HashMap<String, Serializable> getRulelis(int funId, String page) {
   HashMap<String, Serializable> map =
       hibernatePageTools.getPage(
           "select * ",
           " from YqWarnMailRule",
           "where mailDelflag=0 and mailFunId=" + funId + "",
           "",
           "",
           page,
           Constants.PAGESIZE);
   return map;
 }
 /**
  * 根据规则Id查询规则文章
  *
  * @param RuleId 规则Id
  * @param page
  * @return
  */
 protected HashMap<String, Serializable> getAllMailArticle(int RuleId, String page) {
   HashMap<String, Serializable> map =
       hibernatePageTools.getPage(
           "select * ",
           " from YqWarnMailArticle",
           "where mailAwarDelflag=0 and mailRuleId=" + RuleId + "",
           "order by mailAwarCreateTime desc",
           "",
           page,
           Constants.PAGESIZE);
   return map;
 }