修复不加上父节点的bug

This commit is contained in:
zhangxin10 2015-11-19 07:57:36 +08:00
parent e63bfe365c
commit 321cc60c96
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public class SaveToHBaseChain implements IStorageChain {
} else {
columnName = buriedPointEntry.getParentLevel() + "." + buriedPointEntry.getLevelId();
if (buriedPointEntry.isReceiver()) {
columnName = buriedPointEntry.getLevelId() + "-S";
columnName = buriedPointEntry.getParentLevel() + "." + buriedPointEntry.getLevelId() + "-S";
}
put.addColumn(Bytes.toBytes(Config.HBaseConfig.FAMILY_COLUMN_NAME), Bytes.toBytes(columnName),
Bytes.toBytes(buriedPointEntry.getOriginData()));