/**
   * 初始化序列号
   *
   * @author zhangyz created on 2012-9-1
   */
  public static void init(IConfiguration uconfig) {
    if (StringUtils.isBlank(UuidUtil.LOCAL_ID)) initUuid(uconfig);

    LOCAL_ID_one = Integer.parseInt(uconfig.getString(UCONFIG_GLP_DBID_P0, "10000")); // 默认从1万开始

    LOCAL_ID_ten = Integer.parseInt(uconfig.getString(UCONFIG_GLP_DBID_P1, "100000")); // 默认从10万开始

    LOCAL_ID_hundred =
        Integer.parseInt(uconfig.getString(UCONFIG_GLP_DBID_P2, "1000000")); // 默认从1百万开始

    LOCAL_ID_thousand =
        Integer.parseInt(uconfig.getString(UCONFIG_GLP_DBID_P3, "10000000")); // 默认从1千万开始

    LOCAL_ID_wan = Integer.parseInt(uconfig.getString(UCONFIG_GLP_DBID_P4, "100000000")); // 默认从1亿开始

    LOCAL_ID_shiWan =
        Long.parseLong(uconfig.getString(UCONFIG_GLP_DBID_P5, "1000000000")); // 默认从10亿开始

    LOCAL_ID_million =
        Long.parseLong(uconfig.getString(UCONFIG_GLP_DBID_P6, "10000000000")); // 默认从100亿开始

    LOCAL_ID_qianWan =
        Long.parseLong(uconfig.getString(UCONFIG_GLP_DBID_P7, "100000000000")); // 默认从1000亿开始
  }
 /**
  * 初始化本地数据库编号
  *
  * @author zhangyz created on 2012-11-3
  */
 public static void initUuid(IConfiguration uconfig) {
   // 初始化本地服务对应的数据库全局唯一ID
   String glpDbId = uconfig.getString(UCONFIG_GLP_DBID_CHAR, CENTER_DB_ID);
   com.mfh.comn.utils.UuidUtil.LOCAL_ID = glpDbId;
 }