日期 选择一个时间段
2018-12-24 本文已影响0人
帮我的鸵鸟盖个章
sql 日期 选择一个时间段
<if test="map.startTime != null and map.startTime != ''">
AND s.post_time <![CDATA[>=]]> #{map.startTime}
</if>
<if test="map.endTime != null and map.endTime != ''">
AND s.post_time <![CDATA[<=]]]> #{map.endTime}
</if>