类 MinidaoInterceptor

java.lang.Object
org.jeecgframework.minidao.aspect.MinidaoInterceptor
所有已实现的接口:
EmptyInterceptor

public class MinidaoInterceptor extends Object implements EmptyInterceptor
  • 构造器详细资料

    • MinidaoInterceptor

      public MinidaoInterceptor()
  • 方法详细资料

    • onInsert

      public boolean onInsert(Field[] fields, Object obj)
      从接口复制的说明: EmptyInterceptor
      插入拦截
      指定者:
      onInsert 在接口中 EmptyInterceptor
      返回:
    • onUpdate

      public boolean onUpdate(Field[] fields, Object obj)
      从接口复制的说明: EmptyInterceptor
      修改拦截
      指定者:
      onUpdate 在接口中 EmptyInterceptor
      返回:
    • onSelect

      public boolean onSelect(Field[] fields, Object obj)
      从接口复制的说明: EmptyInterceptor
      查询数据注入查询条件字段 规则说明 1、只支持方法名字以select、query、get、page开头的dao方法 2、dao方法的第一个参数必须是需要注入条件的实体 3、不想注入saas隔离字段,给方法加 @IgnoreSaas
      指定者:
      onSelect 在接口中 EmptyInterceptor
      返回:
    • setFieldValue

      public static void setFieldValue(Map<Object,Object> map, Object bean) throws Exception
      设置bean 属性值
      参数:
      map -
      bean -
      抛出:
      Exception
    • pareSetName

      public static String pareSetName(String fldname)
      拼接某属性set 方法
      参数:
      fldname -
      返回:
    • checkMethod

      public static boolean checkMethod(Method[] methods, String met)
      判断该方法是否存在
      参数:
      methods -
      met -
      返回: