All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fhs.pagex.dao.DefaultPageXDAO Maven / Gradle / Ivy

The newest version!
package com.fhs.pagex.dao;

import com.mybatis.jpa.annotation.MapperDefinition;
import com.fhs.core.base.dao.BaseDao;
import com.fhs.pagex.bean.DefaultPageXBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 *  此DAO没什么用
 * @ProjectName: framework_v2_idea2
 * @Package: com.fhs.pagex.dao
 * @ClassName: DefaultPageXDAO
 * @Author: JackWang
 * @CreateDate: 2018/12/17 0017 19:59
 * @UpdateUser: JackWang
 * @UpdateDate: 2018/12/17 0017 19:59
 * @Version: 1.0
 */
@MapperDefinition(domainClass = DefaultPageXBean.class)
@Repository
public interface DefaultPageXDAO extends BaseDao{
    /**
     * 查询数据给join用
     * 本方法就是执行一个sql 返回结果的集合
     * @param sql sql
     * @return 结果集合
     */
    List> selectListForJoin(@Param("sql") String sql);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy