Commit 4ee4598c by lepdou

update

parent ea20fad0
...@@ -33,7 +33,6 @@ public class AppController { ...@@ -33,7 +33,6 @@ public class AppController {
App entity = BeanUtils.transfrom(App.class, dto); App entity = BeanUtils.transfrom(App.class, dto);
App managedEntity = appService.findOne(entity.getAppId()); App managedEntity = appService.findOne(entity.getAppId());
if (managedEntity != null) { if (managedEntity != null) {
managedEntity.setDataChangeLastModifiedBy(entity.getDataChangeLastModifiedBy());
BeanUtils.copyEntityProperties(entity, managedEntity); BeanUtils.copyEntityProperties(entity, managedEntity);
entity = appService.update(managedEntity); entity = appService.update(managedEntity);
} else { } else {
......
...@@ -39,7 +39,6 @@ public class AppNamespaceController { ...@@ -39,7 +39,6 @@ public class AppNamespaceController {
AppNamespace managedEntity = appNamespaceService.findOne(entity.getAppId(), entity.getName()); AppNamespace managedEntity = appNamespaceService.findOne(entity.getAppId(), entity.getName());
if (managedEntity != null){ if (managedEntity != null){
managedEntity.setDataChangeLastModifiedBy(entity.getDataChangeLastModifiedBy());
BeanUtils.copyEntityProperties(entity, managedEntity); BeanUtils.copyEntityProperties(entity, managedEntity);
entity = appNamespaceService.update(managedEntity); entity = appNamespaceService.update(managedEntity);
}else { }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