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

/**
 * 分账归还记录
 * 2023-10-18 10:59:05
 */
public interface DivBackRecordService extends IService<DivBackRecord>  {

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

    /**
     * 分页查询
     * @param page IPage<DivBackRecord>
     * @param query DivBackRecordWrapper.DivBackRecordQuery
     * @return IPage<DivBackRecord>
     */
    IPage<DivBackRecord> selectPage(IPage<DivBackRecord> page, DivBackRecordWrapper.DivBackRecordQuery query);
	
    /**
     * 添加
     * @param divBackRecord DivBackRecordWrapper.DivBackRecord
     * @return Boolean
     */
     Boolean add(DivBackRecordWrapper.DivBackRecord divBackRecord);   

    /**
     * 更新
     * @param divBackRecord DivBackRecordWrapper.DivBackRecord
     * @return Boolean
     */
     Boolean update(DivBackRecordWrapper.DivBackRecord divBackRecord);

    /**
     * 分账回归
     */
    void divBack();
}