摘要:
where语句的作用主要是简化SQL语句中where中的条件判断的,先看一个例子,再解释一下where的好处。 <select id="dynamicWhereTest" parameterType="Blog" resultType="Blog"> select * from t_blog <where> <if test="title != null"> title = #{title} </if> <if test="content != nul 阅读全文
posted @ 2012-01-10 09:19
sky7034
阅读(1378)
评论(0)
推荐(0)
浙公网安备 33010602011771号