yumeng 6 månader sedan
förälder
incheckning
4b51244fe8

+ 7 - 6
ruixuan-live/src/main/java/com/ruixuan/isc/controller/SupplyChainController.java

@@ -1047,10 +1047,12 @@ public class SupplyChainController extends BaseController {
             }
             }
 
 
         }
         }
-
-
-        String[] headers = new String[]{"达人ID", "达人名称", "订单数", "订单数环比", "有效订单数", "有效订单率", "GVM", "有效GMV", "发货数", "发货率", "未发货数", "绑定人"};
-
+        String[] headers = {};
+        if (ownershipId.equals("miaogousi") || ownershipId.equals("yufu")) {
+            headers = new String[]{"达人ID", "达人名称", "订单数", "订单数环比", "有效订单数", "有效订单率", "GVM", "有效GMV", "发货数", "发货率", "未发货数", "绑定人"};
+        } else {
+            headers = new String[]{"达人名称", "订单数", "订单数环比", "有效订单数", "有效订单率", "GVM", "有效GMV", "发货数", "发货率", "未发货数", "绑定人"};
+        }
         OutputStream os = response.getOutputStream();
         OutputStream os = response.getOutputStream();
         ExportExcelUtils eeu = new ExportExcelUtils();
         ExportExcelUtils eeu = new ExportExcelUtils();
         XSSFWorkbook workbook = new XSSFWorkbook();
         XSSFWorkbook workbook = new XSSFWorkbook();
@@ -1115,8 +1117,7 @@ public class SupplyChainController extends BaseController {
                 exportList.add(export);
                 exportList.add(export);
             }
             }
         }
         }
-
-            String[]  headers = new String[]{"达人", "商品", "商品封面", "订单数", "有效订单数", "有效订单率", "发货数", "发货率", "商品状态"};
+        String[] headers = new String[]{"达人名称", "达人id", "商品名称", "商品id", "商品封面", "订单数", "有效订单数", "有效订单率", "发货数", "发货率", "商品状态"};
 
 
         OutputStream os = response.getOutputStream();
         OutputStream os = response.getOutputStream();
         ExportExcelUtils eeu = new ExportExcelUtils();
         ExportExcelUtils eeu = new ExportExcelUtils();