CustomerService.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. package com.iamberry.rst.faces.cm;
  2. import com.iamberry.rst.core.cm.*;
  3. import com.iamberry.rst.core.order.ProductType;
  4. import com.iamberry.rst.core.page.PagedResult;
  5. import org.springframework.transaction.annotation.Transactional;
  6. import java.util.List;
  7. import java.util.Map;
  8. /**
  9. * 客诉基本信息
  10. */
  11. public interface CustomerService {
  12. /**
  13. * 添加客诉
  14. * @param customerInfo
  15. * @return
  16. */
  17. Integer saveCustomerInfo(CustomerInfo customerInfo,SalesOrder salesOrder);
  18. /**
  19. * 添加订单到efast
  20. * @param salesOrder
  21. * @return
  22. */
  23. Map<String,Object> sendEfastOrder(SalesOrder salesOrder);
  24. /**
  25. * 根据id获取客诉信息
  26. * @param customerId
  27. * @return
  28. */
  29. CustomerInfo getCustomerInfo(Integer customerId);
  30. /**
  31. * 修改客诉信息
  32. * @param record
  33. * @return
  34. */
  35. Integer updateCustomerInfo(CustomerInfo record);
  36. /**
  37. * 查询客诉基本信息列表
  38. * @param customerInfo
  39. * @return
  40. */
  41. PagedResult<CustomerInfo> listCustomer(int pageNO, int pageSize, CustomerInfo customerInfo, boolean isTotalNum);
  42. /**
  43. * 查询客诉基本信息
  44. * @param customerInfo
  45. * @return
  46. */
  47. Map<String,Object> getCustomerInfo(CustomerInfo customerInfo);
  48. /**
  49. * 获取售后退货信息
  50. * @param backGoods
  51. * @return
  52. */
  53. BackGoods getBackGoods(BackGoods backGoods);
  54. /**
  55. * 获取无理由退货信息
  56. * @param noreasonBack
  57. * @return
  58. */
  59. NoreasonBack getNoreasonBack(NoreasonBack noreasonBack);
  60. /**
  61. * 获取售后补寄信息
  62. * @param reissue
  63. * @return
  64. */
  65. Reissue getReissue(Reissue reissue);
  66. /**
  67. * 获取换新详情和品质检测信息
  68. * @param renewed
  69. * @return
  70. */
  71. Renewed getRenewedInfo(Renewed renewed);
  72. /**
  73. * 获取维修详情和品质检测信息
  74. * @param repair
  75. * @return
  76. */
  77. Repair getRepairInfo(Repair repair);
  78. /**
  79. * 查询寄回和寄出的产品和配件信息
  80. * @param customerCommon
  81. * @param isSolve
  82. * @return
  83. */
  84. CustomerCommon selectProdcueAndFitting(CustomerCommon customerCommon, int isSolve);
  85. /**
  86. * 根据客诉id查询商品类型表
  87. * @return
  88. */
  89. ProductType getcompanyAffiliation(Integer customerId);
  90. /*设置产品,配件参数*/
  91. void setName(CustomerCommon cc);
  92. /**
  93. * 将原订单生成退货单
  94. * @param customerCommon
  95. * @param salesOrder
  96. * @return
  97. * @throws Exception
  98. */
  99. void chargebackEfastOrder(CustomerCommon customerCommon, SalesOrder salesOrder,Integer status);
  100. /**
  101. * 添加仓储
  102. * @param customerCommon
  103. * @return
  104. */
  105. void saveComplaintSignclosedInfo(ComplaintSignclosedInfo complaintSignclosedInfo,CustomerCommon customerCommon);
  106. /**
  107. * 添加品检
  108. * @param complaintDetectInfo
  109. * @param customerCommon
  110. * @return
  111. */
  112. void saveComplaintDetectInfo(ComplaintDetectInfo complaintDetectInfo,CustomerCommon customerCommon);
  113. /**
  114. * 向Efast推送订单 仅换新,维修 ,补发
  115. * @return
  116. */
  117. Map<String,Object> sendEfastOrder(CustomerCommon customerCommon,SalesOrder salesOrder);
  118. /*查询问题个数*/
  119. Integer getQuestionNumber(CustomerInfo customerInfo);
  120. }