org.jeecgframework.minidao.util.ReflectUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minidao-pe Show documentation
Show all versions of minidao-pe Show documentation
An powerful enhanced toolkit of SpringJdbc for simplify development
The newest version!
package org.jeecgframework.minidao.util;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Map;
/**
* @Description: 反射属性
* @author: lsq
* @date: 2021年07月26日 19:49
*/
public class ReflectUtil {
private static final Log logger = LogFactory.getLog(ReflectUtil.class);
/**
* 设置bean 属性值
*
* @param map
* @param bean
* @throws Exception
*/
public static void setIdFieldValue(Map