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.UserTenantBindRecordWrapper;
import com.yonge.cooleshow.biz.dal.entity.UserTenantBindRecord;

/**
 * 用户机构绑定解绑记录
 * 2023-12-04 15:30:02
 */
public interface UserTenantBindRecordService extends IService<UserTenantBindRecord>  {

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

    /**
     * 分页查询
     * @param page IPage<UserTenantBindRecord>
     * @param query UserTenantBindRecordWrapper.UserTenantBindRecordQuery
     * @return IPage<UserTenantBindRecord>
     */
    IPage<UserTenantBindRecordWrapper.UserTenantBindRecord> selectPage(IPage<UserTenantBindRecordWrapper.UserTenantBindRecord> page, UserTenantBindRecordWrapper.UserTenantBindRecordQuery query);

    /**
     * 添加
     * @param userTenantBindRecord UserTenantBindRecordWrapper.UserTenantBindRecord
     * @return Boolean
     */
    Boolean add(UserTenantBindRecordWrapper.UserTenantBindRecord userTenantBindRecord);

    /**
     * 更新
     * @param userTenantBindRecord UserTenantBindRecordWrapper.UserTenantBindRecord
     * @return Boolean
     */
    Boolean update(UserTenantBindRecordWrapper.UserTenantBindRecord userTenantBindRecord);

}