Springboot repository的基类
package cn.sp_lube.twmgrr.module.exce;
import cn.sp_lube.twmgrr.pojo.ParamEn;
import cn.sp_lube.twmgrr.pojo.Tree;
import cn.sp_lube.twmgrr.repository.impltools.Enm;
import cn.sp_lube.twmgrr.utils.CombineBeans;
import cn.sp_lube.twmgrr.utils.Ct;
import org.apache.commons.lang3.ObjectUtils;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
@Transactional
public interface BaseRepository <E,ID extends Serializable> {