fix
This commit is contained in:
parent
ab916ac13d
commit
36ae64f3e7
@ -264,7 +264,9 @@ func (l *GetTagProductListLogic) getProductRelationInfo(req getProductRelationIn
|
|||||||
}
|
}
|
||||||
itemPrice := mapModelMinPrice[v.Id]
|
itemPrice := mapModelMinPrice[v.Id]
|
||||||
if *v.PartId > 0 {
|
if *v.PartId > 0 {
|
||||||
itemPrice += mapModelMinPrice[*v.PartId]
|
if fittingPrice, ok := mapModelMinPrice[*v.PartId]; ok {
|
||||||
|
itemPrice += fittingPrice
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if minPrice, ok := req.MapProductMinPrice[*v.ProductId]; ok {
|
if minPrice, ok := req.MapProductMinPrice[*v.ProductId]; ok {
|
||||||
if itemPrice < minPrice {
|
if itemPrice < minPrice {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user