Browse Source

2024-03-18 更4

master
fengyuan_yang 2 years ago
parent
commit
15aff68692
  1. 4
      src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java

4
src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java

@ -278,7 +278,7 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe
bomHeader.setPartNo(data.getPartNo());
if (data.getPartType().contains("Manufactured")) {
bomHeader.setBomType("Manufacturing");
} else if ("Purchase".equals(data.getPartType())) {
} else if ("Purchased".equals(data.getPartType())) {
bomHeader.setBomType("Purchase");
}
bomHeader.setEffPhaseInDate(data.getCreateDate());
@ -357,7 +357,7 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe
bomHeader.setPartNo(data.getPartNo());
if (data.getPartType().contains("Manufactured")) {
bomHeader.setBomType("Manufacturing");
} else if ("Purchase".equals(data.getPartType())) {
} else if ("Purchased".equals(data.getPartType())) {
bomHeader.setBomType("Purchase");
}
bomHeader.setEffPhaseInDate(data.getCreateDate());

Loading…
Cancel
Save