فهرست منبع

修复产品风险等级

kobe6258 5 ماه پیش
والد
کامیت
958990922c
1فایلهای تغییر یافته به همراه6 افزوده شده و 5 حذف شده
  1. 6 5
      domian/order/product_order.go

+ 6 - 5
domian/order/product_order.go

@@ -148,11 +148,12 @@ func convertProductOrderDetailDTO(order orderDao.ProductOrder) (orderDetailDTO P
 
 func convertProductOrder(order ProductOrderDTO) orderDao.ProductOrder {
 	return orderDao.ProductOrder{
-		ID:          order.ID,
-		OrderID:     order.OrderID,
-		UserID:      order.UserID,
-		ProductID:   order.ProductID,
-		TotalAmount: order.TotalAmount,
+		ID:             order.ID,
+		OrderID:        order.OrderID,
+		UserID:         order.UserID,
+		TemplateUserID: order.TemplateUserID,
+		ProductID:      order.ProductID,
+		TotalAmount:    order.TotalAmount,
 	}
 }