| | |
| | | import com.ruoyi.common.core.web.page.PageInfo; |
| | | import com.ruoyi.order.vo.OrderPageList; |
| | | import com.ruoyi.order.vo.OrderPageListVo; |
| | | import com.ruoyi.order.vo.OrderStatistics; |
| | | import com.ruoyi.order.vo.OrderVO; |
| | | import com.ruoyi.order.model.Order; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | List<OrderPageListVo> getOrderPageList(PageInfo<OrderPageListVo> pageInfo, @Param("item") OrderPageList orderPageList); |
| | | |
| | | OrderStatistics getOrderStatistics(@Param("startTime")String startTime, |
| | | @Param("endTime") String endTime, @Param("shopId") Integer shopId); |
| | | |
| | | |
| | | /** |
| | | * 获取商品销售数量 |
| | | * @param goodsId |
| | | * @return |
| | | */ |
| | | Integer getGoodsSaleNum(@Param("goodsId") Integer goodsId, |
| | | @Param("type") Integer type, |
| | | @Param("userId") Long userId); |
| | | |
| | | |
| | | /** |
| | | * 获取店铺订单数量 |
| | | * @param shopId |
| | | * @param type |
| | | * @return |
| | | */ |
| | | Integer getShopSaleNum(@Param("shopId") Integer shopId, @Param("type") Integer type); |
| | | } |