This commit is contained in:
wucongxing8150 2024-06-21 13:31:12 +08:00
parent 14b3aad401
commit e5e02d96a6

View File

@ -1638,7 +1638,9 @@ func (r *ExportService) OrderProduct(d []*model.OrderProduct) (string, error) {
var products []string
for _, v := range orderProductItems {
amount := fmt.Sprintf("%d", v.Amount)
product := v.ProductName + "(N:" + amount + ")"
productPrice := fmt.Sprintf("%d", v.ProductPrice)
product := v.ProductName + "(N:" + amount + " " + "P:" + productPrice + ")"
products = append(products, product)
}