模糊查询sql语句
<select id="getUserInfoByName" parameterType="String" resultType="com.cckj.bean.UserInfo">
select * from userinfo
<where>
<if test="_parameter!=null">
username like '%${_parameter}%'
</if>
</where>
</select>