起菜上菜接口

This commit is contained in:
张松
2025-11-26 14:39:50 +08:00
parent 8cd2bbf3d8
commit 9df0ee52ec
10 changed files with 74 additions and 12 deletions

View File

@@ -0,0 +1,22 @@
package com.czg.order.dto;
import lombok.Data;
/**
* @author Administrator
*/
@Data
public class OrderDetailStatusDTO {
/**
* 订单id
*/
private Long orderId;
/**
* 订单详情id
*/
private Long orderDetailId;
/**
* 0起菜 1上菜
*/
private Integer type;
}

View File

@@ -71,4 +71,6 @@ public interface OrderInfoService extends IService<OrderInfo> {
void updateOrderDetailStatus(Long orderDetailId);
Boolean upOrderDetail(Long shopId, OrderDetailStatusDTO detailStatusDTO);
}