<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 組件源碼 /** * <b>方法描述:</b> 統計區間元素數量 <br/> * <b>創建者:</b> admin <br/> * <b>創建時間:</b> 2018-05-09 11:02:26 <br/> * * @param key * 入參|key|{@link java.lang.String} * @param min * 入參|最小值|{@link java.lang.String} * @param max * 入參|最大值|{@link java.lang.String} * @param count * 出參|元素數量|{@link long} * @return -1 異常<br/> * 1 成功<br/> */ @Component(label = "統計區間元素數量", style = "判斷型", type = "同步組件", comment = "有序集key中,score值在min和max之間(默認包括score值等于min或max)的成員數量", version = "1.0.0", deprecated = false, author = "admin", date = "2018-05-09 11:02:26") @InParams(param = { @Param(name = "key", comment = "key", type = java.lang.String.class), @Param(name = "min", comment = "最小值", type = double.class), @Param(name = "max", comment = "最大值", type = double.class) }) @OutParams(param = { @Param(name = "count", comment = "元素數量", type = long.class) }) @Returns(returns = { @Return(id = "-1", desp = "異常"), @Return(id = "1", desp = "成功") }) public static ResultBase P_zcount(String key, double min, double max) { try { long obj = redisTemplate.opsForZSet().count(key, min, max); return ResultBase.newSuccessResult(obj); } catch (Exception e) { AppLog.error(e); return ResultBase.newExceptionResult("TPTR6011", "統計區間元素數量 異常:" + AppLog.errorMsg(e)); } } 交易中組件使用方式: ![](https://img.kancloud.cn/8d/e8/8de871057fbe9ce004bbc877ab5d7286_950x750.jpg) ## 參數說明及示例 key:redis中的key,示例: `"qwer"` 最小值:統計左區間,示例: `2` 最大值:統計右區間,示例: `5` 元素數量:返回當前統計區間的元素數量,示例: `__INNER__["num"]` > 有序集key中,score值在min和max之間(默認包括score值等于min或max)的成員數量
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看