|
@@ -1582,7 +1582,7 @@ public class AdminCustomerController {
|
|
|
"问题类别", "小类名称", "客诉问题", "处理过程", "购买日期",
|
|
|
"处理方式","处理结果", "销售公司", "销售渠道", "产品型号", "产品颜色",
|
|
|
"产品数量", "寄回快递", "寄回单号", "签收日期",
|
|
|
- "状态", "寄出快递", "寄出快递", "开箱损", "二次客诉", "跟进客服", "工厂报价", "客户报价"
|
|
|
+ "状态", "寄出快递", "寄出快递", "开箱损", "二次客诉", "跟进客服", "工厂报价", "客户报价", "邮费信息"
|
|
|
};
|
|
|
List<CustomerStatisticalInfo> customerStatisticalInfoList = new ArrayList<>();
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
|
|
@@ -1620,6 +1620,25 @@ public class AdminCustomerController {
|
|
|
customers.setItemNum(String.valueOf(salesOrderItem.getItemNum()));
|
|
|
customers.setRelationFactoryCosts(customerInfo.getRelationFactoryCosts());
|
|
|
customers.setRelationCustomerCosts(customerInfo.getRelationCustomerCosts());
|
|
|
+ String postageString = "";
|
|
|
+ //查询邮费信息
|
|
|
+ List<PostageInfo> listPostageInfo = customerService.listPostageInfo(customers.getRelationId());
|
|
|
+ if(listPostageInfo.size() > 0){
|
|
|
+ for(PostageInfo postageInfo : listPostageInfo){
|
|
|
+ String state = "";
|
|
|
+ if(postageInfo.getPostageStatus() == 1){
|
|
|
+ state = "未申请";
|
|
|
+ }
|
|
|
+ if(postageInfo.getPostageStatus() == 2){
|
|
|
+ state = "已申请(待转账)";
|
|
|
+ }
|
|
|
+ if(postageInfo.getPostageStatus() == 3){
|
|
|
+ state = "已转账";
|
|
|
+ }
|
|
|
+ postageString = postageString+"状态:"+state+" ,金额:"+postageInfo.getPostageAmount()/100+" ,支付宝账号:"+postageInfo.getPostageAlipay()+";";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ customers.setPostageString(postageString);
|
|
|
customerStatisticalInfoList.add(customers);
|
|
|
}
|
|
|
} else {
|
|
@@ -1746,6 +1765,7 @@ public class AdminCustomerController {
|
|
|
}else{
|
|
|
row.createCell(26).setCellValue(customerStatisticalInfo.getRelationCustomerCosts());
|
|
|
}
|
|
|
+ row.createCell(27).setCellValue(customerStatisticalInfo.getPostageString());
|
|
|
|
|
|
}
|
|
|
//下载导出订单Excel
|