TempMapper.java 823 Bytes
Newer Older
葛齐林's avatar
葛齐林 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package ${bean.pacageName}${bean.modulesName}.dao;
import org.apache.ibatis.annotations.Mapper;

import ${bean.pacageName}${bean.modulesName}.model.${bean.className}Model;
import ${bean.pacageName}${bean.modulesName}.bean.${bean.className};
import com.devplatform.common.dao.MyBaseMapper;

import java.util.List;

/**
 * ${bean.className} Mapper
 * 用于${bean.tableRemark}的数据库操作
 * @author Administrator
 *
 */
@Mapper
public interface ${bean.className}Dao extends MyBaseMapper<${bean.className}> {

    /**
co_dengxiongwen's avatar
co_dengxiongwen committed
20
     * 查询分页数量
葛齐林's avatar
葛齐林 committed
21 22 23 24 25 26 27 28 29 30 31 32
     * @param model
     * @return
     */
    Integer queryPageByCount(${bean.className}Model model);

    /**
     * 查询${bean.tableRemark}分页数据
     * @param model
     * @return
     */
    List<${bean.className}> queryPageList(${bean.className}Model model);
}