Today, listen to team members said:
When the determination time mybatis version 3.30 and above
<if test="date_time != null and date_time != '' "> date_time, </if>
java.lang.IllegalArgumentException: invalid comparison: cn.hutool.core.date.DateTime and java.lang.String
Removed and date_time! = '' Correct operation can be achieved
<if test="date_time != null > date_time, </if>