You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.0 KiB
C#

using Estsh.Core.Model.Result;
using Estsh.Core.Models;
using Estsh.Core.Repositories;
using System.Collections;
namespace Estsh.Core.IRepositories
{
public interface IUserRepository : IBaseRepository<SysEmp>
{
public SysEmp getUserInfo(string strWhere);
public Hashtable getUserListByPage(int PageSize, int PageIndex, string strWhere, string OrderBy);
public List<KeyValueResult> fromRoleList(String emp_id);
public List<KeyValueResult> toRoleList(String emp_id);
public List<SysEmp> getUserInfoById(String emp_id);
public List<SysFactory> getSelectFactory(int factoryID);
public int saveUserInfo(SysEmp htParams, string roles);
public int updateUserInfo(SysEmp htParams, string roles);
public int deleteUser(String emp_id);
public int EnableData(String ids);
public int DisableData(String ids);
public bool UpdatePassword(string emp_id, string password, string updateUserid);
public int restPassWord(String userID);
}
}