| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- package com.ruoyi.aicall.service;
- import com.ruoyi.aicall.domain.CcCallPhone;
- import com.ruoyi.aicall.domain.CcLlmAgentAccount;
- import com.ruoyi.aicall.model.CallPhoneExportVo;
- import com.ruoyi.aicall.model.CallTaskStatModel;
- import java.util.List;
- import java.util.Map;
- /**
- * 外呼号码Service接口
- *
- * @author ruoyi
- * @date 2025-05-29
- */
- public interface ICcCallPhoneService
- {
- /**
- * 查询外呼号码
- *
- * @param id 外呼号码主键
- * @return 外呼号码
- */
- public CcCallPhone selectCcCallPhoneById(String id);
- /**
- * 查询外呼号码列表
- *
- * @param ccCallPhone 外呼号码
- * @return 外呼号码集合
- */
- public List<CcCallPhone> selectCcCallPhoneList(CcCallPhone ccCallPhone);
- /**
- * 列表加速:仅查询符合条件的主键(供分页/COUNT)
- */
- List<String> selectCcCallPhoneIds(CcCallPhone ccCallPhone);
- /**
- * 列表加速:按主键批量回表轻量字段(不含 dialogue/biz_json/tts_text)
- */
- List<CcCallPhone> selectCcCallPhoneLiteByIds(List<String> ids);
- /**
- * 新增外呼号码
- *
- * @param ccCallPhone 外呼号码
- * @return 结果
- */
- public int insertCcCallPhone(CcCallPhone ccCallPhone);
- /**
- * 修改外呼号码
- *
- * @param ccCallPhone 外呼号码
- * @return 结果
- */
- public int updateCcCallPhone(CcCallPhone ccCallPhone);
- /**
- * 批量删除外呼号码
- *
- * @param ids 需要删除的外呼号码主键集合
- * @return 结果
- */
- public int deleteCcCallPhoneByIds(String ids);
- /**
- * 删除外呼号码信息
- *
- * @param id 外呼号码主键
- * @return 结果
- */
- public int deleteCcCallPhoneById(String id);
- /**
- * 根据batchId统计外呼数据
- * @param batchId
- * @return
- */
- public CallTaskStatModel statByBatchId(Long batchId);
- /**
- * 根据多个batchId批量统计外呼数据
- * @param batchIds
- * @return key=batchId
- */
- Map<Long, CallTaskStatModel> statByBatchIds(List<Long> batchIds);
- /**
- * 批量入库
- * @param phoneList
- */
- public void batchInsertCcCallPhone(List<CcCallPhone> phoneList);
- List<CcCallPhone> getCustIntentionList();
- void updateIntentionByIds(String intention, List<String> phoneIds);
- String getIntenetionByDialogue(CcLlmAgentAccount ccLlmAgentAccount, String dialogue);
- List<CcCallPhone> selectNoHangupCalls(Long batchId);
- void bakCallPhoneByBatchId(Long batchId);
- void delCallPhoneByBatchId(Long batchId);
- List<CcCallPhone> selectCcCallPhoneYlrzList(CcCallPhone ccCallPhone);
- List<CcCallPhone> selectCcCallPhoneListByIds(List<String> callPhoneIds);
- String selectCcCallPhoneDialogueByUuid(String uuid);
- }
|