Browse Source

2024-11-06

master
fengyuan_yang 1 year ago
parent
commit
fcc87bea56
  1. 1
      src/main/java/com/spring/modules/part/service/impl/PartInformationServiceImpl.java
  2. 2
      src/main/resources/mapper/part/PartInformationMapper.xml

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

@ -421,7 +421,6 @@ public class PartInformationServiceImpl extends ServiceImpl<PartInformationMappe
masterPartEntity.setPartDesc(data.getPartDesc());
masterPartEntity.setUmId(data.getUmId());
masterPartEntity.setOfficialFlag("N");
masterPartEntity.setCodeNo(data.getCodeNo());
masterPartEntity.setLotTrackingCode("Not Lot Tracking");
masterPartEntity.setLotQuantityRule("One Lot Per Production Order");
masterPartEntity.setSubLotRule("No Sub Lots Allowed");

2
src/main/resources/mapper/part/PartInformationMapper.xml

@ -1832,7 +1832,7 @@
'' as upperLimit,
'' as info
FROM PartSubPropertiesValue as a
left join plm_properties_item as b on a.site = b.site and a.PropertiesItemNo = b.ItemNo and a.RecordType and b.ItemType
left join plm_properties_item as b on a.site = b.site and a.PropertiesItemNo = b.ItemNo and a.RecordType = b.ItemType
where a.RecordType = #{recordType} and a.PartNo = #{partNo} and a.CodeNo = #{codeNo}
</select>

Loading…
Cancel
Save