BeanUtils.copyProperties(source,target)

BeanUtils.copyProperties(source,target):实现xx类与xxVo类之间属性赋值时,出现个别属性没有被赋值

  1. source类在select的时候是否查询到有效数据
  2. xx类与xxVo类的属性,类型与属性名必须一样
  3. 两个类的set/set方法是否出错
posted @ 2021-04-30 01:50  little_mao  阅读(80)  评论(0编辑  收藏  举报