@Override
    public List<NodeGroupPo> getNodeGroup(NodeType nodeType) {
        return new SelectSql(getSqlTemplate())
                .select()
                .all()
                .from()
                .table(getTableName())
                .where("node_type = ?", nodeType.name())
                .list(RshHolder.NODE_GROUP_LIST_RSH);
    }
@author Robert HG (254963746@qq.com) on 6/7/15.
lts-core/src/main/java/com/github/ltsopensource/queue/mysql/MysqlNodeGroupStore.java