|
|
|
@ -97,6 +97,12 @@ public class QuoteDetailBomTreeServiceImpl extends ServiceImpl<QuoteDetailBomTre |
|
|
|
component.setQuotePrice(BigDecimal.ZERO); |
|
|
|
log.error("PartNo:{},Site:{},成本信息异常:{}",component.getPartNo(),component.getSite(),e.getMessage()); |
|
|
|
} |
|
|
|
}else { |
|
|
|
// 接口返回异常,处理成本数据为0 |
|
|
|
log.error("接口返回400"); |
|
|
|
component.setUnitPrice(BigDecimal.ZERO); |
|
|
|
component.setActualPrice(BigDecimal.ZERO); |
|
|
|
component.setQuotePrice(BigDecimal.ZERO); |
|
|
|
} |
|
|
|
} |
|
|
|
// 物料是半成品 |
|
|
|
|