package com.shl.dao;


import com.shl.entity.SysUser;
import org.springframework.stereotype.Repository;

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

@Repository(value="ISysUserDao")
public interface ISysUserDao {

	public void save(SysUser user);
	public SysUser selectById(int id);

	public SysUser selectUserByEmail(String emailParame);

	public void deleteById(int id);
	public List<SysUser> selectAll();

	int getRowCount();

	List<SysUser> selectUserByParams(Map<String, Object> params);

	List<SysUser> fetchUserByParams(Map<String, Object> params);


}
