Browse Source

修复产品风险等级

kobe6258 5 months ago
parent
commit
958990922c
1 changed files with 6 additions and 5 deletions
  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 {
 func convertProductOrder(order ProductOrderDTO) orderDao.ProductOrder {
 	return 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,
 	}
 	}
 }
 }