|
|
|
@ -1,6 +1,5 @@ |
|
|
|
package com.qniao.dam.api.command.order.user.request; |
|
|
|
|
|
|
|
import com.qniao.dam.api.command.paymentchannelorder.user.request.ThirdPartyField; |
|
|
|
import com.qniao.dam.domain.aggregate.order.entity.Order; |
|
|
|
import com.qniao.dam.domain.aggregate.order.entity.OrderItem; |
|
|
|
import com.qniao.dam.domian.aggregate.order.constant.MatchmakerOrderTypeEnum; |
|
|
|
@ -17,8 +16,8 @@ import java.util.Map; |
|
|
|
@Data |
|
|
|
public class UserSubmitMatchMakerOrderDto implements Trans2DomainAssembler<Order> { |
|
|
|
|
|
|
|
@ApiModelProperty("征婚资料标识") |
|
|
|
private Long miId; |
|
|
|
// @ApiModelProperty("征婚资料标识") |
|
|
|
// private Long miId; |
|
|
|
|
|
|
|
@ApiModelProperty("产品规格标识") |
|
|
|
@NotNull(message = "产品规格标识不能为空") |
|
|
|
@ -31,7 +30,6 @@ public class UserSubmitMatchMakerOrderDto implements Trans2DomainAssembler<Order |
|
|
|
@Override |
|
|
|
public Order trans2Domain() { |
|
|
|
Order order = new Order(); |
|
|
|
order.setMiId(miId); |
|
|
|
List<OrderItem> orderItemList = new ArrayList<>(); |
|
|
|
OrderItem orderItem = new OrderItem(); |
|
|
|
orderItem.setProductSpecId(productSpecId); |
|
|
|
|