进度日报22

系统可按照限定的组合指标条件,对相关技术需求条数根据机构属性、科技活动类型、技术需求解决方式字段中的任何一个进行统计、排序、对比,生成统计图表。

 

 

protected void tongji(HttpServletRequest req,HttpServletResponse resp)throws ServletException,IOException
    {
        req.setCharacterEncoding("utf-8");
        
        Tongjibean tongjibean=new Xuqiuservice().tongji();
        tongjibean.setWeishenhe1(tongjibean.jiussuan(tongjibean.getWeishenhe(), tongjibean.getZong()));
        tongjibean.setShenhe1(tongjibean.jiussuan(tongjibean.getShenhe(), tongjibean.getZong()));
        tongjibean.setTongguo1(tongjibean.jiussuan(tongjibean.getTongguo(), tongjibean.getZong()));
        tongjibean.setTuihui1(tongjibean.jiussuan(tongjibean.getTuihui(), tongjibean.getZong()));
        req.setAttribute("tongjibean", tongjibean);
        req.getRequestDispatcher("/jquery-css3-vote-bar-150326231418/NewFile1.jsp").forward(req, resp);
    }
public Tongjibean tongji()
    {
        Session session = HibernateUtils.getCurrentSession();
        Transaction tr = session.beginTransaction();
        Tongjibean tongjibean=null;
        try
        {
            tongjibean=new Xuqiudao().tongji();
            tr.commit();
            
        }
        catch (Exception e) {
            e.printStackTrace();
            tr.rollback();
        }
        return tongjibean;
    }

 

posted @ 2020-11-12 23:00  大米粒o  阅读(32)  评论(0编辑  收藏  举报