|
|
|
@ -2966,11 +2966,12 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe |
|
|
|
BomHeaderEntity bomHeader = new BomHeaderEntity(); |
|
|
|
bomHeader.setSite(ifsPart.getSite()); |
|
|
|
bomHeader.setPartNo(ifsPart.getPartNo()); |
|
|
|
if (ifsPart.getPartType().contains("Manufactured")) { |
|
|
|
bomHeader.setBomType("Manufacturing"); |
|
|
|
} else if ("Purchased".equals(ifsPart.getPartType())) { |
|
|
|
bomHeader.setBomType("Purchase"); |
|
|
|
} |
|
|
|
// if (ifsPart.getPartType().contains("Manufactured")) { |
|
|
|
// bomHeader.setBomType("Manufacturing"); |
|
|
|
// } else if ("Purchased".equals(ifsPart.getPartType())) { |
|
|
|
// bomHeader.setBomType("Purchase"); |
|
|
|
// } |
|
|
|
bomHeader.setBomType(bomDetailVo.getBomType()); |
|
|
|
bomHeader.setEffPhaseInDate(bomDetailVo.getEffPhaseInDate()); |
|
|
|
bomHeader.setEffPhaseOutDate(bomDetailVo.getEffPhaseOutDate()); |
|
|
|
bomHeader.setEngChgLevel(bomDetailVo.getEngChgLevel()); |
|
|
|
|