<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 組件源碼 ``` /** * <b>方法描述:</b> 數字檢查(大小區間) <br/> * <b>創建者:</b> admin <br/> * <b>創建時間:</b> 2018-05-08 18:19:59 <br/> * * @param innum * 入參|輸入數字|{@link Object} * @param minlim * 入參|最小值限制|{@link double} * @param maxlim * 入參|最大值限制|{@link double} * @return -1 異常<br/> * 0 失敗<br/> * 1 成功<br/> */ @Component(label = "數字檢查(大小區間)", style = "判斷型", type = "同步組件", comment = "檢查數字區間包含左右邊界", version = "1.0.0", deprecated = false, author = "admin", date = "2018-05-08 06:19:59") @InParams(param = { @Param(name = "innum", comment = "輸入數字", type = Object.class), @Param(name = "minlim", comment = "最小值限制", type = double.class), @Param(name = "maxlim", comment = "最大值限制", type = double.class) }) @Returns(returns = { @Return(id = "-1", desp = "異常"), @Return(id = "0", desp = "失敗"), @Return(id = "1", desp = "成功") }) public static ResultBase P_numCheck(Object innum, double minlim, double maxlim) { if (minlim > maxlim) return ResultBase.newFailureResult("TPTV0006", "最小值大于最大值,maxlim=" + maxlim + ",minlim=" + minlim); try { if (innum != null) { double val = Double.valueOf(innum.toString()); if (val >= minlim && val <= maxlim) { return ResultBase.newSuccessResult(); } } return ResultBase.newFailureResult("TPTV0007", "不在指定范圍"); } catch (Throwable e) { AppLog.error(e); return ResultBase.newExceptionResult("TPTV0007", "檢查異常:數據不是數字:輸入=" + innum); } } ``` # 交易中組件使用方式 ![](https://img.kancloud.cn/e5/d0/e5d057394fa05ac15a4dc7198a491070_1867x893.png) # 參數說明及示例 ## 入口參數 輸入數字:輸入要檢測的數字,示例: `5` 最小值限制:設置最小值,示例: `Double.valueOf("2")` 最大值限制:設置最大值,示例: `Double.valueOf("7")`
                  <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>

                              哎呀哎呀视频在线观看