コード例 #1
0
 @Override
 public DemoVO saveAccount(DemoVO vo) {
   Demo a = new Demo();
   BeanHelper.copyProperties(a, vo);
   a.save();
   DemoVO copyProperties = BeanHelper.copyProperties(new DemoVO(), a);
   return copyProperties;
 }
コード例 #2
0
 @Override
 public DemoVO getAccountVO(String accountId) {
   return BeanHelper.copyProperties(new DemoVO(), Demo.get(accountId));
 }