50,680
社区成员
发帖
与我相关
我的任务
分享
List<KaoqinFileBean> lst= new ArrayList<KaoqinFileBean>();
for (int i=0; i<list.size(); i++) {
KaoqinFileBean v = new KaoqinFileBean();
v.setIndex(new Long(i+1));
v.setName((String) list.get(i).get("name"));
v.setWorkunit((String) list.get(i).get("workunit"));
v.setDuties((String) list.get(i).get("duties"));
v.setMobile((String) list.get(i).get("mobile"));
v.setSrno((String) list.get(i).get("srno"));
v.setAmbegin("");
v.setAmover("");
v.setPmbegin("");
v.setPmover("");
lst.add(v);
}
//默认order=0为excel的行号
@FileColumn(order = 1)
private String name;
@FileColumn(order = 2)
private String srno;
@FileColumn(order = 3)
private String workunit;
@FileColumn(order = 4)
private String duties;
@FileColumn(order = 5)
private String mobile;
@FileColumn(order = 6)
private String ambegin;