不是前端哈,是后端转换,我们采购的gcexcel转成workbook对象。
tmptSettingDto = tmptColFieldRelService.queryTmplateColField(tmptSettingDto);
tmptSettingDto.setYear(tmptTaskDto.getYear());
tmptSettingDto.setItemName(tmptTaskDto.getItemName());
log.info("模板数据查询完成");
Workbook workbook = new Workbook();
workbook.fromJson(tmptSettingDto.getTmptJsonStr());
log.info("数据查询開始"); |