SysUserExpandMapper.java 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. package com.doc.system.mapper;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.doc.common.core.domain.entity.SysUserExpand;
  4. import java.util.List;
  5. /**
  6. * 用户登录限制Mapper接口
  7. *
  8. * @author wukai
  9. * @date 2023-10-11
  10. */
  11. public interface SysUserExpandMapper extends BaseMapper<SysUserExpand> {
  12. /**
  13. * 查询用户登录限制
  14. *
  15. * @param userId 用户登录限制主键
  16. * @return 用户登录限制
  17. */
  18. public SysUserExpand selectSysUserExpandByUserId(Long userId);
  19. /**
  20. * 查询用户登录限制列表
  21. *
  22. * @param sysUserExpand 用户登录限制
  23. * @return 用户登录限制集合
  24. */
  25. public List<SysUserExpand> selectSysUserExpandList(SysUserExpand sysUserExpand);
  26. /**
  27. * 查询用户人脸特征
  28. *
  29. * @return 用户登录限制
  30. */
  31. public List<SysUserExpand> selectFaceFeatureList();
  32. /**
  33. * 新增用户登录限制
  34. *
  35. * @param sysUserExpand 用户登录限制
  36. * @return 结果
  37. */
  38. public int insertSysUserExpand(SysUserExpand sysUserExpand);
  39. /**
  40. * 修改用户登录限制
  41. *
  42. * @param sysUserExpand 用户登录限制
  43. * @return 结果
  44. */
  45. public int updateSysUserExpand(SysUserExpand sysUserExpand);
  46. /**
  47. * 删除用户登录限制
  48. *
  49. * @param userId 用户登录限制主键
  50. * @return 结果
  51. */
  52. public int deleteSysUserExpandByUserId(Long userId);
  53. /**
  54. * 批量删除用户登录限制
  55. *
  56. * @param userIds 需要删除的数据主键集合
  57. * @return 结果
  58. */
  59. public int deleteSysUserExpandByUserIds(Long[] userIds);
  60. /**
  61. * 修改用户人脸信息
  62. *
  63. * @param expand 扩展信息
  64. * @return 结果
  65. */
  66. int updateFaceFeature(SysUserExpand expand);
  67. }