Package org.jeecgframework.minidao.annotation

Examples of org.jeecgframework.minidao.annotation.ResultType


        if(page!=0 && rows!=0){
          executeSql = MiniDaoUtil.createPageSql(dbType,executeSql, page, rows);
        }
        // update-begin--Author:fancq  Date:20140102 for:支持多数据分页
        // update-begin--Author:fancq  Date:20131219 for:支持返回Map和实体 list
        ResultType resultType = method.getAnnotation(ResultType.class);
        String[] values = null;
        if (resultType != null) {
          values = resultType.value();
        }
        if (values == null || values.length == 0 || "java.util.Map".equals(values[0])) {
          if(paramMap!=null){
            return namedParameterJdbcTemplate.query(executeSql, paramMap,getColumnMapRowMapper());
          }else{
View Full Code Here

TOP

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

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.