mybatis 异常java.lang.IllegalArgumentException: invalid comparison:java.util.Date and java.lang.String

Original address: https://www.cnblogs.com/coffee9527/p/9179941.html

Reason: In Mapper.xml, whether the data of non-string type is empty is judged.

For example, the date type data last_modify_time!='', the decimal type data order_price !='' will report this error, only the string needs to be non-empty judgment

Guess you like

Origin blog.csdn.net/lv842586821/article/details/91434587