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

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## @InheritMapper 此為不常用的一個注解。當不僅僅滿足BaseMapper提供的功能,項目提供了自己的BaseMapper的時候,比如CommonMapper,會遇到一個問題,就是自己CommonMapper的的公共sql查詢方法,是查詢CommonMapper指定的sql文件,還是繼承接口的sql文件 BeetlSQL默認下是查詢CommonMapper的指定文件,例子如下 ```java @SqlResource("common") public static interface CommonMapper<T> extends BaseMapper{ public List<T> implementByChild(); } @SqlResource("user") public static interface MyTestUserMapper extends CommonMapper<User>{ } ``` 如上定義的Mapper,當調用MyTestUserMapper.implementByChild方法時候,默認尋找common.md文件 如果想尋找的是user.md文件,則需要使用@InheritMapper注解,調用MyTestUserMapper.implementByChild方法時候,尋找MyTestUserMapper上指定的sql文件 ```java @SqlResource("common") public static interface CommonMapper<T> extends BaseMapper{ @InheritMapper public List<T> implementByChild(); } ```
                  <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>

                              哎呀哎呀视频在线观看