|
|
@@ -80,8 +80,10 @@ public class DefaultSaveHandler<T extends DefaultEntity> extends AbstractSaveHan |
|
|
|
dao.insertEntity(bean); |
|
|
|
} else { |
|
|
|
dao.updateEntity(bean); |
|
|
|
|
|
|
|
listTreeBean = TreeHelper.getTreeHelper(tableName).resetTreeLevel(bean); |
|
|
|
ModelTable table = ModelTableCache.getInstance().getByName(tableName); |
|
|
|
if (table.getType() == TableType.TYPE_TREE) { |
|
|
|
listTreeBean = TreeHelper.getTreeHelper(tableName).resetTreeLevel(bean); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|