修复2B价格问题
This commit is contained in:
+4
@@ -1079,6 +1079,10 @@ public class EvaluationServiceImpl implements EvaluationService {
|
|||||||
if (evaluation != null && evaluation.getAvgPrice2b() != null && evaluation.getAvgPrice2b() > 0) {
|
if (evaluation != null && evaluation.getAvgPrice2b() != null && evaluation.getAvgPrice2b() > 0) {
|
||||||
avgPrice = evaluation.getAvgPrice2b().intValue();
|
avgPrice = evaluation.getAvgPrice2b().intValue();
|
||||||
}
|
}
|
||||||
|
// 可能存在evaluation.getAvgPrice2b为空情况
|
||||||
|
if (stat.getAvgPrice2b() > 0) {
|
||||||
|
avgPrice = stat.getAvgPrice2b();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user