package com.ruoyi.xq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.xq.domain.UserStatus;
import com.ruoyi.xq.dto.admin.userstatus.UserStatusAdminVo;
import com.ruoyi.xq.dto.app.userstatus.UserStatusUpdateAppReq;
import com.ruoyi.xq.dto.app.userstatus.UserStatusUpdateMasterAppReq;

/**
 * 用户状态Service接口
 *
 * @author 77
 * @date 2024-03-28
 */
public interface UserStatusService extends IService<UserStatus> {

    UserStatus getByUserId(Long userId);

    void updateStatus(UserStatusUpdateAppReq req);

    Page<UserStatusAdminVo> pageAdmin(PageQuery pageQuery, UserStatusAdminVo bo);

    void updateStatusMaster(UserStatusUpdateMasterAppReq req);
}
