例子 <!-- 查询开标时间在的当天内的招标项目--> <select id="queryBidopenToday" resultMap="BaseResultMap" > select <include refid="Base_Column_List" /> from cpu_bid_project where dr=0 and enterprise_id= #{enterpriseId,jdbcType=BIGINT} and DateDiff(bid_open_time,now())=0 </select>
mysql的DateDiff函数查询两个日期的差的函数用于算两个日期的差距
猜你喜欢
转载自blog.csdn.net/zy103118/article/details/84526180
今日推荐
周排行