取消订单
订单打印 单数
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package com.czg.order.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
* @description
|
||||
*/
|
||||
@Data
|
||||
public class OrderCannelDTO {
|
||||
@NotNull(message = "店铺ID不可为空")
|
||||
private Long shopId;
|
||||
@NotNull(message = "订单ID不可为空")
|
||||
private Long orderId;
|
||||
private Integer placeNum;
|
||||
}
|
||||
@@ -60,4 +60,8 @@ public interface OrderInfoService extends IService<OrderInfo> {
|
||||
|
||||
|
||||
Boolean removeOrderDetail(Long shopId, Long orderId, Long detailId);
|
||||
|
||||
Boolean cancelledOrder(Long shopId, Long orderId);
|
||||
|
||||
Boolean cancelledPlaceOrder(Long shopId, Long orderId, Integer placeNum);
|
||||
}
|
||||
|
||||
@@ -15,4 +15,5 @@ import java.util.Map;
|
||||
@Data
|
||||
public class HistoryOrderPrintVo extends OrderInfo {
|
||||
private Map<String, List<OrderDetailPrintVo>> detailMap;
|
||||
private long orderNum;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user