On the attribute value VO how to inject property PO (VO turn PO)

method one:

PO.set(VO.get());

Method Two:

Call spring beans in tools BeanUtils

BeanUtils.copyProperties(VO,PO);

 

Published 740 original articles · won praise 65 · Views 100,000 +

Guess you like

Origin blog.csdn.net/qq_41723615/article/details/104255223