mybatis中updateByPrimaryKeySelective
mybatis中updateByPrimaryKeySelective等选择性操作在判断时对于VARCHAR类型需要同时判断非空和非空串
<if test="description != null and description !=''" >
description = #{description,jdbcType=VARCHAR},
</if>
mybatis中updateByPrimaryKeySelective等选择性操作在判断时对于VARCHAR类型需要同时判断非空和非空串
<if test="description != null and description !=''" >
description = #{description,jdbcType=VARCHAR},
</if>