增加品牌
This commit is contained in:
parent
9d55e97406
commit
7120d29130
|
@ -120,7 +120,7 @@ func OrderDetailService(order *ordersmodel.OrdersProductsList) (has bool, err er
|
||||||
conn.And(builder.Eq{"user_id": order.UserId})
|
conn.And(builder.Eq{"user_id": order.UserId})
|
||||||
}
|
}
|
||||||
if order.Id != 0 {
|
if order.Id != 0 {
|
||||||
conn = conn.And(builder.Eq{"id": order.Id})
|
conn = conn.And(builder.Eq{"a.id": order.Id})
|
||||||
}
|
}
|
||||||
if order.OrderNo != "" {
|
if order.OrderNo != "" {
|
||||||
conn = conn.And(builder.Eq{"order_no": order.OrderNo})
|
conn = conn.And(builder.Eq{"order_no": order.OrderNo})
|
||||||
|
|
Loading…
Reference in New Issue