<if test="isChoiceness != null and isChoiceness != -1">
AND sa.is_choiceness = #{isChoiceness}
</if>

isChoiceness 是一个Integer 类型的值,所以只能判断是否是null 和是否是 数字类型的值,不能判断为空字符串 isChoiceness != ''  

相关文章:

  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2022-01-27
  • 2022-12-23
猜你喜欢
  • 2021-07-31
  • 2022-12-23
  • 2021-07-10
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案