package com.cpop.system.business.service;

import com.cpop.system.business.bo.StoreRunOffBo;
import com.cpop.system.business.bo.StoreSignRenewPageBo;
import com.cpop.system.business.bo.StoreSignRenewXmlBo;
import com.cpop.system.business.dto.StoreRenewDto;
import com.cpop.system.business.vo.StoreSignRenewPageVo;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.cpop.system.business.entity.StoreSign;

import java.util.List;

/**
 * 校区-签约表 服务层。
 *
 * @author DB
 * @since 2023-12-13
 */
public interface StoreSignService extends IService<StoreSign> {

    /**
     * 获取校区签约续费分页
     * @author DB
     * @since 2024/3/7
     * @return Page<StorePageVo>
     */
    Page<StoreSignRenewPageVo> getStoreSignRenewPage(StoreSignRenewPageBo bo);

    /**
     * 机构/店铺流失
     * @author DB
     * @since 2023/12/14
     * @param bo 请求参数
     */
    void runOff(StoreRunOffBo bo);

    /**
     * 获取已续费导出数据
     * @author DB
     * @since 2023/12/14
     * @param bo  请求
     * @return List<StoreRenewDto>
     */
    List<StoreRenewDto> getSignRenewXml(StoreSignRenewXmlBo bo);

}
