package com.yonge.cooleshow.biz.dal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.wrapper.TenantUnbindHistoryWrapper;
import com.yonge.cooleshow.biz.dal.entity.TenantUnbindHistory;

/**
 * 机构解绑历史表
 * 2023-08-18 18:00:10
 */
public interface TenantUnbindHistoryService extends IService<TenantUnbindHistory>  {

    /**
     * 查询详情
     * @param id 详情ID
     * @return TenantUnbindHistory
     */
    TenantUnbindHistory detail(Long id);

    /**
     * 分页查询
     * @param page IPage<TenantUnbindHistory>
     * @param query TenantUnbindHistoryWrapper.TenantUnbindHistoryQuery
     * @return IPage<TenantUnbindHistory>
     */
    IPage<TenantUnbindHistory> selectPage(IPage<TenantUnbindHistory> page, TenantUnbindHistoryWrapper.TenantUnbindHistoryQuery query);

    /**
     * 添加
     * @param tenantUnbindHistory TenantUnbindHistoryWrapper.TenantUnbindHistory
     * @return Boolean
     */
    Boolean add(TenantUnbindHistoryWrapper.TenantUnbindHistory tenantUnbindHistory);

    /**
     * 更新
     * @param tenantUnbindHistory TenantUnbindHistoryWrapper.TenantUnbindHistory
     * @return Boolean
     */
    Boolean update(TenantUnbindHistoryWrapper.TenantUnbindHistory tenantUnbindHistory);

}