| | |
| | | package com.ruoyi.order.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.web.page.PageInfo; |
| | | import com.ruoyi.order.model.Order; |
| | | import com.ruoyi.order.util.payment.model.RefundCallbackResult; |
| | | import com.ruoyi.order.util.payment.model.UniPayCallbackResult; |
| | | import com.ruoyi.order.vo.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | |
| | | boolean check(Order order, Integer shopId, Long userId); |
| | | |
| | | void writeOff(String id,Integer shopId, String technicianId); |
| | | void writeOff(String id,Integer shopId); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param orderPageList |
| | | * @return |
| | | */ |
| | | PageInfo<OrderPageListVo> getOrderPageList(OrderPageList orderPageList); |
| | | PageInfo<OrderManagePageListVO> getOrderPageList(OrderPageList orderPageList); |
| | | |
| | | /** |
| | | * 获取导出订单列表数据 |
| | |
| | | Integer getShopSaleNum(Integer shopId, Integer type); |
| | | |
| | | Integer getShopSaleNumByShopIds(List<Integer> shopIds, Integer type); |
| | | |
| | | /** |
| | | * 确认订单 |
| | | */ |
| | | ConfirmOrderVo confirmOrder(Integer goodId,Integer type); |
| | | |
| | | /** |
| | | * 订单支付 |
| | | */ |
| | | R orderPayment(OrderPayment orderPayment); |
| | | |
| | | /** |
| | | * 订单支付回调通知 |
| | | */ |
| | | R orderPaymentCallback(UniPayCallbackResult uniPayCallbackResult); |
| | | /** |
| | | * 定时任务关闭订单 |
| | | */ |
| | | void closeOrder(); |
| | | |
| | | IPage<OrderPageListVo> getShopOrderList(String content, Integer status, Integer shopId, Integer pageNum, Integer pageSize); |
| | | |
| | | R shopCancelOrder(Long orderId); |
| | | |
| | | /** |
| | | * 后台-工作台,订单折线图 |
| | | */ |
| | | List<OrderStatisticsDetail> getOrderListGroupByDate(LocalDate startTime, LocalDate endTime); |
| | | } |