<sql> 和 <include>

 

<sql>用来封装SQL语句, <include>来调用

 

代码片段:<sql ; font-size: 18px; line-height: 35px'>`body_index`
</sql>

<select >
        <include ref/>
   </select>

xml里面的表现:

MyBatis中 sql标签和include标签的使用

 

相关文章:

  • 2021-04-30
  • 2022-01-07
  • 2022-12-23
  • 2021-09-21
  • 2022-02-05
猜你喜欢
  • 2022-02-15
  • 2021-12-27
  • 2021-12-18
相关资源
相似解决方案