增加品牌

This commit is contained in:
qiyunfanbo126.com 2024-10-17 23:03:31 +08:00
parent 89c912e002
commit 9ceae39971
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ func OrderDetailService(order *ordersmodel.OrdersProductsList) (has bool, err er
conn.And(builder.Eq{"user_id": order.UserId})
}
if order.Id != 0 {
conn = conn.And(builder.Eq{"id": order.Id})
conn = conn.And(builder.Eq{"a.id": order.Id})
}
if order.OrderNo != "" {
conn = conn.And(builder.Eq{"order_no": order.OrderNo})