icu.mhb.mybatisplus.plugln.tookit.MappingUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-plus-join Show documentation
Show all versions of mybatis-plus-join Show documentation
A multi-table plugin for Mybatis Plus.
package icu.mhb.mybatisplus.plugln.tookit;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import icu.mhb.mybatisplus.plugln.core.JoinLambdaWrapper;
import icu.mhb.mybatisplus.plugln.entity.OneToOneSelectBuild;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @author mahuibo
* @Title: MappingUtil
* @email [email protected]
* @time 2021/12/17
*/
public class MappingUtil {
/**
* 对传入的map进行一对一的映射
*
* @param maps 结果映射
* @param oneToOneSelectBuilds 一对一映射配置
* @return 映射后的map
*/
public static void oneToOneMapping(List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy