Browse Source

2024-11-04

优化
master
fengyuan_yang 1 year ago
parent
commit
5cd42782e9
  1. 2
      src/main/resources/mapper/part/PartInformationMapper.xml

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

@ -1804,7 +1804,7 @@
ISNULL(CONVERT(VARCHAR(20), a.NumValue, 1), '') as attrValueNumeric,
case when b.ValueType_DB = 'T' then 'Alpha' when b.ValueType_DB = 'N' then 'Numeric' else '' end as characteristicType
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.site = #{site} and a.RecordType = #{recordType} and a.PartNo = #{partNo} and a.CodeNo = #{codeNo}
</select>

Loading…
Cancel
Save