错误写法:
<if test="updated!= null and updated!= ''">
正确写发:
<inf test="updated!=null">
所以比较的时候去掉比较'',只比较null就可以了。