博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年12月17日

摘要: 1、if 需求:若有为空的字段,则不加入数据库查询语句 mapper接口类: mapper xml文件: 2、where 需求:加入where元素,进行筛选,where元素可以自动过滤前置的多余的and mapper接口类: mapper xml文件: 3、set 需求:加入set元素,进行更新时的 阅读全文

posted @ 2018-12-17 21:59 棽棽 阅读(108) 评论(0) 推荐(0) 编辑