增加品牌
This commit is contained in:
parent
89c912e002
commit
9ceae39971
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue