<select id="selectByName" resultType="entity.Good">
select * from goods where name like '%'||#{name}||'%'
</select>
<select id="selectByPrice" resultType="entity.Good">
select * from goods where price between #{begin} and #{end}
</select>
<select id="selectByStatus" resultType="entity.Good">
select * from goods where status=#{status}
</select>
<select id="selectThisMonth" resultType="entity.Good">
select * from goods where to_char(create_date,'MM')=to_char(sysdate,'MM')
</select>