search

Home  >  Q&A  >  body text

java - mybatis中的<if test="name != null">and a.name=#{name}</if>

其中name!=null的name是什么

伊谢尔伦伊谢尔伦2806 days ago1338

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-18 09:56:26

    is the name in #{name}, which means that this statement will be executed only when the incoming parameter name is not null.

    reply
    0
  • Cancelreply