package com.cool.store.service;

import com.cool.store.request.AuditOpenNewShopRequest;
import com.cool.store.request.PartnerOpenNewShopPageRequest;
import com.cool.store.request.SubmitOpenNewShopRequest;
import com.cool.store.vo.IsSubmitOpenNewShopVO;
import com.cool.store.vo.PartnerOpenNewShopDetailVO;
import com.cool.store.vo.PartnerOpenNewShopPageVO;
import com.github.pagehelper.PageInfo;

/**
 * @author zhangchenbiao
 * @FileName: OpenNewShopService
 * @Description:
 * @date 2024-05-09 15:12
 */
public interface OpenNewShopService {

    /**
     * 获取老加盟商开新店
     * @param request
     * @return
     */
    PageInfo<PartnerOpenNewShopPageVO> getPartnerOpenNewShopPage(PartnerOpenNewShopPageRequest request);


    /**
     * 获取详情
     * @param recordId
     * @return
     */
    PartnerOpenNewShopDetailVO getOpenNewShopRecordDetail(Long recordId);

    /**
     * 审核开新店
     * @param request
     * @return
     */
    Integer auditOpenNewShop(AuditOpenNewShopRequest request);

    /**
     * 提交开店申请
     * @param request
     * @return
     */
    Long submitOpenNewShop(SubmitOpenNewShopRequest request);

    /**
     * 获取待审核记录
     * @param lineId
     * @return
     */
    IsSubmitOpenNewShopVO isSubmitOpenNewShop(Long lineId);
}
