checkTime类型为LocalDateTime时,做更新操作,执行下面这句会出现invalid comparison: java.time.LocalDateTime and java.lang.String错误。
<if test="checkTime != '' ">check_time = #{checkTime},</if>
修改为:
<if test="checkTime != null ">check_time = #{checkTime},</if>
checkTime类型为LocalDateTime时,做更新操作,执行下面这句会出现invalid comparison: java.time.LocalDateTime and java.lang.String错误。
<if test="checkTime != '' ">check_time = #{checkTime},</if>
修改为:
<if test="checkTime != null ">check_time = #{checkTime},</if>