name作为参数传递到mapper文件
<!-- 3.根据名字查找用户 -->
<select id="peopleSearch" resultMap="peopleRM">
select * from tb_people where people_name like CONCAT('%',#{name},'%')
</select>
name作为参数传递到mapper文件
<!-- 3.根据名字查找用户 -->
<select id="peopleSearch" resultMap="peopleRM">
select * from tb_people where people_name like CONCAT('%',#{name},'%')
</select>