package shop.alien.store.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import shop.alien.entity.store.AiIntelligentAssistant;
import shop.alien.entity.store.StoreCustomerService;

import java.util.List;

/**
 * <p>
 * 门店客服 服务类
 * </p>
 *
 * @author ssk
 * @since 2024-12-30
 */
public interface StoreCustomerServiceService extends IService<StoreCustomerService> {

    StoreCustomerService getByQuestion(String question);

    StoreCustomerService saveStoreCustomerService(StoreCustomerService storeCustomerService);

    void delStoreCustomerService(String id);

    IPage<StoreCustomerService> getStoreCustomerServicePage(int page, int size, String question, String type);

    StoreCustomerService getById(String id);

    List<StoreCustomerService> getRandList(String type,Integer limit);

    List<AiIntelligentAssistant> saveAiIntelligentAssistant(List<AiIntelligentAssistant> aiIntelligentAssistants);

    List<AiIntelligentAssistant> selectAiIntelligentAssistant(String userId,String time,Integer talkSource);
}
