mybatis经常使用操做

一、在<where>标签中为保证某一条件为true,且不影响其余判断条件。最简单的解决方式:java Xml代码:数据库 1. <where>  对象 2.   <if test="true">  it 3.     GMT_MODIFY = now()  io 4.   </if>  table 5. </where>  test 6. 或者  date 7. <where>  foreach
相关文章
相关标签/搜索