📄 iuserdao.java
字号:
package com.tb.log.model.dao.idao;
import java.util.List;
import com.tb.log.model.dao.BaseDAO;
import com.tb.log.model.po.User;
import com.tb.log.system.SystemException;
import com.tb.log.util.pages.PageBean;
public interface IUserDAO extends BaseDAO {
/* (non-Javadoc)
* @see com.tb.log.model.dao.BaseDAO#findById(java.lang.String)
*/
public User findById(String id) throws SystemException;
/**通过用户名,密码获得用户信息
* @param LoginName
* @param password
* @return
* @throws SystemException
*/
public User findByNamePsw(String LoginName,String password)throws SystemException;
/**通过项目id查询所有用户信息
* @param id
* @return
* @throws SystemException
*/
public List findByProId(String id) throws SystemException;
/**查询所有用户信息
* @return
* @throws SystemException
*/
public List findAll() throws SystemException;
/**自定义查询返回pageBean
* @param getCountSql
* @return
* @throws SystemException
*/
public PageBean getTotalResults(String getCountSql) throws SystemException;
/**自定义查询(翻页)用户信息
* @param currentPage
* @param getPageSql
* @return
* @throws SystemException
*/
public List findUserInfoList(int currentPage,String getPageSql) throws SystemException;
/**批量查询
* @param ids
* @return
* @throws SystemException
*/
public List findById(List ids) throws SystemException;
/**(关联)管理员修改用户资料
* @param user
* @throws SystemException
*/
public void editUserInfo(User user)throws SystemException;
/**级联删除用户信息
* @param user
* @throws SystemException
*/
public void removeAll(User user) throws SystemException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -