Commit 4ee4598c by lepdou

update

parent ea20fad0
......@@ -33,7 +33,6 @@ public class AppController {
App entity = BeanUtils.transfrom(App.class, dto);
App managedEntity = appService.findOne(entity.getAppId());
if (managedEntity != null) {
managedEntity.setDataChangeLastModifiedBy(entity.getDataChangeLastModifiedBy());
BeanUtils.copyEntityProperties(entity, managedEntity);
entity = appService.update(managedEntity);
} else {
......
......@@ -39,7 +39,6 @@ public class AppNamespaceController {
AppNamespace managedEntity = appNamespaceService.findOne(entity.getAppId(), entity.getName());
if (managedEntity != null){
managedEntity.setDataChangeLastModifiedBy(entity.getDataChangeLastModifiedBy());
BeanUtils.copyEntityProperties(entity, managedEntity);
entity = appNamespaceService.update(managedEntity);
}else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment