Examples of RebateContent


Examples of com.lgx8.management.entities.RebateContent

      }

      for (int n = 1; n <= size; n++) {
        HSSFRow rowdata = sheet.createRow(n);
        // int i = (n - 1) + ((t - 1) * number);
        RebateContent rc = list.get(n-1);
        HSSFCell cell0 = rowdata.createCell(0);
        HSSFRichTextString text0 = new HSSFRichTextString(rc.getFllx());
        cell0.setCellValue(text0);
        cell0.setCellStyle(styledata);

        HSSFCell cell1 = rowdata.createCell(1);
        // HSSFRichTextString text1 = new
        // HSSFRichTextString(card.getPassword());
        cell1.setCellValue(rc.getOid());
        cell1.setCellStyle(styledata);

        HSSFCell cell2 = rowdata.createCell(2);
        // HSSFRichTextString text2 = new
        // HSSFRichTextString(card.getScore().toString());
        cell2.setCellValue(rc.getName());
        cell2.setCellStyle(styledata);

        HSSFCell cell3 = rowdata.createCell(3);
        cell3.setCellValue(rc.getJf_count());
        cell3.setCellStyle(styledata);
       

      }

View Full Code Here

Examples of com.lgx8.management.entities.RebateContent

      conn = SessionFactoryUtils.getDataSource(
          getHibernateTemplate().getSessionFactory()).getConnection();
      ps = conn.prepareStatement(sql);
      rs = ps.executeQuery();
      while (rs.next()) {
        RebateContent rc = new RebateContent();
        rc.setName(rs.getString("reservation03"));
        rc.setOid(rs.getLong("flsyfbh"));
        rc.setJf_count(rs.getDouble("totals"));
        String type = rs.getString("fllx");
        if("01".equals(type))
        {
          rc.setFllx("联盟商家");
        }else if("02".equals(type))
        {
          rc.setFllx("推广站");
        }else if("03".equals(type))
        {
          rc.setFllx("推广中心");
        }else if("04".equals(type))
        {
          rc.setFllx("运营中心");
        }
        result.add(rc);
      }
    } catch (Exception e) {
      // TODO: handle exception
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.