CustomerService.java 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. * 修改客诉
  20. * @param customerInfo
  21. * @return
  22. */
  23. Integer updateCustomerInfo(CustomerInfo customerInfo,SalesOrder salesOrder);
  24. /**
  25. * 添加订单到efast
  26. * @param salesOrder
  27. * @return
  28. */
  29. Map<String,Object> sendEfastOrder(SalesOrder salesOrder);
  30. /**
  31. * 根据id获取客诉信息
  32. * @param customerId
  33. * @return
  34. */
  35. CustomerInfo getCustomerInfo(Integer customerId);
  36. /**
  37. * 修改客诉信息
  38. * @param record
  39. * @return
  40. */
  41. Integer updateCustomerInfo(CustomerInfo record);
  42. /**
  43. * 查询客诉基本信息列表
  44. * @param customerInfo
  45. * @return
  46. */
  47. PagedResult<CustomerInfo> listCustomer(int pageNO, int pageSize, CustomerInfo customerInfo, boolean isTotalNum);
  48. /**
  49. * 查询客诉基本信息
  50. * @param customerInfo
  51. * @return
  52. */
  53. Map<String,Object> getCustomerInfo(CustomerInfo customerInfo);
  54. /**
  55. * 获取售后退货信息
  56. * @param backGoods
  57. * @return
  58. */
  59. BackGoods getBackGoods(BackGoods backGoods);
  60. /**
  61. * 获取无理由退货信息
  62. * @param noreasonBack
  63. * @return
  64. */
  65. NoreasonBack getNoreasonBack(NoreasonBack noreasonBack);
  66. /**
  67. * 获取售后补寄信息
  68. * @param reissue
  69. * @return
  70. */
  71. Reissue getReissue(Reissue reissue);
  72. /**
  73. * 获取换新详情和品质检测信息
  74. * @param renewed
  75. * @return
  76. */
  77. Renewed getRenewedInfo(Renewed renewed);
  78. /**
  79. * 获取维修详情和品质检测信息
  80. * @param repair
  81. * @return
  82. */
  83. Repair getRepairInfo(Repair repair);
  84. /**
  85. * 查询寄回和寄出的产品和配件信息
  86. * @param customerCommon
  87. * @param isSolve
  88. * @return
  89. */
  90. CustomerCommon selectProdcueAndFitting(CustomerCommon customerCommon, int isSolve);
  91. /**
  92. * 根据客诉id查询商品类型表
  93. * @return
  94. */
  95. ProductType getcompanyAffiliation(Integer customerId);
  96. /*设置产品,配件参数*/
  97. void setName(CustomerCommon cc);
  98. /**
  99. * 将原订单生成退货单
  100. * @param customerCommon
  101. * @param salesOrder
  102. * @return
  103. * @throws Exception
  104. */
  105. void chargebackEfastOrder(CustomerCommon customerCommon, SalesOrder salesOrder,Integer status,Integer returnType);
  106. /**
  107. * 添加仓储
  108. * @param customerCommon
  109. * @return
  110. */
  111. void saveComplaintSignclosedInfo(ComplaintSignclosedInfo complaintSignclosedInfo,CustomerCommon customerCommon);
  112. /**
  113. * 添加品检
  114. * @param complaintDetectInfo
  115. * @param customerCommon
  116. * @return
  117. */
  118. void saveComplaintDetectInfo(ComplaintDetectInfo complaintDetectInfo,CustomerCommon customerCommon);
  119. /**
  120. * 向Efast推送订单 仅换新,维修 ,补发
  121. * @return
  122. */
  123. Map<String,Object> sendEfastOrder(CustomerCommon customerCommon,SalesOrder salesOrder);
  124. /*查询问题个数*/
  125. Integer getQuestionNumber(CustomerInfo customerInfo);
  126. /*删除旧的售后信息*/
  127. void deleteCustomerAfterSales(CustomerInfo customer);
  128. Integer selectNotSolvedCustomer(CustomerInfo customer);
  129. /**
  130. * 查询旧的客诉基本信息
  131. * @param customerInfo
  132. * @return
  133. */
  134. List<CustomerInfo> listOnCustomer(CustomerInfo customerInfo);
  135. }