会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
与其临渊羡鱼 不如退而结网
博客园
首页
新随笔
联系
管理
订阅
2015年11月25日
mybatis判断list为空
摘要: 在传入的map或者对象里面存在一个list,此时想要判断list是否为空,可以0 " > and SPid not in #{id}
阅读全文
posted @ 2015-11-25 20:57 VinoZhu
阅读(35480)
评论(1)
推荐(2)
编辑
mybatis中updateByPrimaryKeySelective
摘要: mybatis中updateByPrimaryKeySelective等选择性操作在判断时对于VARCHAR类型需要同时判断非空和非空串 description = #{description,jdbcType=VARCHAR},
阅读全文
posted @ 2015-11-25 14:10 VinoZhu
阅读(1074)
评论(0)
推荐(0)
编辑
公告