|
@@ -280,15 +280,13 @@ public class CustomerServiceImpl implements CustomerService {
|
|
|
logger.info("-----------修改客诉-修改客诉基本信息---------------");
|
|
|
|
|
|
QuestionDescribe questionDescribe = new QuestionDescribe();
|
|
|
- questionDescribe.setCustomerId(customerInfo.getCustomerId());
|
|
|
+// questionDescribe.setCustomerId(customerInfo.getCustomerId());
|
|
|
questionDescribe.setDescribeId(customerInfo.getDescribeId());//客诉问题主键
|
|
|
questionDescribe.setDescribeTitle(customerInfo.getDescribeTitle()); //客诉问题标题
|
|
|
questionDescribe.setDescribeContent(customerInfo.getDescribeContent()); //客诉问题描述
|
|
|
questionDescribe.setDescribeHandleDesc(customerInfo.getDescribeHandleDesc()); //处理描述
|
|
|
questionDescribeMapper.updateByPrimaryKeySelective(questionDescribe);
|
|
|
-
|
|
|
logger.info("-----------修改客诉-修改客诉问题---------------");
|
|
|
-
|
|
|
if ("2".equals(customerInfo.getCustomerIsVisit())) {
|
|
|
Visit visit = new Visit();
|
|
|
visit.setCustomerId(customerInfo.getCustomerId());
|
|
@@ -305,7 +303,6 @@ public class CustomerServiceImpl implements CustomerService {
|
|
|
}
|
|
|
logger.info("-----------修改客诉-修改客诉回访信息---------------");
|
|
|
}
|
|
|
-
|
|
|
if (2 == customerInfo.getCustomerCounselType() &&
|
|
|
(customerInfo.getCustomerIsSolve() == 3 || customerInfo.getCustomerIsSolve() == 4 || customerInfo.getCustomerIsSolve() == 5 ||
|
|
|
customerInfo.getCustomerIsSolve() == 6 || customerInfo.getCustomerIsSolve() == 7)
|
|
@@ -313,7 +310,6 @@ public class CustomerServiceImpl implements CustomerService {
|
|
|
|
|
|
salesOrder = salesOrderMapper.getSalesOrderById(salesOrder.getSalesId());
|
|
|
logger.info("-----------修改客诉-查询订单--------------");
|
|
|
-
|
|
|
CustomerCommon customerCommon = customerInfo.getCustomerCommon();
|
|
|
customerCommon.setCustomerId(customerInfo.getCustomerId()); //设置客诉id
|
|
|
customerCommon.setRelationBackStatus(1); //寄回状态 1:未寄回
|
|
@@ -462,6 +458,7 @@ public class CustomerServiceImpl implements CustomerService {
|
|
|
if ("2".equals(customerInfo.getCustomerIsVisit())){
|
|
|
visitMapper.deleteByPrimaryKey(customer.getCustomerId());
|
|
|
}
|
|
|
+
|
|
|
//查询旧客诉类型,判断是否修改了客诉类型
|
|
|
Integer oldIsSolve = customerInfo.getCustomerIsSolve();// //处理结果: 1:已解决 2:未解决 3:换新 4:维修 5:补发 6:退货 7:无理由退货
|
|
|
ClosedProdcue closedrecord = new ClosedProdcue();
|
|
@@ -498,7 +495,7 @@ public class CustomerServiceImpl implements CustomerService {
|
|
|
record.setRelationId(renewed.getRenewedId());
|
|
|
customerCommon.setSendProdcues(sendProdcueMapper.listSendProdcue(record));
|
|
|
customerService.setName(customerCommon);
|
|
|
- customerService.chargebackEfastOrder(customerCommon,salesOrder,8,2);
|
|
|
+ //customerService.chargebackEfastOrder(customerCommon,salesOrder,8,2);
|
|
|
}
|
|
|
//删除寄出寄回产品
|
|
|
closedRecord.setRelationId(renewed.getRenewedId());
|
|
@@ -524,7 +521,7 @@ public class CustomerServiceImpl implements CustomerService {
|
|
|
record.setRelationId(repair.getRepairId());
|
|
|
customerCommon.setSendProdcues(sendProdcueMapper.listSendProdcue(record));
|
|
|
customerService.setName(customerCommon);
|
|
|
- customerService.chargebackEfastOrder(customerCommon, salesOrder, 8,2); //从维修换货补发修改为已解决或未解决时,原订单生成退单
|
|
|
+ //customerService.chargebackEfastOrder(customerCommon, salesOrder, 8,2); //从维修换货补发修改为已解决或未解决时,原订单生成退单
|
|
|
}
|
|
|
//删除寄出寄回产品
|
|
|
closedRecord.setRelationId(repair.getRepairId());
|
|
@@ -550,7 +547,7 @@ public class CustomerServiceImpl implements CustomerService {
|
|
|
record.setRelationId(reissue.getReissueId());
|
|
|
customerCommon.setSendProdcues(sendProdcueMapper.listSendProdcue(record));
|
|
|
customerService.setName(customerCommon);
|
|
|
- customerService.chargebackEfastOrder(customerCommon, salesOrder, 8,2); //从维修换货补发修改为已解决或未解决时,原订单生成退单
|
|
|
+ //customerService.chargebackEfastOrder(customerCommon, salesOrder, 8,2); //从维修换货补发修改为已解决或未解决时,原订单生成退单
|
|
|
}
|
|
|
//删除寄出产品
|
|
|
sendProdcue.setRelationId(reissue.getReissueId());
|