EasyExcel实现excel区域三级联动

效果

EasyExcel实现excel区域三级联动_第1张图片

引入依赖


   com.alibaba
   easyexcel
   3.1.4
 
 
    com.alibaba
    fastjson
    2.0.6
          

1 实现

代码

package com.yzxa.crm.config;

import com.alibaba.excel.write.handler.SheetWriteHandler;
import com.alibaba.excel.write.metadata.holder.WriteSheetHolder;
import com.alibaba.excel.write.metadata.holder.WriteWorkbookHolder;
import com.alibaba.fastjson2.JSON;
import com.yzxa.crm.entity.common.AreaEntity;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.co

你可能感兴趣的:(java相关,excel)