Kaynağa Gözat

statistics add userAttrType

wangming 1 hafta önce
ebeveyn
işleme
3b8cfbf22c

+ 12 - 0
yami-shop-platform/src/main/java/com/yami/shop/platform/controller/SkuController.java

@@ -52,6 +52,9 @@ public class SkuController {
                 po.setChannelIds(ids);
             }
         }
+        if (po.getUserAttrType()==null){
+            po.setUserAttrType("1");
+        }
         return R.SUCCESS(skuService.skuStatisticsList(page,po));
     }
 
@@ -65,6 +68,9 @@ public class SkuController {
                 po.setChannelIds(ids);
             }
         }
+        if (po.getUserAttrType()==null){
+            po.setUserAttrType("1");
+        }
         skuService.skuStatisticsExcel(response,po);
     }
 
@@ -78,6 +84,9 @@ public class SkuController {
                 po.setChannelIds(ids);
             }
         }
+        if (po.getUserAttrType()==null){
+            po.setUserAttrType("1");
+        }
         return R.SUCCESS(skuService.freightStatisticsList(page,po));
     }
 
@@ -91,6 +100,9 @@ public class SkuController {
                 po.setChannelIds(ids);
             }
         }
+        if (po.getUserAttrType()==null){
+            po.setUserAttrType("1");
+        }
         skuService.freightStatisticsExcel(response,po);
         return R.SUCCESS();
     }