主题:求救!
String scopeItem = row.getCell((short)0).getRichStringCellValue().toString();
String owner = row.getCell((short)3).getRichStringCellValue().toString();
String fileName = row.getCell((short)1).getRichStringCellValue().toString();
if(owner.equals("jack")){
cellData.setOwner(owner);
cellData.setFileName(fileName);
cellData.setScopeItem(scopeItem);
System.out.println(owner);
l1.add(cellData);
}
if(owner.equals("mike")){
cellData.setOwner(owner);
cellData.setFileName(fileName);
cellData.setScopeItem(scopeItem);
l2.add(cellData);
}
String owner = row.getCell((short)3).getRichStringCellValue().toString();
String fileName = row.getCell((short)1).getRichStringCellValue().toString();
if(owner.equals("jack")){
cellData.setOwner(owner);
cellData.setFileName(fileName);
cellData.setScopeItem(scopeItem);
System.out.println(owner);
l1.add(cellData);
}
if(owner.equals("mike")){
cellData.setOwner(owner);
cellData.setFileName(fileName);
cellData.setScopeItem(scopeItem);
l2.add(cellData);
}