package com.cool.store.service;

import com.cool.store.common.PageBasicInfo;
import com.cool.store.dto.ShopSignerInfoDTO;
import com.cool.store.dto.decoration.DecorationListDTO;
import com.cool.store.dto.decoration.DecorationTeamDTO;
import com.cool.store.entity.decoration.ShopDecorationAssignDO;
import com.cool.store.request.decoration.AddTeamRequest;
import com.cool.store.request.decoration.DecorationListRequest;
import com.cool.store.request.decoration.UpdateConstructionTeamRequest;
import com.cool.store.request.decoration.UpdateTeamRequest;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Author suzhuhong
 * @Date 2025/10/29 15:54
 * @Version 1.0
 */
public interface DecorationHandleService {


    /**
     * 新增团队
     * @param request
     * @return
     */
    Boolean addTeam(AddTeamRequest request);

    /**
     * 修改团队
     * @param request
     * @return
     */
    Boolean update(UpdateTeamRequest request);

    /**
     * 删除团队
     * @param teamId
     * @return
     */
    Boolean deleteByTeamId(Long teamId);

    /**
     * pageBasicInfo
     * 根据条件查询团队
     * @return
     */
    PageInfo<DecorationTeamDTO> listByCondition(PageBasicInfo pageBasicInfo );

    /**
     * openCityId
     * @param openCityId
     * @return
     */
    Long getDecorationTeamIdByCityId(Long openCityId);

    /**
     * 处理团队
     * @param teamId
     * @return
     */
    Boolean handleDecorationTeam(ShopDecorationAssignDO shopDecorationAssignDO);

    /**
     * 列表
     * @param request
     * @return
     */
    PageInfo<DecorationListDTO> getDecorationAssignList(DecorationListRequest request);

    /**
     * 获取门店签约信息
     * @param shopId
     * @return
     */
    ShopSignerInfoDTO getShopSignerInfo(Long shopId);

    /**
     * 更新施工团队
     * @param request
     * @return
     */
    Boolean updateConstructionTeam(UpdateConstructionTeamRequest request);








}
