package cn.fulong.cms.web.column.utils;
import cn.fulong.cms.web.column.service.ColumnService;
import cn.fulong.common.config.Platform;
import cn.fulong.common.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Component;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.RecursiveTask;
import java.util.stream.Collectors;
/**
* ForkJoin 多线程 提升~50%
* @ProjectName: utils
* @Package: cn.fulong.web.forkjoin
* @Description: java类作用描述
* @Author: yu_du_chen
* @CreateDate: 2019/9/10 16:26
* @Version: 1.0
*/
@Component
public class CreateTable {
public static class MyTask extends RecursiveTask {
//maps为需要进行处理的数据集合,使用CopyOnWriteArrayList保证数据安全
private CopyOnWriteArrayList