一、去掉空字符串判断ide
<if test="version != null">xxxxx</if>spa
二、添加0值判断orm
<if test="version != null and version != '' or version == 0">xxxxx</if>字符串