123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376 |
- package com.iamberry.rst.faces.cm;
- import com.iamberry.rst.core.cm.*;
- import com.iamberry.rst.core.fm.ComplaintDetectInfo;
- import com.iamberry.rst.core.order.ProductType;
- import com.iamberry.rst.core.page.PagedResult;
- import java.util.List;
- import java.util.Map;
- /**
- * 客诉基本信息
- */
- public interface CustomerService {
- /**
- * 添加客诉
- * @param customerInfo
- * @return
- */
- Integer saveCustomerInfo(CustomerInfo customerInfo, SalesOrder salesOrder);
- /**
- * 修改客诉
- * @param customerInfo
- * @return
- */
- Integer updateCustomerInfo(CustomerInfo customerInfo, SalesOrder salesOrder);
- /**
- * 添加订单到efast
- * @param salesOrder
- * @return
- */
- Map<String,Object> sendEfastOrder(SalesOrder salesOrder);
- /**
- * 根据id获取客诉信息
- * @param customerId
- * @return
- */
- CustomerInfo getCustomerInfo(Integer customerId);
- /**
- * 修改客诉信息
- * @param record
- * @return
- */
- Integer updateCustomerInfo(CustomerInfo record);
- /**
- * 查询客诉基本信息列表
- * @param customerInfo
- * @return
- */
- PagedResult<CustomerInfo> listCustomer(int pageNO, int pageSize, CustomerInfo customerInfo, boolean isTotalNum);
- /**
- * 查询客诉列表
- * @param customerInfo
- * @return
- */
- List<CustomerInfo> listCustomer(CustomerInfo customerInfo);
- /**
- * 查询客诉基本信息
- * @param customerInfo
- * @return
- */
- Map<String,Object> getCustomerInfo(CustomerInfo customerInfo);
- /**
- * 获取无理由退货信息
- * @param noreasonBack
- * @return
- */
- // NoreasonBack getNoreasonBack(NoreasonBack noreasonBack);
- /**
- * 查询寄回和寄出的产品和配件信息
- * @param customerCommon
- * @param isSolve
- * @return
- */
- // CustomerCommon selectProdcueAndFitting(CustomerCommon customerCommon, int isSolve);
- /**
- * 根据客诉id查询商品类型表
- * @return
- */
- ProductType getcompanyAffiliation(Integer customerId);
- /*设置产品,配件参数*/
- void setName(CmRelation cr);
- /*设置产品,配件参数*/
- @Deprecated
- void setName(CustomerCommon cc);
- /**
- * 将原订单生成退货单
- * @param customerCommon
- * @param salesOrder
- * @return
- * @throws Exception
- */
- void chargebackEfastOrder(CustomerCommon customerCommon, SalesOrder salesOrder, Integer status, Integer returnType);
- /**
- * 添加仓储
- * @param customerCommon
- * @return
- */
- // void saveComplaintSignclosedInfo(ComplaintSignclosedInfo complaintSignclosedInfo, CustomerCommon customerCommon);
- /**
- * 添加品检
- * @param complaintDetectInfo
- * @param customerCommon
- * @return
- */
- void saveComplaintDetectInfo(ComplaintDetectInfo complaintDetectInfo, CustomerCommon customerCommon);
- /**
- * 向Efast推送订单 仅换新,维修 ,补发
- * @return
- */
- Map<String,Object> sendEfastOrder(CustomerCommon customerCommon, SalesOrder salesOrder);
- /*查询问题个数*/
- Integer getQuestionNumber(CustomerInfo customerInfo);
- /*删除旧的售后信息*/
- void deleteCustomerAfterSales(CustomerInfo customer, CmRelation cmRelation);
- Integer selectNotSolvedCustomer(CustomerInfo customer);
- /**
- * 查询旧的客诉基本信息
- * @param customerInfo
- * @return
- */
- List<CustomerInfo> listOnCustomer(CustomerInfo customerInfo);
- /*添加订单*/
- Integer addOrder(SalesOrder salesOrder);
- /**
- * 导出客诉信息到excel
- * @return
- */
- List<CustomerStatisticalInfo> listStatisticalCustomer(CustomerInfo customerInfo);
- /**
- * 总销量
- * @param salesOrder
- * @return
- */
- List<ReturnStatisticsInfo> salesTotalSales(SalesOrder salesOrder);
- /**
- * 总换货
- * @param salesOrder
- * @return
- */
- List<ReturnStatisticsInfo> salesTotalExchange(SalesOrder salesOrder);
- /**
- * 总退货
- * @param salesOrder
- * @return
- */
- List<ReturnStatisticsInfo> salesTotalReturn(SalesOrder salesOrder);
- /**
- * 二次换新
- * @param salesOrder
- * @return
- */
- List<ReturnStatisticsInfo> salesSecondaryChangeNew(SalesOrder salesOrder);
- /**
- * 二次换新退货
- * @param salesOrder
- * @return
- */
- List<ReturnStatisticsInfo> salesReturnForSecond(SalesOrder salesOrder);
- /**
- * 查询所有处理类型
- * @return
- */
- List<ProcType> listProcType();
- /**
- * 根据处理类型查询处理方式
- * @return
- */
- List<ProcMethod> listProcMethod(Integer procTypeId);
- /**
- * 根据id查询处理方式
- * @return
- */
- ProcMethod getProcMethod(Integer procMethodId);
- /**
- * 根据id修改处理信息
- * @return
- */
- Integer updateCmRelation(CmRelation cmRelation);
- /**
- * 查询客诉处理信息
- * @param cmRelation
- * @return
- */
- CmRelation getCmRelationInfo(CmRelation cmRelation);
- Integer updateRelation(CustomerInfo cm);
- List<CustomerCommon> listCustomerCommons(CustomerCommon customerCommon);
- /**
- * 查询邮费信息
- * @return
- */
- PostageInfo getPostageInfo(Integer postageId);
- /**
- * 查询邮费信息集合
- * @return
- */
- List<PostageInfo> listPostageInfo(Integer relationId);
- /**
- * 添加邮费信息
- * @return
- */
- Integer addPostageInfo(PostageInfo postageInfo);
- /**
- * 修改邮费信息
- * @return
- */
- Integer updatePostageInfo(PostageInfo postageInfo);
- /**
- * 修改邮费信息
- * @return
- */
- Integer deletePostageInfo(Integer postageId);
- /**
- * 同步邮费信息
- * @return
- */
- String synchronizePostageInfo();
- /**
- * 同步寄回信息
- * @return
- */
- String synchronizeSendbackInfo();
- /**
- * 添加寄回信息
- */
- SendbackInfo addSendbackInfo(SendbackInfo sendbackInfo);
- /**
- * 添加寄回信息项集合
- */
- Integer addSendbackItemList(List<SendbackItem> list);
- /**
- * 查询单个寄回信息
- */
- SendbackInfo getSendbackInfo(Integer sendbackId);
- /**
- * 查询寄回信息集合
- */
- List<SendbackInfo> listSendbackInfo(Integer relationId);
- /**
- * 查询寄回信息项集合
- */
- List<SendbackItem> sendbackItemList(Integer sendbackId);
- /**
- * 修改寄回信息
- */
- SendbackInfo updateSendbackInfo(SendbackInfo sendbackInfo);
- /**
- * 修改寄回状态
- */
- Integer updateSendbackStatus(SendbackInfo sendbackInfo) ;
- /**
- * 修改寄回信息项
- */
- Integer updateSendbackItem(SendbackItem sendbackItem);
- /**
- * 删除寄回信息
- */
- Integer deleteSendbackInfo(Integer sendbackId);
- /**
- * 根据主键删除寄回信息项
- */
- Integer deleteSendbackItemById(Integer sendbackItemId);
- /**
- * 根据寄回信息主键删除所有寄回信息项
- */
- Integer deleteSendbackItemBySendbackId(Integer sendbackId);
- /**
- * 查询寄回产品集合
- */
- List<ClosedProdcue> listclosedProdcue(ClosedProdcue closedProdcue);
- /**
- * 根据收费信息id查询收费信息
- */
- InformationInfo getInformationInfo(Integer feeId);
- /**
- * 根据处理id查询收费信息
- */
- List<InformationInfo> listInformationInfo(Integer relationId);
- /**
- * 添加收费信息
- */
- Integer addInformationInfo(InformationInfo informationInfo);
- /**
- * 修改收费信息
- */
- Integer updateInformationInfo(InformationInfo informationInfo);
- /**
- * 删除收费信息
- */
- Integer delInformationInfo(Integer feeId);
- /**
- * 修改订单项所有退货数量为0
- */
- Integer updateItemreturnNumByorderid(Integer itemOrderId);
- /**
- * 查询下载进度列表
- * @param downloadProgressInfo
- * @return
- */
- List<DownloadProgressInfo> listDownloadProgressInfo(DownloadProgressInfo downloadProgressInfo);
- /**
- * 修改下载进度列表
- * @param downloadProgressInfo
- * @return
- */
- Integer updateDownloadProgressInfo(DownloadProgressInfo downloadProgressInfo);
- /**
- * 添加下载进度列表
- * @param downloadProgressInfo
- * @return
- */
- Integer addDownloadProgressInfo(DownloadProgressInfo downloadProgressInfo);
- /**
- * 查询客诉统计
- * @return
- */
- List<CustomerStatistics> selectCustomerStatistics(String month);
- }
|