摘要: 在传入的map或者对象里面存在一个list,此时想要判断list是否为空,可以0 " > and SPid not in #{id} 阅读全文
posted @ 2015-11-25 20:57 VinoZhu 阅读(35480) 评论(1) 推荐(2) 编辑
摘要: mybatis中updateByPrimaryKeySelective等选择性操作在判断时对于VARCHAR类型需要同时判断非空和非空串 description = #{description,jdbcType=VARCHAR}, 阅读全文
posted @ 2015-11-25 14:10 VinoZhu 阅读(1074) 评论(0) 推荐(0) 编辑