标签:
<!--${}是不进行预编译的,会直接进行sql语句的拼接;{}中的内容必须通过Map或者查询对象中获得-->
<select id="selectPersonByName" parameterType="java.util.Map" resultMap="BaseResultMap"> select * from person t where t.name like ‘%${name}%‘ </select>
标签:
原文地址:http://www.cnblogs.com/stono/p/4509157.html