|
|
|
@ -16,7 +16,6 @@ import java.util.List; |
|
|
|
public class UserBatchSubmitOrderDto { |
|
|
|
|
|
|
|
@ApiModelProperty("征婚资料标识") |
|
|
|
@NotNull(message = "征婚资料标识不能为空") |
|
|
|
private Long miId; |
|
|
|
|
|
|
|
@ApiModelProperty("产品规格标识集合") |
|
|
|
@ -35,7 +34,7 @@ public class UserBatchSubmitOrderDto { |
|
|
|
order.setActivityId(activityId); |
|
|
|
order.setGroupType(groupType); |
|
|
|
List<OrderItem> orderItemList = new ArrayList<>(); |
|
|
|
productSpecIds.forEach(e->{ |
|
|
|
productSpecIds.forEach(e -> { |
|
|
|
OrderItem orderItem = new OrderItem(); |
|
|
|
orderItem.setProductSpecId(e); |
|
|
|
orderItem.setQuantity(1); |
|
|
|
|