緣由是在使用<if> 進行條件判斷時, 將datetime類型的字段與 ' ' 進行了判斷,致使的錯誤spa
解決, 只使用 <if test="createTime != null"></if> 作判斷就好了.net
詳細可參考: https://blog.csdn.net/wanghailong_qd/article/details/50673144blog