package com.fgkj.mapper.impl;
|
|
import java.util.List;
|
|
import org.springframework.stereotype.Repository;
|
|
public interface UserMapper {
|
|
/**
|
* ���Ա��
|
*/
|
public boolean add(Object obj);
|
|
/**
|
* ��Ա��
|
*/
|
public boolean update(Object obj) ;
|
|
/**
|
* ������
|
* @param obj
|
* @return
|
*/
|
public boolean updatePass(Object obj);
|
|
/**
|
* ɾ��Ա��
|
*/
|
public boolean del(Object obj) ;
|
|
/**
|
* ��ѯָ���û�����Ա��
|
*/
|
public List serchByCondition(Object obj);
|
|
public List serchByPage(int currentPage,int PageSize) ;
|
|
/**
|
* ��ѯ����Ա��
|
*/
|
public List searchAll() ;
|
|
/**
|
* ģ����ѯ
|
*/
|
public List serchByInfo(Object obj) ;
|
// public static void main(String[] args) {
|
// List list= new UserDAOImpl().serchByPage(1, 6);
|
// System.out.println(list);
|
// }
|
}
|