mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-12 17:21:52 +08:00
bugfix:同步 master 修改的 bug
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package cn.iocoder.yudao.module.trade.controller.app.cart.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import jakarta.validation.constraints.Min;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
@Schema(description = "用户 App - 购物车添加购物项 Request VO")
|
||||
@Data
|
||||
@@ -15,6 +15,7 @@ public class AppCartAddReqVO {
|
||||
|
||||
@Schema(description = "新增商品数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
||||
@NotNull(message = "数量不能为空")
|
||||
@Min(value = 1, message = "商品数量必须大于等于 1")
|
||||
private Integer count;
|
||||
|
||||
}
|
||||
|
@@ -83,7 +83,7 @@ public class TradeBrokerageOrderHandler implements TradeOrderHandler {
|
||||
if (order.getBrokerageUserId() == null) {
|
||||
return;
|
||||
}
|
||||
cancelBrokerage(order.getBrokerageUserId(), orderItem.getOrderId());
|
||||
cancelBrokerage(order.getBrokerageUserId(), orderItem.getId());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user