From 7cbb9f42f6f9430aae846ae25b7ad77a82528927 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期二, 10 十二月 2024 14:31:04 +0800 Subject: [PATCH] 合并代码 --- ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/OrderService.java | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/OrderService.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/OrderService.java index 0961a26..d710205 100644 --- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/OrderService.java +++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/OrderService.java @@ -1,9 +1,9 @@ package com.ruoyi.order.service; import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.order.model.Order; import com.ruoyi.order.vo.OrderDetailVO; import com.ruoyi.order.vo.OrderVO; -import model.Order; import java.util.List; @@ -16,9 +16,12 @@ * @since 2024-11-21 */ public interface OrderService extends IService<Order> { - List<OrderVO> getOrderList(Integer status); + List<OrderVO> selectOrderListByUserId(Integer status,Long userId); OrderDetailVO getOrderDetail(Long orderId); - boolean check(Long orderId, Long shopId); + boolean check(Order order, Integer shopId, Long userId); + + void writeOff(String code,Integer shopId); + } -- Gitblit v1.7.1