Commit d5f26673 authored by zhuangxinwei's avatar zhuangxinwei

方舱导出模板

parent f9e1252a
......@@ -161,8 +161,8 @@ public class FcryController extends BaseController
List<SysDictData> fcPlace = DictUtils.getDictCache("shelters");
List<String> labels = fcPlace.stream().filter(l->value.equals(l.getDictValue()))
.map(SysDictData::getDictLabel).collect(Collectors.toList());
ExcelUtil.setClassExcelAttribute(clazz,"fcPlace","combo",labels);
String[] fc = labels.toArray(new String[]{});
ExcelUtil.setClassExcelAttribute(clazz,"fcPlace","combo",fc);
String[] isPositive = {"是","否"};
ExcelUtil.setClassExcelAttribute( clazz,"isPositive","combo",isPositive);
String[] positiveOnly = {"是","否"};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment