| | |
| | | * @return |
| | | */ |
| | | @GetMapping("/selectCountByDeliveryType") |
| | | public R selectCountByDeliveryType(@RequestParam("deliveryType") Integer deliveryType,@RequestParam("storeId") Long storeId){ |
| | | return comShopFlowerOrderService.selectCountByDeliveryType(deliveryType,storeId); |
| | | public R selectCountByDeliveryType(@RequestParam("deliveryType") Integer deliveryType,@RequestParam("userId") Long userId){ |
| | | return comShopFlowerOrderService.selectCountByDeliveryType(deliveryType,userId); |
| | | } |
| | | |
| | | /** |
| | | * 查询我的店铺各类统计数据 |
| | | * @param storeId |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @GetMapping("/selectCountByStoreId") |
| | | public R selectCountByStoreId(Long storeId){ |
| | | return comShopFlowerOrderService.selectCountByStoreId(storeId); |
| | | @GetMapping("/selectCountByUserId") |
| | | public R selectCountByUserId(@RequestParam("userId") Long userId){ |
| | | return comShopFlowerOrderService.selectCountByUserId(userId); |
| | | } |
| | | |
| | | /** |