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

                >SQL中條件表達式是指在sql語句中寫條件表達式,實現動態拼參 >支持的版本號`version 1.3.79及以上版本` `date 20210813` --- [TOC] ## 演示效果 >`name`和`sex`為空數據全查,`name`不為空只查詢`姓名`,`age`不為只查詢`年齡`,都不為空就全部查詢 ![](https://img.kancloud.cn/f7/78/f778cf792c4006567b581ca6e5566db9_1911x980.png) ## 配置步驟 >在sql語句中填寫需要動態傳參的條件判斷,`sex`不為空則傳遞`sex`參數,`name`不為空傳遞參數`name` ![](https://img.kancloud.cn/55/f6/55f6cac9aca465da16c218338933c9f9_1914x898.png) ``` select id,name,age from demo where create_by = '#{sysUserCode}' <#if isNotEmpty(age)> and age= '${age}' </#if> <#if isNotEmpty(name)> and name= '${name}' </#if> ``` 注意: - `isNotEmpty` : `null`和`""`均返回`false` - 語法參考:freemarker - 參數使用的是${}表達式,#{}取的是系統變量,不可混用
                  <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>

                              哎呀哎呀视频在线观看