CustomerService.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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 java.util.List;
  6. import java.util.Map;
  7. /**
  8. * 客诉基本信息
  9. */
  10. public interface CustomerService {
  11. /**
  12. * 添加客诉
  13. * @param customerInfo
  14. * @return
  15. */
  16. Integer saveCustomerInfo(CustomerInfo customerInfo,SalesOrder salesOrder) throws Exception;
  17. /**
  18. * 添加订单到efast
  19. * @param salesOrder
  20. * @return
  21. */
  22. Map<String,Object> sendEfastOrder(SalesOrder salesOrder)throws Exception;
  23. /**
  24. * 根据id获取客诉信息
  25. * @param customerId
  26. * @return
  27. */
  28. CustomerInfo getCustomerInfo(Integer customerId);
  29. /**
  30. * 修改客诉信息
  31. * @param record
  32. * @return
  33. */
  34. Integer updateCustomerInfo(CustomerInfo record);
  35. /**
  36. * 查询客诉基本信息列表
  37. * @param customerInfo
  38. * @return
  39. */
  40. PagedResult<CustomerInfo> listCustomer(int pageNO, int pageSize, CustomerInfo customerInfo, boolean isTotalNum);
  41. /**
  42. * 查询客诉基本信息
  43. * @param customerInfo
  44. * @return
  45. */
  46. Map<String,Object> getCustomerInfo(CustomerInfo customerInfo);
  47. /**
  48. * 获取售后退货信息
  49. * @param backGoods
  50. * @return
  51. */
  52. BackGoods getBackGoods(BackGoods backGoods);
  53. /**
  54. * 获取无理由退货信息
  55. * @param noreasonBack
  56. * @return
  57. */
  58. NoreasonBack getNoreasonBack(NoreasonBack noreasonBack);
  59. /**
  60. * 获取售后补寄信息
  61. * @param reissue
  62. * @return
  63. */
  64. Reissue getReissue(Reissue reissue);
  65. /**
  66. * 获取换新详情和品质检测信息
  67. * @param renewed
  68. * @return
  69. */
  70. Renewed getRenewedInfo(Renewed renewed);
  71. /**
  72. * 获取维修详情和品质检测信息
  73. * @param repair
  74. * @return
  75. */
  76. Repair getRepairInfo(Repair repair);
  77. /**
  78. * 查询寄回和寄出的产品和配件信息
  79. * @param customerCommon
  80. * @param isSolve
  81. * @return
  82. */
  83. CustomerCommon selectProdcueAndFitting(CustomerCommon customerCommon, int isSolve);
  84. /**
  85. * 根据客诉id查询商品类型表
  86. * @return
  87. */
  88. ProductType getcompanyAffiliation(Integer customerId);
  89. }