SysUserMapper.java 692 B

12345678910111213141516171819202122232425
  1. package cc.uncarbon.module.sys.mapper;
  2. import cc.uncarbon.module.sys.entity.SysUserEntity;
  3. import cc.uncarbon.module.sys.model.response.SysUserBaseInfoBO;
  4. import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
  5. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  6. import org.apache.ibatis.annotations.Mapper;
  7. import java.time.LocalDateTime;
  8. /**
  9. * 后台用户
  10. *
  11. * @author Uncarbon
  12. */
  13. @Mapper
  14. public interface SysUserMapper extends BaseMapper<SysUserEntity> {
  15. @InterceptorIgnore(tenantLine = "true")
  16. void updateLastLoginAt(Long userId, LocalDateTime lastLoginAt);
  17. @InterceptorIgnore(tenantLine = "true")
  18. SysUserBaseInfoBO getBaseInfoByUserId(Long userId);
  19. }