浏览代码

修复产品风险等级

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,
 	}
 }