package com.czg.account.service;

import com.czg.account.entity.ShopConfig;
import com.czg.account.entity.ShopInfo;
import com.czg.exception.CzgException;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 店铺配置扩展
 *
 * @author Tankaikai tankaikai@aliyun.com
 * @since 1.0 2025-04-03
 */
public interface ShopConfigService extends IService<ShopConfig> {

    ShopInfo getShopInfoAndConfig(Long id) throws CzgException;

    void editStatusByShopIdList(Long mainShopId, Integer isEnable, boolean onyUpValid, String name, String useShopType, List<Long> shopIdList);

    boolean editConfig(Long shopId, ShopConfig shopConfig);
}
