HKC_Blazor/MasaBlazorApp3/DataAccess/Dao/IUserDao.cs

30 lines
754 B
C#
Raw Permalink Normal View History

2025-04-18 11:01:56 +08:00
using MasaBlazorApp3.Pojo;
namespace MasaBlazorApp3.DataAccess.Dao
{
public interface IUserDao
{
int InsertUser(User user);
Task<PageData<User>> GetAllByNickname(string nickname, int? take, int? skip);
User GetById(int id);
User GetByUsername(string username);
bool UpdateUser(User user);
bool DeleteeUser(int id);
//重置用户密码
bool ResetPassword(int id);
Task<bool> UpdateSign(int id, string sign);
2025-05-20 11:17:07 +08:00
bool UpdateUserPassword(User user);
2025-07-05 10:07:33 +08:00
//查询当前值班信息
HkcChangeShifts GetOnDuty();
//保存交接班信息
Task<bool> UpdateChangeShift(HkcChangeShifts changeShift, HkcChangeShifts changeShiftNew);
2025-04-18 11:01:56 +08:00
}
}