Commit 66ca68f3 authored by lepdou's avatar lepdou

fix text modal update commit bug

parent 2883f493
...@@ -50,6 +50,9 @@ public class ItemSetService { ...@@ -50,6 +50,9 @@ public class ItemSetService {
Item entity = BeanUtils.transfrom(Item.class, item); Item entity = BeanUtils.transfrom(Item.class, item);
Item beforeUpdateItem = itemService.findOne(entity.getId()); Item beforeUpdateItem = itemService.findOne(entity.getId());
if (beforeUpdateItem != null){
beforeUpdateItem = BeanUtils.transfrom(Item.class, beforeUpdateItem);
}
entity.setDataChangeLastModifiedBy(operator); entity.setDataChangeLastModifiedBy(operator);
Item updatedItem = itemService.update(entity); Item updatedItem = itemService.update(entity);
......
...@@ -26,7 +26,7 @@ directive_module.directive('apollonspanel', ...@@ -26,7 +26,7 @@ directive_module.directive('apollonspanel',
LOG: 'log' LOG: 'log'
}; };
var MIN_ROW_SIZE = 20; var MIN_ROW_SIZE = 10;
scope.switchView = switchView; scope.switchView = switchView;
......
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