ICcCallPhoneService.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package com.ruoyi.aicall.service;
  2. import com.ruoyi.aicall.domain.CcCallPhone;
  3. import com.ruoyi.aicall.domain.CcLlmAgentAccount;
  4. import com.ruoyi.aicall.model.CallPhoneExportVo;
  5. import com.ruoyi.aicall.model.CallTaskStatModel;
  6. import java.util.List;
  7. /**
  8. * 外呼号码Service接口
  9. *
  10. * @author ruoyi
  11. * @date 2025-05-29
  12. */
  13. public interface ICcCallPhoneService
  14. {
  15. /**
  16. * 查询外呼号码
  17. *
  18. * @param id 外呼号码主键
  19. * @return 外呼号码
  20. */
  21. public CcCallPhone selectCcCallPhoneById(String id);
  22. /**
  23. * 查询外呼号码列表
  24. *
  25. * @param ccCallPhone 外呼号码
  26. * @return 外呼号码集合
  27. */
  28. public List<CcCallPhone> selectCcCallPhoneList(CcCallPhone ccCallPhone);
  29. /**
  30. * 新增外呼号码
  31. *
  32. * @param ccCallPhone 外呼号码
  33. * @return 结果
  34. */
  35. public int insertCcCallPhone(CcCallPhone ccCallPhone);
  36. /**
  37. * 修改外呼号码
  38. *
  39. * @param ccCallPhone 外呼号码
  40. * @return 结果
  41. */
  42. public int updateCcCallPhone(CcCallPhone ccCallPhone);
  43. /**
  44. * 批量删除外呼号码
  45. *
  46. * @param ids 需要删除的外呼号码主键集合
  47. * @return 结果
  48. */
  49. public int deleteCcCallPhoneByIds(String ids);
  50. /**
  51. * 删除外呼号码信息
  52. *
  53. * @param id 外呼号码主键
  54. * @return 结果
  55. */
  56. public int deleteCcCallPhoneById(String id);
  57. /**
  58. * 根据batchId统计外呼数据
  59. * @param batchId
  60. * @return
  61. */
  62. public CallTaskStatModel statByBatchId(Long batchId);
  63. /**
  64. * 批量入库
  65. * @param phoneList
  66. */
  67. public void batchInsertCcCallPhone(List<CcCallPhone> phoneList);
  68. List<CcCallPhone> getCustIntentionList();
  69. void updateIntentionByIds(String intention, List<String> phoneIds);
  70. String getIntenetionByDialogue(CcLlmAgentAccount ccLlmAgentAccount, String dialogue);
  71. List<CcCallPhone> selectNoHangupCalls(Long batchId);
  72. void bakCallPhoneByBatchId(Long batchId);
  73. void delCallPhoneByBatchId(Long batchId);
  74. }