参数转换

对象参数转换

@Log4j
public final class ParamConvertUtils {
        /**
     * copy对象属性
     *
     * @param source
     * @return
     */
    public static void convertParam(Object target, Object source) {
        if (source != null) {
            BeanUtils.copyProperties(source, target);
        }
    }
}

猜你喜欢

转载自www.cnblogs.com/lxk233/p/11971973.html
今日推荐