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