Package org.jeecgframework.minidao.annotation

Examples of org.jeecgframework.minidao.annotation.Sql


     
    }
   
    //[2].获取方法的SQL标签
    if(method.isAnnotationPresent(Sql.class)){
      Sql sql = method.getAnnotation(Sql.class);
      //如果用户采用自定义标签SQL,则SQL文件无效
      if(StringUtils.isNotEmpty(sql.value())){
        templateSql = sql.value();
      }
            logger.debug("@Sql------------------------------------------"+sql.value())
    }
    return templateSql;
  }
View Full Code Here

TOP

Related Classes of org.jeecgframework.minidao.annotation.Sql

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.