修复2B价格问题

This commit is contained in:
sjshenjian
2024-11-21 09:54:43 +08:00
parent 5f07270ff4
commit f165f5e014
@@ -1079,6 +1079,10 @@ public class EvaluationServiceImpl implements EvaluationService {
if (evaluation != null && evaluation.getAvgPrice2b() != null && evaluation.getAvgPrice2b() > 0) {
avgPrice = evaluation.getAvgPrice2b().intValue();
}
// 可能存在evaluation.getAvgPrice2b为空情况
if (stat.getAvgPrice2b() > 0) {
avgPrice = stat.getAvgPrice2b();
}
}
}