Merge branch 'prod'

This commit is contained in:
2025-03-31 11:47:29 +08:00
15 changed files with 231 additions and 24 deletions

View File

@@ -16,7 +16,7 @@ public class UserInfoAssetsSummaryDTO {
/**
* 总积分
*/
private Integer points;
private Integer accountPoints;
/**
* 可使用优惠券数量
*/

View File

@@ -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;
}

View File

@@ -58,4 +58,10 @@ public interface OrderInfoService extends IService<OrderInfo> {
Boolean printOrder(Long shopId, OrderInfoPrintDTO orderInfoPrintDTO);
Boolean removeOrderDetail(Long shopId, Long orderId, Long detailId);
Boolean cancelledOrder(Long shopId, Long orderId);
Boolean cancelledPlaceOrder(Long shopId, Long orderId, Integer placeNum);
}

View File

@@ -15,4 +15,5 @@ import java.util.Map;
@Data
public class HistoryOrderPrintVo extends OrderInfo {
private Map<String, List<OrderDetailPrintVo>> detailMap;
private long orderNum;
}