
mybatis
LVAmber
君子四守:守愚、守静、守时、守信。
展开
-
Mybatis 不等号的表示方法,if……else
原符号 < <= > >= & ’ ” 替换符号 < <= > >= & ' " 实例:原创 2017-11-09 20:19:53 · 4528 阅读 · 0 评论 -
Mybatis模糊查询忽略大小小
select *from tableA where upper(A) like concat(concat(‘%’,upper(#{B})),’%’)原创 2017-10-26 10:15:47 · 2980 阅读 · 0 评论 -
Mybatis根据id批量更新
控制层:/** * 产品下架 */ @RequestMapping(value = "/shelfDown", method = RequestMethod.POST ) public @ResponseBody Bean shelfDown(Integer[] ids) { int result = zgoodsService.shelfDown(ids);原创 2018-01-10 16:40:12 · 10967 阅读 · 1 评论