|
|
@ -826,7 +826,7 @@ public class IfsInventoryInitServiceImpl implements IfsInventoryInitService { |
|
|
private boolean insertPartAttributeIfNotExists(PartAttribute partAttribute) { |
|
|
private boolean insertPartAttributeIfNotExists(PartAttribute partAttribute) { |
|
|
try { |
|
|
try { |
|
|
// 检查是否已存在 |
|
|
// 检查是否已存在 |
|
|
PartAttribute existing = partAttributeMapper.getPartAttributeByKey( |
|
|
|
|
|
|
|
|
PartAttribute existing = partAttributeMapper.getPartAttributeByHeight( |
|
|
partAttribute.getSite(), partAttribute.getPartNo(), partAttribute.getHeight()); |
|
|
partAttribute.getSite(), partAttribute.getPartNo(), partAttribute.getHeight()); |
|
|
|
|
|
|
|
|
if (existing != null) { |
|
|
if (existing != null) { |
|
|
|