方式1、使用转义字符
<select id="listUser" resultType="User">
select * from User where birthday >= #{startDate, jdbcType=DATE} and birthday <= #{endDate, jdbcType=DATE}
</select
方式1、使用转义字符
<select id="listUser" resultType="User">
select * from User where birthday >= #{startDate, jdbcType=DATE} and birthday <= #{endDate, jdbcType=DATE}
</select