mybatis_plus
mybatis_plus是对mybatis的增强,不做改变。
xxmybatis接口通过继承BaseMapper提供基本CRUD语句。
mybatis——plus还提供条件构造器,自己编写增删改查的语句,最终还是调的mysql的语句,不会对性能影响。
查询方式 	说明
or 			或条件语句
and 		且条件语句
like 		模糊查询
like notLike 模糊查询
not Like exists exists	 条件语句
notExists not Exists	 条件语句
isNull null		 值查询
isNotNull is Not Null	 查询
in 		in 查询
notIn 		not in 查询
groupBy		 分组查询
orderBy 	排序查询
having 		分组后筛选
eq 等于 =
ne 不等于 <>
between 	between 条件语句
gt	 大于>
ge 	大于等于>=
lt 	小于<
le 	小于等于<=
                    
                
                
            
        
浙公网安备 33010602011771号