Jump to content

problem with import excel by jxls

undead_sweet's Photo
Posted Oct 25 2012 09:28 PM
1596 Views

Hi all,
I face a problem when I use jxls to import excel.
There is my java object:
1.Object:CheckMainPoiShow
public class CheckMainPoiShow{
          private String name;
          private List<CheckPoiCounttable> counttables;
      }

2.Object:CheckPoiCounttable
public class CheckPoiCounttable{
          private String id;
          private String area;
          private private List<CheckPoiCounttableSon> counttablessons;
      }

3.Object:CheckPoiCounttableSon
public class CheckPoiCounttableSon{
          private String aCount;
          private String bCount;
          private String cCount;
      }

There is my excel:




idareaaCountbCountcCountaCountbCountcCountaCountbCountcCount
11aaabbbccc
22dddeeefff
33ggghhhiii


How should I define my transfer.xml
Thanks for all the helps.

Tags:
0 Subscribe


0 Replies