|
@@ -80,8 +80,10 @@ public class DefaultSaveHandler<T extends DefaultEntity> extends AbstractSaveHan |
|
|
dao.insertEntity(bean); |
|
|
dao.insertEntity(bean); |
|
|
} else { |
|
|
} else { |
|
|
dao.updateEntity(bean); |
|
|
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); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|