@Override public void edit(JbAssets jbAssets) { TjbAssets t = jbAssetsDao.get(TjbAssets.class, jbAssets.getId()); if (t != null) { MyBeanUtils.copyProperties(jbAssets, t, new String[] {"id", "createdatetime"}, true); } }
@Override public void edit(JbAssets jbAssets) { TjbAssets t = jbAssetsDao.get(TjbAssets.class, jbAssets.getId()); if (t != null) { MyBeanUtils.copyProperties(jbAssets, t, new String[] {"id", "createdatetime"}, true); } }