<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方法
博客内容提及添加dateformat方法,这可能与日期格式化相关的信息技术操作有关。
2246

被折叠的 条评论
为什么被折叠?



