Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String\r

Disclaimer: Note: This return of all, reproduced, please indicate the original source address:! Https://blog.csdn.net/qq_38366063 https://blog.csdn.net/qq_38366063/article/details/91495950

When to mybatis time judgment today, if the time contrast with the empty string error:

Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String\r\n### 
Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.Date and java.lang.String

Here Insert Picture Description
After the normal empty string is determined later removed.
DATE type can not be compared with the type String.

Guess you like

Origin blog.csdn.net/qq_38366063/article/details/91495950