网站介绍:1.不使用where标签可能会出现的问题<select id="getStudents" resultType="student" parameterType="map"> select * from mybatis_test.student where <if test="id != null"> id = #{id} </if> <if test="name!= null"> and nam_mybatis中where标签第一个 or
- 链接地址:https://blog.csdn.net/weixin_45905210/article/details/123771561
- 链接标题:where用于解决SQL语句中where关键字以及条件中第一个and或者or的问题_mybatis中where标签第一个 or-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:7646
- 网站标签:mybatis中where标签第一个 or