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

/**
 * 分账子账户配置
 * 2023-07-28 16:53:51
 */
public interface PaymentDivMemberService extends IService<PaymentDivMember>  {

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

    /**
     * 分页查询
     * @param page IPage<PaymentDivMember>
     * @param query PaymentDivMemberWrapper.PaymentDivMemberQuery
     * @return IPage<PaymentDivMember>
     */
    IPage<PaymentDivMember> selectPage(IPage<PaymentDivMember> page, PaymentDivMemberWrapper.PaymentDivMemberQuery query);
	
    /**
     * 添加
     * @param paymentDivMember PaymentDivMemberWrapper.PaymentDivMember
     * @return Boolean
     */
     Boolean add(PaymentDivMemberWrapper.PaymentDivMember paymentDivMember);   

    /**
     * 更新
     * @param paymentDivMember PaymentDivMemberWrapper.PaymentDivMember
     * @return Boolean
     */
     Boolean update(PaymentDivMemberWrapper.PaymentDivMember paymentDivMember);

    /**
     * 子账户
     *
     * @param appId
     * @param tenantId
     * @return
     */
    PaymentDivMember getByAppIdAndTenantId(String appId, Long tenantId);
}