package com.cpop.system.business.service;

import com.cpop.system.business.bo.StoreRenewPageBo;
import com.cpop.system.business.bo.StoreRenewXmlBo;
import com.cpop.system.business.bo.StoreRunOffBo;
import com.cpop.system.business.dto.StoreRenewDto;
import com.cpop.system.business.vo.StoreRenewPageVo;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.cpop.system.business.entity.StoreSign;

import java.util.Collection;
import java.util.List;

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

    /**
     * 分页查询校区续费
     * @author DB
     * @since 2023/12/14
     * @param bo 请求参数
     * @return Page<StoreSign>
     */
    Page<StoreRenewPageVo> getStoreRenewPage(StoreRenewPageBo 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> getRenewXml(StoreRenewXmlBo bo);
}
