@Override
protected Exporter buildExporter(Context context) {
String codeNameStr = get("codeNames");
if (null != codeNameStr) {
MultiEntityExporter exporter = new MultiEntityExporter();
exporter.setWriter(new ExcelItemWriter());
return exporter;
} else {
return super.buildExporter(context);
}
}