invalid comparison: java.util.Date and java.lang.String
作者:互联网
invalid comparison: java.util.Date and java.lang.String
<if test="orderDate != null and orderDate != ''">
h.order_date = #{orderDate}
</if>
改成
<if test="orderDate != null">
h.order_date = #{orderDate}
</if>
标签:lang,comparison,java,String,invalid,orderDate 来源: https://blog.csdn.net/weixin_40079074/article/details/118913808