<select id="selectAll" resultType="com.cn.p2p.entity.TblCheckLog" parameterType="map">
SELECT
*
FROM
huaxin.tbl_check_log
WHERE 1=1
<if test="interfaceType != null and interfaceType != ''">
AND sendFlag = #{interfaceType}
</if>
<if test="sendTime != null and sendTime != ''">
AND DATE_FORMAT(sendTime,'%Y-%m-%d') = #{sendTime}
</if>
</select>
添加dateformat方法