mybatis中updateByPrimaryKeySelective等选择性操作在判断时对于VARCHAR类型需要同时判断非空和非空串

<if test="description != null and description !=''" >
description = #{description,jdbcType=VARCHAR},
</if>

相关文章:

  • 2021-06-23
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2022-02-28
  • 2022-01-15
猜你喜欢
  • 2022-12-23
  • 2021-10-29
  • 2021-09-05
  • 2021-08-31
  • 2021-11-04
相关资源
相似解决方案