<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-06-20 17:22:57 <br/> * * @param poolName * 入參|數據源|{@link java.lang.String} * @param table * 入參|表名|{@link java.lang.String} * @param conditions * 入參|條件(可為空)| * {@link com.ylink.ide.trade.runtime.context.JavaContainer} * @param cnt * 出參|行數|long * @return 0 失敗<br/> * 1 成功<br/> */ @Component(label = "行數統計", style = "判斷型", type = "同步組件", comment = "根據查詢條件統計數據行數", version = "1.0.0", deprecated = false, author = "admin", date = "2018-06-20 05:22:57") @InParams(param = { @Param(name = "poolName", comment = "數據源", type = java.lang.String.class), @Param(name = "table", comment = "表名", type = java.lang.String.class), @Param(name = "conditions", comment = "條件(可為空)", type = com.ylink.ide.trade.runtime.context.JavaContainer.class) }) @OutParams(param = { @Param(name = "cnt", comment = "行數", type = long.class) }) @Returns(returns = { @Return(id = "0", desp = "失敗"), @Return(id = "1", desp = "成功") }) public static ResultBase P_count(String poolName, String table, JavaContainer conditions) { try { long cnt = JdbcUtil.count(poolName, table, conditions); return ResultBase.newSuccessResult(cnt); } catch (Exception e) { AppLog.error(e); return ResultBase.newExceptionResult("TPTJ0022", "行數統計查詢 異常:" + AppLog.errorMsg(e)); } } 交易中組件使用方式: ![](https://img.kancloud.cn/b1/3e/b13e26a44e659dfb8c93da5baa4c1c33_1576x1166.jpg) 數據源的來源為項目的配置文件中的數據源,以及前端頁面上的數據源管理列表中添加的數據源 ## 參數說明及示例 表名:數據庫表名,示例: `"sys_user"` 條件(可為空):查詢條件,為空時查詢全表數據,示例: `{"name":{"in":["zhengSan","liSi","wangWu"]},"age":{"between":["20","60"]}, "gender":{"=":["男"]} }` 行數:根據查詢條件得到的結果條數,示例: `__INNER__["cnt"]` > 注意:填寫值如果是String字符串,則需要在前后加上英文雙引號"",如果是數字或者boolean值,則不需要
                  <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>

                              哎呀哎呀视频在线观看