类 MinidaoInterceptor
java.lang.Object
org.jeecgframework.minidao.aspect.MinidaoInterceptor
- 所有已实现的接口:
EmptyInterceptor
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleancheckMethod(Method[] methods, String met) 判断该方法是否存在boolean插入拦截boolean查询数据注入查询条件字段 规则说明 1、只支持方法名字以select、query、get、page开头的dao方法 2、dao方法的第一个参数必须是需要注入条件的实体 3、不想注入saas隔离字段,给方法加 @IgnoreSaasboolean修改拦截static StringpareSetName(String fldname) 拼接某属性set 方法static voidsetFieldValue(Map<Object, Object> map, Object bean) 设置bean 属性值
-
构造器详细资料
-
MinidaoInterceptor
public MinidaoInterceptor()
-
-
方法详细资料
-
onInsert
从接口复制的说明:EmptyInterceptor插入拦截- 指定者:
onInsert在接口中EmptyInterceptor- 返回:
-
onUpdate
从接口复制的说明:EmptyInterceptor修改拦截- 指定者:
onUpdate在接口中EmptyInterceptor- 返回:
-
onSelect
从接口复制的说明:EmptyInterceptor查询数据注入查询条件字段 规则说明 1、只支持方法名字以select、query、get、page开头的dao方法 2、dao方法的第一个参数必须是需要注入条件的实体 3、不想注入saas隔离字段,给方法加 @IgnoreSaas- 指定者:
onSelect在接口中EmptyInterceptor- 返回:
-
setFieldValue
设置bean 属性值- 参数:
map-bean-- 抛出:
Exception
-
pareSetName
拼接某属性set 方法- 参数:
fldname-- 返回:
-
checkMethod
判断该方法是否存在- 参数:
methods-met-- 返回:
-